none
.NET 4 wont install RRS feed

  • Question

  • Trying to install .NET 4 on Windows 7 because I was having trouble when trying to install drivers for a new video card. Uninstalled all programs related to .NET 4 and removed what I could find in C:\Windows\Microsoft.NET e and tried to install again but it didn't work. Everything successfully installed until this code here:

    ServiceControl operation succeeded!
    Action complete
    Error 0 is mapped to Custom Error: 
    Wait for Item (Windows6.1-KB958488-v6001-x64.msu) to be available
    Windows6.1-KB958488-v6001-x64.msu is now available to install
    Creating new Performer for Exe item
    Created new ExePerformer for Exe item
    WU Service was already enabled or was running
    WU Service: EnsureWUServiceIsNotDisabled succeeded
    Action: Performing Action on Exe at C:\b77e2ba8687704b44f5bb200f5dd7288\Windows6.1-KB958488-v6001-x64.msu
    Launching CreateProcess with command line = wusa.exe "C:\b77e2ba8687704b44f5bb200f5dd7288\Windows6.1-KB958488-v6001-x64.msu" /quiet /norestart
    Exe (C:\b77e2ba8687704b44f5bb200f5dd7288\Windows6.1-KB958488-v6001-x64.msu) failed with 0x240006 - (null).
    PerformOperation on exe returned exit code 2359302 (translates to HRESULT = 0x240006)
    Action complete
    Error 0x240006 is mapped to Custom Error: Success
    Overwrite the current error to S_OK.
    Wait for Item (SetupUtility.exe) to be available
    SetupUtility.exe is now available to install
    Creating new Performer for Exe item
    Created new ExePerformer for Exe item
    Action: Performing Action on Exe at C:\b77e2ba8687704b44f5bb200f5dd7288\SetupUtility.exe
    Launching CreateProcess with command line = SetupUtility.exe /screboot
    Exe log file(s) :
    C:\Users\Kevin\AppData\Local\Temp\dd_SetupUtility.txt
    Log File C:\Users\Kevin\AppData\Local\Temp\dd_SetupUtility.txt exists and will be added to the Watson upload list
    Exe (C:\b77e2ba8687704b44f5bb200f5dd7288\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    Action complete
    Error 0 is mapped to Custom Error: 
    Wait for Item (netfx_Core.mzz) to be available
    netfx_Core.mzz is now available to install
    Created new DoNothingPerformer for File item
    No CustomError defined for this item.
    Wait for Item (netfx_Core_x64.msi) to be available
    netfx_Core_x64.msi is now available to install
    Creating new Performer for MSI item
    Action: Performing Action on MSI at C:\b77e2ba8687704b44f5bb200f5dd7288\netfx_Core_x64.msi
    Log File C:\Users\Kevin\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_20150726_035202055-MSI_netfx_Core_x64.msi.txt does not yet exist but may do at Watson upload time
    Calling MsiInstallProduct(C:\b77e2ba8687704b44f5bb200f5dd7288\netfx_Core_x64.msi, EXTUI=1
    Returning IDOK. INSTALLMESSAGE_ERROR [Could not write value Library to key \SYSTEM\CurrentControlSet\Services\SMSvcHost 4.0.0.0\Performance. Verify that you have sufficient access to that key, or contact your support personnel.]
    MSI (C:\b77e2ba8687704b44f5bb200f5dd7288\netfx_Core_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20150726_035202055-MSI_netfx_Core_x64.msi.txt
    PerformOperation returned 1603 (translates to HRESULT = 0x80070643)
    Action complete
    Error 1603:1406 is mapped to Custom Error: Retry
    C:\b77e2ba8687704b44f5bb200f5dd7288\SetupUtility.exe: Verifying signature for SetupUtility.exe
    C:\b77e2ba8687704b44f5bb200f5dd7288\SetupUtility.exe - Signature verified successfully for SetupUtility.exe
    C:\b77e2ba8687704b44f5bb200f5dd7288\SetupUtility.exe Signature verified successfully for SetupUtility.exe
    Signature verification succeeded for SetupUtility.exe
    File C:\b77e2ba8687704b44f5bb200f5dd7288\SetupUtility.exe, is verified successfully. 
    Created new ExePerformer for Exe item
    Action: Performing Action on Exe at C:\b77e2ba8687704b44f5bb200f5dd7288\SetupUtility.exe
    Launching CreateProcess with command line = SetupUtility.exe /wireregister
    Exe log file(s) :
    C:\Users\Kevin\AppData\Local\Temp\dd_SetupUtility.txt
    Log File C:\Users\Kevin\AppData\Local\Temp\dd_SetupUtility.txt exists and will be added to the Watson upload list
    Exe (C:\b77e2ba8687704b44f5bb200f5dd7288\SetupUtility.exe) succeeded.
    Exe Log File: dd_SetupUtility.txt
    Action complete
    Helper item execution succeed.
    Delaying for Starting to delay
    Action: Performing Action on MSI at C:\b77e2ba8687704b44f5bb200f5dd7288\netfx_Core_x64.msi
    Log File C:\Users\Kevin\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_20150726_035202055-MSI_netfx_Core_x64.msi.txt exists and will be added to the Watson upload list
    Calling MsiInstallProduct(C:\b77e2ba8687704b44f5bb200f5dd7288\netfx_Core_x64.msi, EXTUI=1
    Returning IDOK. INSTALLMESSAGE_ERROR [Could not write value Library to key \SYSTEM\CurrentControlSet\Services\SMSvcHost 4.0.0.0\Performance. Verify that you have sufficient access to that key, or contact your support personnel.]
    MSI (C:\b77e2ba8687704b44f5bb200f5dd7288\netfx_Core_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20150726_035202055-MSI_netfx_Core_x64.msi.txt
    PerformOperation returned 1603 (translates to HRESULT = 0x80070643)
    Action complete
    Error 1603:1406 is mapped to Custom Error: Retry
    Retry 1 of 1 of custom error handling
    Retry count over existing limit, not going to retry again.
    OnFailureBehavior for this item is to Rollback.
    Action: Performing actions on all Items
    Action complete
    Action complete
    Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:01:15).
    WM_ACTIVATEAPP: Focus stealer's windows WAS visible, NOT taking back focus


    Any help would be appreciated! Thanks


    Sunday, July 26, 2015 2:02 PM

Answers

  • Please try this procedure:

    Follow ALL these steps exactly:

    Before trying to install .NET Framework 4.0, execute this command from an ELEVATED Command Prompt provided by the .NET Framework Team:

    "This issue is likely caused by a bad ACL on assembly\tmp folder. After installing updates, the ACL propagates to installed assembly folders in both 4.0 & legacy GAC.  If those updates were installed by WU or another user, the propagated ACL will prevent install of the same assembly by the current user.

    A work around would be to reset the ACL on GAC dirs.

    for /F %D in ('dir %WINDIR%\assembly %WINDIR%\Microsoft.NET\assembly /s /b /a:d') do takeown /F %D && icacls %D /reset /T"

    After running that command, follow these steps:

    Please follow these instructions exactly:

    1. Download a fresh copy of the standalone installer for .NET Framework 4.0:

    http://www.microsoft.com/en-us/download/details.aspx?id=17718

    2. Also, clear your %temp% directory and disable your AV software.

    The %temp% directory is a reference to the Temp folder associated with the current user. To clear it, do the following:

    Sign on to your system with the Administrator user account you will use to run the installer. Click the Start Orb and type %temp% in the search box. The search results will show the Temp folder you want. Click on the Temp folder to open it in Windows Explorer, then delete the entire contents.

    3. Run the standalone installer from step 1 As Administrator.

    Note: Just using an administrator account is NOT enough. To activate full privileges, you must right-click the installer, then select Run as administrator.

    If the install fails, provide complete install logs as follows:

    Please collect your install logs with this:

    http://aka.ms/vscollect

    After you run Collect.exe, you'll find vslogs.cab in your %temp% directory. Please upload vslogs.cab to a public site, like OneDrive, and post the link here.


    Sunday, July 26, 2015 11:31 PM