none
Cannot install .Net Framework 4.0 RRS feed

  • Question

  • Yesterday I tried to install .Net Framework 4.5.2 and it repeatedly failed, so I uninstalled the version that I had already (4.0) and used the dotnet cleanup tool to remove all remnants. It still wouldn't install. I tried a number of suggestions I found online, including deleting the 'Assembly' folder in C:\Windows\Microsoft.NET, clearing up the %temp% folder, installing from standalone installer, from Windows Update, and from the online installer. Nothing worked. So last night I did a repair install, expecting to find a shiny new working computer afterwards, but exactly the same thing is happening - I can't install any version of .Net Framework 4+. Using Windows Update, it just fails. Using the standalone or the online installer, it rolls back about a quarter of the way in.

    I've uploaded my vslogs.cab from earlier today to http://1drv.ms/1EGRnM0. My computer specs are below. Please let me know if there's any other information I can offer.

    OS: Windows 7 Home Premium 64-bit SP1

    Processor: Intel Core i5 @ 2.90GHz

    Memory: 14.0GB Dual-Channel DDR3 @ 665MHz

    Thanks very much for your help. 




    Thursday, March 26, 2015 3:44 AM

Answers

  • Hello Misterdeeds,

    I see the following error:

    Error 0x80070424: Failed to open the current cluster

    And please refer to this thread:

    https://social.msdn.microsoft.com/Forums/vstudio/en-US/0a56de6c-7240-4ac5-afd0-7abd0546a08c/cant-install-net-framework-version-40?forum=netfxsetup

    Please try if the solution from that solution helps:

    "

    I think I had done the following:
    - Download dotNetFx40_Full_x86_x64.exe from http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=0a391abd-25c1-4fc0-919f-b21f31ab88b7
    - Launch commandline prompt as administrator
    - cd (change directory) commandline to location of downloaded dotNetFx40_Full_x86_x64.exe
    - Ran the command: dotNetFx40_Full_x86_x64.exe /x
    - Specified a location to extract when prompted
    - cd commandline to location of extracted files
    - Ran the command: RGB9Rast_x86.msi
    - Ran the command: netfx_Core_x86.msi EXTUI=1
    - Ran the command: netfx_Extended_x86.msi EXTUI=1

    The part I am unsure of is the EXTUI=1 syntax, but I think the above is correct. That's it.

    "

    His solution is to manually extract the files and install. I think you can also give it a try.

    Best regards,



    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Misterdeeds Friday, March 27, 2015 3:32 AM
    Friday, March 27, 2015 2:15 AM
    Moderator

All replies

  • Please follow these steps:

    Follow 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.

    Thursday, March 26, 2015 6:42 PM
  • Thanks very much for the reply. I followed your instructions, and got the same results. Rollback started about a quarter of the way in. I've uploaded my vslogs.cab file to OneDrive here: http://1drv.ms/1OBBzSG.

    Thanks again for your help.

    Thursday, March 26, 2015 11:55 PM
  • Hello Misterdeeds,

    I see the following error:

    Error 0x80070424: Failed to open the current cluster

    And please refer to this thread:

    https://social.msdn.microsoft.com/Forums/vstudio/en-US/0a56de6c-7240-4ac5-afd0-7abd0546a08c/cant-install-net-framework-version-40?forum=netfxsetup

    Please try if the solution from that solution helps:

    "

    I think I had done the following:
    - Download dotNetFx40_Full_x86_x64.exe from http://www.microsoft.com/downloads/en/details.aspx?displaylang=en&FamilyID=0a391abd-25c1-4fc0-919f-b21f31ab88b7
    - Launch commandline prompt as administrator
    - cd (change directory) commandline to location of downloaded dotNetFx40_Full_x86_x64.exe
    - Ran the command: dotNetFx40_Full_x86_x64.exe /x
    - Specified a location to extract when prompted
    - cd commandline to location of extracted files
    - Ran the command: RGB9Rast_x86.msi
    - Ran the command: netfx_Core_x86.msi EXTUI=1
    - Ran the command: netfx_Extended_x86.msi EXTUI=1

    The part I am unsure of is the EXTUI=1 syntax, but I think the above is correct. That's it.

    "

    His solution is to manually extract the files and install. I think you can also give it a try.

    Best regards,



    Barry
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click HERE to participate the survey.

    • Marked as answer by Misterdeeds Friday, March 27, 2015 3:32 AM
    Friday, March 27, 2015 2:15 AM
    Moderator
  • Wow, that worked. Thank you so much. For future reference, when trying to run the command netfx_Core_x64.msi EXTUI=1 I got the message 'Error occurred while initializing fusion.' I found a solution from Gerry CJ Connell here: http://answers.microsoft.com/en-us/windows/forum/windows_7-winapps/net-framework-4-will-not-install/4e44d831-1882-4663-b534-291b30dceb0b which advises renaming

    C:\Windows\System32\msvcr100_clr0400.dll      
    C:\Windows\SysWOW64\msvcr100_clr0400.dll

    And that did the trick! Thank you again for your help. 

    Friday, March 27, 2015 3:32 AM