none
Can't install .NET Framework 4 in Windows 7 32-bit RRS feed

  • Question

  • I got problem with installing .NET Framework 4. Here's the log :

    https://skydrive.live.com/?v=FirstRunView#cid=2b0a0b776d3beb7c

    Saturday, October 5, 2013 8:54 AM

Answers

  • There is no vslogs.cab at the link you provided.

    Did you right click on the file after uploading it, then share it?

    You can also 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 SkyDrive, and post the link here.


    • Edited by pvdg42 Saturday, October 5, 2013 2:47 PM
    • Marked as answer by Samson Sun - MSFT Monday, October 14, 2013 6:50 AM
    Saturday, October 5, 2013 2:44 PM
  • Your first issue is that your Windows 7 is not up to date.

    You need to apply SP1 for Windows 7 and subsequent updates before installing .NET Framework 4.0.

    From your log, the core error "Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x86.msu) failed with 0xc8000222 - (null).
    [10/19/2013, 11:37:43]PerformOperation on exe returned exit code 3355443746 (translates to HRESULT = 0xc8000222)"

    indicates your OS is not up to date.

    See Barry Wang's answer here:

    http://social.msdn.microsoft.com/Forums/vstudio/en-US/16fe6a54-3ae8-4799-8934-d98fe5816a8d/problem-while-installing-net-40-please-help?forum=netfxsetup

    Saturday, October 19, 2013 3:49 PM

All replies

  • There is no vslogs.cab at the link you provided.

    Did you right click on the file after uploading it, then share it?

    You can also 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 SkyDrive, and post the link here.


    • Edited by pvdg42 Saturday, October 5, 2013 2:47 PM
    • Marked as answer by Samson Sun - MSFT Monday, October 14, 2013 6:50 AM
    Saturday, October 5, 2013 2:44 PM
  • I am not able to install .net framework  and as you suggested I am going to sahre the link

    https://skydrive.live.com/redir?resid=B239175F20A67DAF!112

    Saturday, October 19, 2013 7:36 AM
  • Your first issue is that your Windows 7 is not up to date.

    You need to apply SP1 for Windows 7 and subsequent updates before installing .NET Framework 4.0.

    From your log, the core error "Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x86.msu) failed with 0xc8000222 - (null).
    [10/19/2013, 11:37:43]PerformOperation on exe returned exit code 3355443746 (translates to HRESULT = 0xc8000222)"

    indicates your OS is not up to date.

    See Barry Wang's answer here:

    http://social.msdn.microsoft.com/Forums/vstudio/en-US/16fe6a54-3ae8-4799-8934-d98fe5816a8d/problem-while-installing-net-40-please-help?forum=netfxsetup

    Saturday, October 19, 2013 3:49 PM
  • I have just updated my windows 7 and my problem is solved....

    Thanks for your time....

    Monday, October 21, 2013 8:35 AM
  • I found this question. Not sure if you are still watching it or not. I cannot install .NET 4.0 on Windows 7 SP1 32 bit. I followed your instructions including clearing ACL's, running fresh .Net 4.0 install as administrator. I uploaded my log files to Drop Box at:

    https://dl.dropboxusercontent.com/u/48565262/vslogs.cab

    If you have any ideas, I'd sure appreciate it. Thanks!

    Monday, February 2, 2015 5:30 AM
  • In a case like this, it would be best for you to open a new thread. I'm probably the only one still alerted to this.

    From your log:

    "Windows6.1-KB958488-v6001-x86.msu) failed with 0x240006 - (null)."

    " INSTALLMESSAGE_ERROR [Overlapped I/O operation is in progress. ]"

    Read here: https://support.microsoft.com/kb/295712?wa=wsignin1.0

    Monday, February 2, 2015 2:45 PM