Error installing .NET 4.0 Framework on Windows 7 Ultimate x64
-
04 Nopember 2011 19:17
I'm getting the usual Generic Trust Error like many people here on the forums. I've tried the following:
- Cleaning up using the tool provided
- Checking/unchecking the box for Microsoft Frameworks in control panel
- Running as administrator
- Downloading the standalone package from the Microsoft site
- Turning off antivirus
- Cleaning all temp folders
- Every possible combination of the above
But, I still get this:
OS Version = 6.1.7600, Platform 2
OS Description = Windows 7 - x64 Ultimate Edition
CommandLine = E:\1e851c57c06602764c8b8ccf635055\\Setup.exe /x86 /x64 /ia64 /web
TimeZone = Eastern Daylight Time
Initial LCID = 1033
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: AlwaysUploaded
Number of applicable items: 11
Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:01:41).Exe (E:\1e851c57c06602764c8b8ccf635055\SetupUtility.exe) succeeded.
Exe Log File: dd_SetupUtility.txt
ServiceControl operation succeeded!
ServiceControl operation succeeded!
Exe (C:\Users\ira\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu) failed with 0x240006 - (null).
Exe (E:\1e851c57c06602764c8b8ccf635055\SetupUtility.exe) succeeded.
Exe Log File: dd_SetupUtility.txt
MSI (C:\Users\ira\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\netfx_Core_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20111104_151448482-MSI_netfx_Core_x64.msi.txt
Semua Balasan
-
04 Nopember 2011 19:23
Please follow Alexander Sun's answer in this thread:
http://social.msdn.microsoft.com/Forums/en-US/netfxsetup/thread/147e0599-0c47-4a96-88a0-7f87861c0052
-
04 Nopember 2011 20:32
I looked at Alexander Sun's and I don't have 87B3BCA8516B6BA47AD0D63F93004BE1 in the registry.
Here is my log file -
04 Nopember 2011 23:43
Looking at the msi log, I find entries like:
11/04/11 14:17:03 DDSet_Error: Failed to install assembly C:\Windows\Microsoft.NET\Framework\v4.0.30319\ISymWrapper.dll. IAssemblyCache->InstallAssembly() returned -2147024891.
11/04/11 14:17:03 DDSet_Error: Failed to install assembly 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\ISymWrapper.dll' because of system error: Access is denied.Given the "Access is denied", I suggest you try the following:
Create a new administrator user on your system, reboot, then retry the installation from the new account you created.
If you encounter another failure, please share the full log set (vslogs.cab) as follows:
Please collect your install logs 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.
-
05 Nopember 2011 2:42
Thank you for your help,
I am an administrator. I tried to do run as administrator, still not working.
Here is the cab file
If you don't see anything wrong, I'll create another admin.
- Diedit oleh irarab 05 Nopember 2011 2:45
-
05 Nopember 2011 15:50
Thank you for sharing your full logs.
The .NET Framework 4.0 install log shows this:
Exe (C:\Users\ira\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu) failed with 0x240006 - (null).
PerformOperation on exe returned exit code 2359302 (translates to HRESULT = 0x240006)INSTALLMESSAGE_ERROR [There is a problem with this Windows Installer package. Please refer to the setup log for more information. ]
MSI (C:\Users\ira\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\netfx_Core_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20111104_163802315-MSI_netfx_Core_x64.msi.txt
PerformOperation returned 1603 (translates to HRESULT = 0x80070643)indicating that you have a Windows Installer issue.
Please follow these instructions in the reply from Alexander Sun, a moderator here, to deal with your issue:
If reviewing the contents of your vslogs, I note that you are not clearing out your %temp% directory before each installation attempt. This could also be a contributing factor. %temp% refers to the Temp folder associated with the current user and is found by clicking on your Start Orb, then typing %temp% in the search box. Search results will show the Temp folder you want. Click on Temp to open it, then delete all contents.
You also should make sure that your AV/anti-malware/firewall software is disabled before each installation attempt.
-
07 Nopember 2011 3:20
I went through the instructions on the installer.
MSIExec ran with no errors
I started the windows installer service with no errors
I cleared out the Temp folder disabled anti virus and firewall. Still getting the same problem.
New files are attached at https://skydrive.live.com/redir.aspx?cid=78ca3c79a5f8925d&resid=78CA3C79A5F8925D!112&authkey=1zYjZ0v6AgE%24Please I need this working. Please help me.Thank you.OS Version = 6.1.7600, Platform 2
OS Description = Windows 7 - x64 Ultimate Edition
CommandLine = E:\e0a42bdd8faccfa84d\\Setup.exe /x86 /x64
TimeZone = Eastern Standard Time
Initial LCID = 1033
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: AlwaysUploaded
Number of applicable items: 11
Final Result: Installation failed with error code: (0x80070643), "Fatal error during installation. " (Elapsed time: 0 00:00:48).Exe (E:\e0a42bdd8faccfa84d\SetupUtility.exe) succeeded.
Exe Log File: dd_SetupUtility.txt
ServiceControl operation succeeded!
ServiceControl operation succeeded!
ServiceControl operation succeeded!
ServiceControl operation succeeded!
Exe (E:\e0a42bdd8faccfa84d\Windows6.1-KB958488-v6001-x64.msu) failed with 0x240006 - (null).
Exe (E:\e0a42bdd8faccfa84d\SetupUtility.exe) succeeded.
Exe Log File: dd_SetupUtility.txt
MSI (E:\e0a42bdd8faccfa84d\netfx_Extended_x64.msi) Installation failed. Msi Log: Microsoft .NET Framework 4 Setup_20111106_220357219-MSI_netfx_Extended_x64.msi.txt
- Diedit oleh irarab 23 Nopember 2011 16:06
-
07 Nopember 2011 8:31Moderator
Hi Irarab,
From your log:
MSI (s) (A0!B4) [22:04:39:277]: Product: Microsoft .NET Framework 4 Extended -- There is a problem with this Windows Installer package. Please refer to the setup log for more information.
11/06/11 22:04:08 DDSet_Status: Reserving disk space by 286776 in %windir%
11/06/11 22:04:08 DDSet_Warning: MsiViewExecute failed
11/06/11 22:04:08 DDSet_Warning: Could not reserve disk space for system.data.entity.design.dll_x86
11/06/11 22:04:08 DDSet_Warning: Could not reserve disk space for system_data_oracleclient_dll_x86
11/06/11 22:04:08 DDSet_Warning: Could not reserve disk space for system.data.services.design.dll_x86
…
From your log, I found you have installed .NET Framework 4 Client Profile successfully, but failed to install .NET Framework 4 Extend. From the error message, it seems like your Windows Installer have some problems.
First, I recommend you create a new user account with administrator privileges. Then try to install .NET Framework 4.
Second, please ensure you have the full right on the folder “C:\Windows”.
If you have any other concerns, please feel free to let me know.
Best Regards,
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

-
07 Nopember 2011 12:32
No good.
Ran secedit /configure /cfg %windir%\inf\defltbase.inf /db defltbase.sdb /verboseto make sure my permissions on windows were ok
Tried to install still got error.
Created a new user ADMIN with administrator rights
Rebooted. Logged in as ADMIN
Still got same error.
New files are attached at https://skydrive.live.com/redir.aspx?cid=78ca3c79a5f8925d&resid=78CA3C79A5F8925D!112&authkey=1zYjZ0v6AgE%24Thank you for all of your help
-
07 Nopember 2011 22:48
Can someone help me please. I have to install some software so I can do some work. I need to get Dot Net Framework 4 installed ASAP.
I have a cab at https://skydrive.live.com/redir.aspx?cid=78ca3c79a5f8925d&resid=78CA3C79A5F8925D!112&authkey=1zYjZ0v6AgE%24
Tried installing with new user with admin rights. Anti Virus is off. Temp directory is empty. Checked windows installer. Did cleanup of .net 4 install. I don't know what else to do. Still getting same errors!
-
08 Nopember 2011 1:09Did windows update and got updated to Service Pack 1 but I still get the same error.
-
11 Nopember 2011 3:38Moderator
Hi Irarab,
Frist of all, I recommend you reject all the removable device like Z:.
From your log:
Error 0x80070424: Failed to open the current cluster
[11/7/2011, 20:40:32] Returning IDOK. INSTALLMESSAGE_ERROR [There is a problem with this Windows Installer package. Please refer to the setup log for more information. ]
11/07/11 20:40:31 DDSet_Error: Failed to install assembly C:\Windows\Microsoft.NET\Framework\v4.0.30319\ISymWrapper.dll. IAssemblyCache->InstallAssembly() returned -2147024891.
11/07/11 20:40:31 DDSet_Error: Failed to install assembly 'C:\Windows\Microsoft.NET\Framework\v4.0.30319\ISymWrapper.dll' because of system error: Access is denied.
Unfortunately, the Windows Installer on your side is corrupt. As the Windows Installer 5.0 is included in Windows 7 RTM, it is hard to repair it. I will list all the possible methods to repair Windows Installer.
Method 1: Determine whether the Windows Installer engine is functioning
- Click Start , type cmd in the Search box or click Run then type cmd in the dialog (Windows XP or Windows Server 2003), and then press Enter to open a Command Prompt window.
- At the command prompt, type MSIExec, and then press Enter.
- If the MSI engine is working, there should be no error messages. If you receive an error message, note the error. If you are proficient in how to use search engines, you can use the error message to help locate additional content to troubleshoot the issue.
- Try to install or to uninstall again.
If the problem persists, go to method 2.
Method 2: Make sure that the Windows Installer service is not set to Disabled- Click Start , type services.msc in the Search box or click Run then type services.msc in the dialog (Windows XP or Windows Server 2003), and then press Enter to open Services.
- Right-click the Windows Installer service, and then click Properties.
- If the Startup type box is set to Disabled, change it to Manual.
- Click OK to close the Properties window.
- Right-click the Windows Installer service, and then click Start. The service should start without errors.
- Try to install or to uninstall again.
If the problem persists, go to method 3.
Method 3: Check your version of Windows Installer, and upgrade to the latest version if it is needed
Important This method applies to Windows XP, to Windows Vista, to Windows Server 2003, to Windows Server 2003 R2, and to Windows Server 2008 only.
- Click Start , type cmd in the Search box or click Run then type services.msc in the dialog (Windows XP or Windows Server 2003), and then press Enter to open a Command Prompt window.
- At the Command Prompt window, type MSIExec, and then press Enter. If the MSI engine is working, there should be no error messages, and a separate dialog box should open. This shows the MSI version.
- If the installer version is not version 4.5, see the following article in the Microsoft Knowledge Base for information and for a link to download Windows installer 4.5:
942288 Windows Installer 4.5 is available
- Try to install or to uninstall again.
If the problem persists, go to method 4.
Method 4: Reregister the installer engineImportant This method applies to Windows XP and to Windows Server 2000 only.
- Click Start, click Run then type cmd in the dialog, and then click Command Prompt.
- At the command prompt, type the following, and then press Enter after each line:
MSIExec /unregister
MSIExec /regserver- Try to install or to uninstall again.
If the issue still occurs after these steps, I recommend:
· Start>>Type “regedit”
· Check this path: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]. If you can find a sub key “Enum”under this path, I recommend you delete this key.
NOTE: Before you delete this key ,please copy your registry. To do so: Right click the key “[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]”. Then select “Export”, and save your copy file.
If all the attempt are failed, I recommend you take a look at this page about how to reinstall Windows Installer in Windows 7: http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/need-to-reinstall-windows-installer-in-windows-7/4cb8e54c-5a4e-439d-9d46-1dcd387d2604
I hope this helps.
Best Regards,
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.

- Ditandai sebagai Jawaban oleh Alexander SunModerator 16 Nopember 2011 3:17
- Tanda sebagai Jawaban dihapus oleh irarab 22 Nopember 2011 21:13
-
21 Nopember 2011 17:34
Method 1: Determine whether the Windows Installer engine is functioning Click Start , type cmd in the Search box or click Run then type cmd in the dialog (Windows XP or Windows Server 2003), and then press Enter to open a Command Prompt window. At the command prompt, type MSIExec, and then press Enter.
MSIExec starts with no errors.Method 2: Make sure that the Windows Installer service is not set to Disabled
It was set to manual and it was started. Tried to stop it and restart it and got no errors.Method 3: Check your version of Windows Installer, and upgrade to the latest version if it is needed
Does not apply to me because I am running windows 7
Method 4: Reregister the installer engine
Does not apply to me because I am running windows 7
If the issue still occurs after these steps, I recommend: · Start>>Type “regedit” · Check this path: [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]. If you can find a sub key “Enum”under this path, I recommend you delete this key. NOTE: Before you delete this key ,please copy your registry. To do so: Right click the key “[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\MSIServer]”. Then select “Export”, and save your copy file.
There is no sub key "Enum"Here is my registry for MSIServer
Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\msiserver] "DisplayName"="@%SystemRoot%\\system32\\msimsg.dll,-27" "ImagePath"=hex(2):25,00,73,00,79,00,73,00,74,00,65,00,6d,00,72,00,6f,00,6f,00,\ 74,00,25,00,5c,00,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,6d,\ 00,73,00,69,00,65,00,78,00,65,00,63,00,2e,00,65,00,78,00,65,00,20,00,2f,00,\ 56,00,00,00 "Description"="@%SystemRoot%\\system32\\msimsg.dll,-32" "ObjectName"="LocalSystem" "ErrorControl"=dword:00000001 "Start"=dword:00000003 "Type"=dword:00000010 "DependOnService"=hex(7):72,00,70,00,63,00,73,00,73,00,00,00,00,00 "ServiceSidType"=dword:00000001 "RequiredPrivileges"=hex(7):53,00,65,00,54,00,63,00,62,00,50,00,72,00,69,00,76,\ 00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,61,00,\ 74,00,65,00,50,00,61,00,67,00,65,00,66,00,69,00,6c,00,65,00,50,00,72,00,69,\ 00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,4c,00,6f,00,63,00,\ 6b,00,4d,00,65,00,6d,00,6f,00,72,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,\ 00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,6e,00,63,00,72,00,65,00,61,00,\ 73,00,65,00,42,00,61,00,73,00,65,00,50,00,72,00,69,00,6f,00,72,00,69,00,74,\ 00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,\ 65,00,43,00,72,00,65,00,61,00,74,00,65,00,50,00,65,00,72,00,6d,00,61,00,6e,\ 00,65,00,6e,00,74,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,\ 00,00,53,00,65,00,41,00,75,00,64,00,69,00,74,00,50,00,72,00,69,00,76,00,69,\ 00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,53,00,65,00,63,00,75,00,72,00,\ 69,00,74,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,\ 00,53,00,65,00,43,00,68,00,61,00,6e,00,67,00,65,00,4e,00,6f,00,74,00,69,00,\ 66,00,79,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,\ 00,65,00,50,00,72,00,6f,00,66,00,69,00,6c,00,65,00,53,00,69,00,6e,00,67,00,\ 6c,00,65,00,50,00,72,00,6f,00,63,00,65,00,73,00,73,00,50,00,72,00,69,00,76,\ 00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,49,00,6d,00,70,00,65,00,\ 72,00,73,00,6f,00,6e,00,61,00,74,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,\ 00,65,00,67,00,65,00,00,00,53,00,65,00,43,00,72,00,65,00,61,00,74,00,65,00,\ 47,00,6c,00,6f,00,62,00,61,00,6c,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,\ 00,67,00,65,00,00,00,53,00,65,00,41,00,73,00,73,00,69,00,67,00,6e,00,50,00,\ 72,00,69,00,6d,00,61,00,72,00,79,00,54,00,6f,00,6b,00,65,00,6e,00,50,00,72,\ 00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,52,00,65,00,\ 73,00,74,00,6f,00,72,00,65,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,\ 00,65,00,00,00,53,00,65,00,49,00,6e,00,63,00,72,00,65,00,61,00,73,00,65,00,\ 51,00,75,00,6f,00,74,00,61,00,50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,\ 00,65,00,00,00,53,00,65,00,53,00,68,00,75,00,74,00,64,00,6f,00,77,00,6e,00,\ 50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,54,\ 00,61,00,6b,00,65,00,4f,00,77,00,6e,00,65,00,72,00,73,00,68,00,69,00,70,00,\ 50,00,72,00,69,00,76,00,69,00,6c,00,65,00,67,00,65,00,00,00,53,00,65,00,4c,\ 00,6f,00,61,00,64,00,44,00,72,00,69,00,76,00,65,00,72,00,50,00,72,00,69,00,\ 76,00,69,00,6c,00,65,00,67,00,65,00,00,00,00,00 "FailureActions"=hex:84,03,00,00,00,00,00,00,00,00,00,00,03,00,00,00,14,00,00,\ 00,01,00,00,00,c0,d4,01,00,01,00,00,00,e0,93,04,00,00,00,00,00,00,00,00,00
I am getting
- Error Code: 0x8007064
It says to check the error log for text "Returning IDOK. I can't find any text list that.
But I checked this anyway:
HKLM\Software\Microsoft\Windows\CurrentVersion\Installer
Check if following registry keys have correct values:
- MsiExecCA32 should end with \Windows\syswow64\msiexec.exe
- MsiExecCA64 should end with \Windows\system32\msiexec.exe
Everything looks correct. Please help.
- Diedit oleh irarab 21 Nopember 2011 17:46
-
22 Nopember 2011 9:30Moderator
Hi Irarab,
I find something else. Please take a look at these pages:
http://support.microsoft.com/kb/2438651/en-us#reso1
http://support.microsoft.com/default.aspx?scid=2263996
http://blogs.msdn.com/b/astebner/archive/2010/07/02/10034144.aspx
If all the attempt are failed, I recommend you take a look at this page about how to reinstall Windows Installer in Windows 7:http://answers.microsoft.com/en-us/windows/forum/windows_7-performance/need-to-reinstall-windows-installer-in-windows-7/4cb8e54c-5a4e-439d-9d46-1dcd387d2604
If you have any other concerns, please feel free to let me know.
Best Regards,
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us
-
22 Nopember 2011 20:38
I FIGURED IT OUT AND I GOT IT WORKING!!!!!!
After about 10 hours trying all different things. Looking at all different threads. I found a solution that I did not see anywhere and it worked!
I went to "C:\Windows\Microsoft.NET" there is a directory called "assembly".
I looked in the directory and found some subdirectories with lots of old dot net 4 files. I renamed the directory assembly2 and tried to install Dot Net 4 and it worked!!!!
(You can't delete the assembly directory unless you take ownership of it but you can rename it.)
It seems that something was in the old "assembly" directory.
Everything is working fine now. How come that is not mentioned anywhere? I bet many people are having this problem.
Thank you for all of your help.
Ira
- Diedit oleh irarab 22 Nopember 2011 20:46
- Diedit oleh irarab 22 Nopember 2011 20:51
- Ditandai sebagai Jawaban oleh irarab 22 Nopember 2011 20:51
- Diedit oleh irarab 22 Nopember 2011 21:18
- Diedit oleh irarab 22 Nopember 2011 21:18
- Diedit oleh irarab 22 Nopember 2011 21:19
- Diedit oleh irarab 23 Nopember 2011 16:09
-
22 Nopember 2011 20:58
First, congratulations on getting it sorted out!
Second, thank you very much for sharing your soultion with all of us.
Your situation seems to be happening to others fairly frequently, and your fix may save others a lot of grief.
Thanks again!
-
22 Nopember 2011 21:12
How do I publicize it? I think many people have this exact problem.
- Diedit oleh irarab 22 Nopember 2011 21:17
-
22 Nopember 2011 21:30
Well, you could start a blog, or post it as a separate discussion item (instead of a question) here.
But, please remember that your solution may work only for the specific error condition you encountered and not for all .NET 4/Win 7 failures.
I'm very interested in your procedure because I see this:
"INSTALLMESSAGE_ERROR [There is a problem with this Windows Installer package. Please refer to the setup log for more information"
fairly frequently. When I see it again, I plan to provide a link to your solution post to see what happens when others try it.
-
23 Nopember 2011 10:33Moderator
Hi Irarab,
You really done a great job. I appreciate you shared your solution as a lighthouse in the darkness.
Have a nice day.
Best Regards,
Alexander Sun [MSFT]
MSDN Community Support | Feedback to us
-
23 Nopember 2011 16:01Glad I could help. It drove me crazy. I was tempted to back up my notebook and reinstall windows.
-
10 Desember 2011 6:57This worked perfectly!! I have been trying to install Microsoft Visual Studio lightswitch for the past 3 days!! Thank you very much!!
-
31 Desember 2011 21:53
IT WORKS!!!!!!!!!!!!!!
Thanks, irarab!!!! I've been pulling my hair out for a month trying to get .NET and Visual Studio 2010 to run on my Win 7 x64 system. -
13 Januari 2012 22:01Your answer was spot on!!!!!!!! Geezzz, had all these "experts" guessing at solution but all I had to do was follow your instruction, renamed the folder and started the install again. Worked like a charm!
-
14 Januari 2012 4:35I was trying to install .Net Framework 4 from 1 month but in vain. I did many changes as answers on forums. But Irarab Answer solved my problem at last. Thank you Irarab For posting your answer on forum.
-
09 Februari 2012 18:59
1. Please start a new thread! Threads with marked answers are considered closed, and very few potential helpers will read you post.
2. When you do start a new thread, you should 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.
- Diedit oleh pvdg42MVP 09 Februari 2012 19:00
-
17 Februari 2012 0:54
Hello, its not allowing me to rename the folder. "You need permission to perform this action"
How do I get around that? I am under administrator.
-
12 Maret 2012 11:37
Yeah! Thank you. I've had the same problem.
As the Setup recreates these directories including their files the removal tool should be updated by the author to delete the folder.
The folders in assembly were view-protected, but the new folders were not. I guess that's why the setup crashed all the time.
My UAC is off. I bet you used Windows Update, too.
The Security Settings gave msiserver and SYSTEM Full Access, which I bet is Windows Update, but not the installer. And also no program.
If I wouldn't know (thanks to the verifier) that other files were missing. I would think setting the rights could have helped, too. Because if not, Windows Update didn't install everything. If yes, it just didn't set the rights correctly.
Now due to your help, every folder has Full Access for SYSTEM and Administrators.
Also missing was, but now is present: S-1-5-5-0-359495 with only Read Access. Maybe for the programs.If Microsoft can fix this security errors in the future - all credits to you! :-)
EDIT:By the time it's possible, something does revert this. Meaning folders have no access again resulting in programs terminating with CLR 80004005.
I have Windows Update turned manual, but it seems it did something (Start Menu-Shutdown was marked).
Solution (REWORKED):
My last tip was not working. I had to fix it by inplementing the rights from windows folder again, use the clean tool and follow irarab's tips again.
This time I left the security settings exept these little changes:
1. Select the complete Microsoft.NET folder, set yourself as owner and increment that.
2. Select Trusted Installer & SYSTEM and Click the clickbox for Denying security changes.
3. Add Everyone to the list and select the checkbox to deny security changes.
4. Click the checkbox that increments your settings to subfolders and files. (Leave the Increment from Parent also cheched).
5. Apply that (if it tells Access Denied, repeat step 1).
I'll hope this setup will remain stable. I can run programs now and wll tell if this keeps stable.
YES. Now it's stable. I tried this a few times. First time I deleted the existing rights. This was wrong. Next time I forgot to set ownership on subfolders. After restarting WIndows I got CLR 80004005. I repeated step 1 and 5. and the error was gone. Restarted Windows and I started to keep smiling.
Sorry, Framework, I killed your kill-switch. :-D
- Diedit oleh PenzRules Studios 12 Maret 2012 11:54 possible error source
- Diedit oleh PenzRules Studios 12 Maret 2012 11:57 possible error source
- Diedit oleh PenzRules Studios 13 Maret 2012 2:20
- Diedit oleh PenzRules Studios 13 Maret 2012 2:31
- Diedit oleh PenzRules Studios 13 Maret 2012 2:40
- Diedit oleh PenzRules Studios 15 Maret 2012 15:50
- Diedit oleh PenzRules Studios 15 Maret 2012 16:09
- Diedit oleh PenzRules Studios 15 Maret 2012 16:19
- Diedit oleh PenzRules Studios 15 Maret 2012 16:20
- Diedit oleh PenzRules Studios 15 Maret 2012 23:37
- Diedit oleh PenzRules Studios 15 Maret 2012 23:45
- Diedit oleh PenzRules Studios 15 Maret 2012 23:51
- Diedit oleh PenzRules Studios 15 Maret 2012 23:59
-
13 Maret 2012 23:21Thank you SO MUCH irarab. I've had the same problem, and after trying to find a solution for hours, this is what finally worked.
-
16 Maret 2012 7:30
It's utterly mind numbing to see threads like this and how MS can produce such garbage. These issues with reg keys, permissions, failed installs that sometimes require an entire OS reinstall are why people are buying Apple computers.
My personal experience was a simple install of Turbo Tax .. or so I thought. Several hours later I'm here while my mate installed it on her Mac in a few minutes. Time is money as the old saying goes and I can see a lot of people are going to be wasting it once they try to install Turbo Tax which requires the 'new and improved' .Net 4 . No wonder most of corporate America is still on XP.
-
17 Maret 2012 20:00
Holy Hell that worked. Thank You! Spent way too many hours on this little, yet hugely annoying, issue.- Disarankan sebagai Jawaban oleh daibew 17 Maret 2012 20:00
-
29 Maret 2012 21:39This fixed my problem after all other suggestions on this forum failed. I wish this was more broadly published as the fix!!! Tons of threads on this forum could be solved by pointing to this.
-
10 April 2012 1:38This fix also worked for my generic Windows XP .NET 4 installer failure! Thanks irarab.
-
25 Mei 2012 22:09
I FIGURED IT OUT AND I GOT IT WORKING!!!!!!
After about 10 hours trying all different things. Looking at all different threads. I found a solution that I did not see anywhere and it worked!
I went to "C:\Windows\Microsoft.NET" there is a directory called "assembly".
I looked in the directory and found some subdirectories with lots of old dot net 4 files. I renamed the directory assembly2 and tried to install Dot Net 4 and it worked!!!!
(You can't delete the assembly directory unless you take ownership of it but you can rename it.)
It seems that something was in the old "assembly" directory.
Everything is working fine now. How come that is not mentioned anywhere? I bet many people are having this problem.
Thank you for all of your help.
Ira
Absolutely spectacular. I've been trying to find this answer for two days. Amazing that this is all it takes after trying so many fixes. Thankfully none of them screwed things up even worse.
FYI, I had no issues other than not being able to upgrade my new version of Intuit's Quickbooks. I just finished the install. Seems to be an issue again... but hopefully it's not with .NET Framework.
Great work!!
-
30 Mei 2012 15:17You are a GENIUS! You made my day!!
-
06 Juni 2012 19:39
irarab you are a genius!
I too wasted many hours on this problem. Couldn't find anything on the web that solved the problem until I read your post. Renamed the assembly folder and installed like a charm :)
Thanks mate, really appreciate your work on this one.
-
27 Juni 2012 16:04
Hi, I have a same, but there is no "C:\Windows\Microsoft.NET\assembly" directory on my PC.
Exe (C:\Users\POLAKO~1\AppData\Local\Temp\Microsoft .NET Framework 4 Setup_4.0.30319\Windows6.1-KB958488-v6001-x64.msu) failed with 0x240006 - (null).
[6/27/2012, 17:17:8]PerformOperation on exe returned exit code 2359302 (translates to HRESULT = 0x240006)Please help :'(
-
27 Juni 2012 22:42
If you want readers to see your problem, PLEASE start a new thread!
When you post your new message, provide complete install logs for analysis 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.
Because this thread was marked as answered (closed) months ago, do not post you logs here. Start a new thread if you want help.
-
03 Juli 2012 18:58
Thank you, it worked like a charm. Just renamed assembly to assembly2 and it installed :)
Gary
-
15 Agustus 2012 16:57
I FIGURED IT OUT AND I GOT IT WORKING!!!!!!
After about 10 hours trying all different things. Looking at all different threads. I found a solution that I did not see anywhere and it worked!
I went to "C:\Windows\Microsoft.NET" there is a directory called "assembly".
I looked in the directory and found some subdirectories with lots of old dot net 4 files. I renamed the directory assembly2 and tried to install Dot Net 4 and it worked!!!!
(You can't delete the assembly directory unless you take ownership of it but you can rename it.)
It seems that something was in the old "assembly" directory.
Everything is working fine now. How come that is not mentioned anywhere? I bet many people are having this problem.
Thank you for all of your help.
Ira
You sir deserve a cookie. I tried countless "solutions" that I found in countless articles posted by countless "computer gurus", but they all failed. Little did I expect I would find a solution so simple as this.
Enjoy your cookie. :D
-
20 Desember 2012 14:53I have the same error message yet i dont have the assembly directory in my microsoft.net folder, has anyone got any solutions to that ??
-
20 Desember 2012 18:18
It's been many months since the Microsoft .NET Framework team identified the technique of renaming the Assembly directory as potentially dangerous to other software installed on a given system, so it may be a good thing that you were unable to try it.
Further, posting your issue to an old thread like this one means that very few potential responders will even see your post.
Please try the following alternative (to renaming directories) approach to getting .NET Framework 4.0 installed on your system. Before following these steps, please make sure your OS is completely patched up to date:
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.
-
16 Januari 2013 23:51
Thanks a lot irarab. I got the same problem, and this helped me to solve part of my VS Ultimate installation.
Thanks :D
-
21 Januari 2013 13:15GREAT MAN ... I solved it because of you, thanks
-
25 Januari 2013 0:25
Now I am pulling my hair. My assembly folder is not into Microsoft.NET but into the Windows folder. While I am going to rename it with Admin it's saying "The action can't be completed because the folder or a file in it is open in another program." -- there is no visible program running now then how to figure out which program is sharing it's file(s).
Please I need to run several programs which are based on .NET Framework 4.
I used to clean my cache or any temp files with ccleaner, I have norton antivirus installed (but always stop all it's modules)
Anyone can help please.
-
25 Januari 2013 2:46
Posting to an old, closed thread pretty much guarantees that most readers will never see your post.
PLEASE, start a new thread so forum readers will see and read your issue.
Further,
It's been many months since the Microsoft .NET Framework team identified the technique of renaming the Assembly directory as potentially dangerous to other software installed on a given system, so it may be a good thing that you were unable to try it.
As soon as you start a new thread, I'm sure many here will have useful suggestions for you.
BTW, you should also provide a full log set in your new thread as follows:
Please provide complete install logs as follows:
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.