Answered by:
.NET Framework 4.0 Won't Install

Question
-
Hi, I have tried to install .NET several times and just get the same error. I even tried cleaning my computer first. It says somthing about different account but anyway, this is the log file for the installation.
Thankyou.
OS Version = 6.1.7600, Platform 2
OS Description = Windows 7 - x64 Ultimate Edition
CommandLine = C:\06ee6170f57980724065012033b32d\\Setup.exe /x86 /x64
TimeZone = GMT Daylight Time
Initial LCID = 2057
Using Simultaneous Download and Install mechanism
Operation: Installing
Package Name = Microsoft .NET Framework 4 Setup
Package Version = 4.0.30319
User Experience Data Collection Policy: Disabled
Number of applicable items: 11
Exe (C:\06ee6170f57980724065012033b32d\SetupUtility.exe) succeeded.
Exe Log File: dd_SetupUtitlity.txt
ServiceControl operation succeeded!
ServiceControl operation succeeded!
Exe (C:\06ee6170f57980724065012033b32d\Windows6.1-KB958488-v6001-x64.msu) failed with 0x437 - The account specified for this service is different from the account specified for other services running in the same process. .
Tuesday, August 20, 2013 9:42 AM
Answers
-
First, please update your Windows 7 with SP1 and subsequent updates.
Once your OS is up to date, please try these steps:
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:
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.
- Marked as answer by Samson Sun - MSFT Tuesday, August 27, 2013 5:22 AM
Tuesday, August 20, 2013 4:06 PM
All replies
-
First, please update your Windows 7 with SP1 and subsequent updates.
Once your OS is up to date, please try these steps:
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:
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.
- Marked as answer by Samson Sun - MSFT Tuesday, August 27, 2013 5:22 AM
Tuesday, August 20, 2013 4:06 PM -
Thanks, I'll try it out!Tuesday, August 20, 2013 4:52 PM