Cannot install .NET Framework 4 on Windows 7 x64 running on Hyper V
-
Monday, May 14, 2012 3:45 PM
Hello
Im trying to install .NET 4 on Windows 7 x64 hosted on HyperV. I have a hyper V snapshot of the machine so I can rollback any install errors.
I get this error:
Logging all the global blocks Installation Blockers: The setup cannot run in compatibility mode. For more information, see the Readme file. [5/14/2012, 17:18:30] Global Block Checks: StopBlockers evaluated to true. [5/14/2012, 17:18:30]Final Result: Installation failed with error code: (0x000013EC), "A StopBlock was hit or a System Requirement was not met." (Elapsed time: 0 00:00:04).
I am running the setup as Administrator and I have checked the Compatibility tab and it is unchecked. Is this a problem in hyper V? I have checked all logs I can find in the temp directory and there is nothing that helps me find the problem. Any help appreciated.
All Replies
-
Tuesday, May 15, 2012 6:53 AMModerator
Hello T Rex,
Apart from unchecking the Run this program in compatibility mode for checkbox of the .NET Framework installer, you should also have a check of Program Compatibility Assistant registry settings. Open regedit.exe and go to HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Compatibility Assistant\Persisted Then delete any value that refers to setup.exe on the path where you are installing .NET Framework and VS.
Please also take a look at the following two links for further information:
http://blogs.msdn.com/b/aaronru/archive/2009/10/27/visual-studio-and-net-framework-do-not-support-installing-via-app-compat-modes.aspx
http://connect.microsoft.com/VisualStudio/feedback/details/513055/restarting-interupted-install-stuck-in-compatibilty-mode-errorThanks.
Vicky Song [MSFT]
MSDN Community Support | Feedback to us
- Marked As Answer by Vicky SongModerator Wednesday, May 23, 2012 5:40 AM

