I am trying to install .NET framework 4.0 under Windows 7 but am getting an error with code 1406.
I checked the logs:
MSI (C:\a002a771e38ece7cca\netfx_Core_x64.msi) Installation failed.
Msi Log: Microsoft .NET Framework 4 Setup_20121229_020733440-MSI_netfx_Core_x64.msi.txt
Final Result: Installation failed with error code: (0x80070643),
"Fatal error during installation. " (Elapsed time: 0 00:02:15).
It all started with a cleanup tool for removing .NET 4.5 since I was trying to get rid of a linker error that it might have caused. However, after cleaning it up, I couldn't run both VS2010 and VS2012. Then, I uninstalled both IDE's and tried to install VS2010. That failed since I couldn't install .NET 4.0.
I really feel helpless and don't want to reinstall the whole OS from scratch. So what should I do?
C:\WINDOWS\Microsoft.NET\Framework
but not the folder itself.Credits: http://blogs.msdn.com
I had this problem on Windows 7 Ultimate N x64, when I was installing a Framework 4.0 security update.
For me, the root cause was that I did not have System.Xml.Serialization.xml in my Framework 4.0 folders, for whatever reason.
I had another Windows 7 x64 machine, so I copied the files from there: C:\Windows\Microsoft.NET\Framework\v4.0.30319\System.Xml.Serialization.dll and C:\Windows\Microsoft.NET\Framework64\v4.0.30319\System.Xml.Serialization.dll
(I think they're the same file, actually).
Reran it, and it worked like a charm.
User contributions licensed under CC BY-SA 3.0