Unable to install “Microsoft Windows SDK for Windows 7 and .NET Framework 4”


 

PROBLEM DESCRIPTION:

Unable to install “Microsoft Windows SDK 7.1 for Windows 7 and .NET Framework 4”

Symptoms:

Snippets of Installation log File:

+++++++++++++++++++++++++++++++

[9/30/2011, 17:36:35] Equals evaluated to true

[9/30/2011, 17:36:35] LessThan: evaluating

[9/30/2011, 17:36:35]RegKeyValue: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\10.0\VC\VCRedist\x64\Bld contains ‘40219’

[9/30/2011, 17:36:35]all numeric characters – canonicalizing

[9/30/2011, 17:36:35] LessThan evaluated to true

[9/30/2011, 17:36:35] And evaluated to true

[9/30/2011, 17:36:35] BlockIf evaluated to true

[9/30/2011, 17:36:35]

Logging all the global blocks

Installation Blockers:

1. A newer version of Microsoft Visual C++ 2010 Redistributable has been detected on the machine.

[9/30/2011, 17:36:35] Global Block Checks: StopBlockers evaluated to true.

[9/30/2011, 17:36:35]Final Result: Installation failed with error code: (0x000013EC), "A StopBlock was hit or a System Requirement was not met." (Elapsed time: 0 00:00:00).

++++++++++++++++++++++++++++

SOLUTION:

“Windows SDK for Windows 7 & .NET Framework 4” cannot be installed on a machine that has:

1) Microsoft Visual C++ 2010 X86 Runtime – 10.0.40219

2) Microsoft Visual C++ 2010 X86 redistributable 10.0.40219

3) Microsoft Visual C++ 2010 X64 Runtime – 10.0.40219

4) Microsoft Visual C++ 2010 X64 redistributable 10.0.40219

The above Microsoft Visual C++ 2010 packages are part of the “Visual Studio 2010 Service Pack 1” installation. When we try to install “Windows SDK for Windows 7 & .NET Framework 4.0” on a machine that has “Visual Studio 2010 SP1” it will fail with below error message:

++++++++++++++++++++++++++++++++++++++++++++++

Installation Blockers:

1.A newer version of Microsoft Visual C++ 2010 Redistributable has been detected on the machine.

Global Block Checks: StopBlockers evaluated to true.

Final Result: Installation failed with error code: (0x000013EC), "A StopBlock was hit or a System Requirement was not met." (Elapsed time: 0 00:00:00).

++++++++++++++++++++++++++++++++++++++++++++++

To install Windows SDK successfully perform the below steps.

1. Remove the above mentioned VC++ 2010 packages

2. Install “Windows SDK for Windows 7 & .NET Framework 4.0”.

3. Reapply Visual Studio 2010 Service Pack 1 to reinstall the removed VC++ 2010 packages

References:

a) http://blogs.msdn.com/b/windowssdk/archive/2011/03/08/windows-sdk-v7-1-with-visual-studio-2010-service-pack-1-potential-issue-with-x64-ia64-visual-c-compilers.aspx

b) http://msdn.microsoft.com/en-us/visualc/gg697159

c) http://blogs.msdn.com/b/vcblog/archive/2011/03/31/10148110.aspx

d) http://blogs.msdn.com/b/heaths/archive/2011/04/01/visual-c-2010-sp1-compiler-update-for-the-windows-sdk-7-1.aspx

===========================================================

Content by Keshav Jain


Comments (18)

  1. GK says:

    Please, are you joking….

    I have a clean machine, VS2010, VS2012, up to date. And I can't install windows sdk without de-installing VS2010 SP1 ?

  2. GK says:

    When I try to de install VS2010 SP1 I get the following message :

    "The removal of Microsoft Visual Studio 2010 Service Pack 1 may put this computer in an state in which projects cannot be loaded and Service Pack 1 cannot be reinstalled. For instructions about how to correct the problem, see the readme on the Microsoft Download Center website."

    Is there another way to avoid this kind of risk ?

  3. Just uninstall the following version of Visual C++ or higher version:

    1)  Microsoft Visual C++ 2010 X86 Runtime – 10.0.40219

    2) Microsoft Visual C++ 2010 X86 redistributable 10.0.40219

    3) Microsoft Visual C++ 2010 X64 Runtime – 10.0.40219

    4) Microsoft Visual C++ 2010 X64 redistributable 10.0.40219

    It is recommended to reinstall the higher version of vc++ after the installation of windows SDK.

    Removal of VS2010 Sp1 will put you under risk, however if you want you can again install the VS2010 SP1 after the installation of Windows SDK.

    Also what error messages your are getting while installing Windows SDK?

  4. Rebecca Han says:

    Finally installed sdk successfully. Thanks a lot!

  5. Tash says:

    THANKS! Worked!

  6. Jesse says:

    This is infinitely more helpful than the support page linked with the error report. Thank you!

  7. Ronnie says:

    I have tried to uninstall 10.0.40219 from Windows Update, but it can't locate the MSI – can you direct me to it?

    Thanks.

  8. Naqi says:

    Thanks I worked 🙂

  9. SP says:

    Seems to work great now, thanks!

  10. Guest says:

    So it is really that hard for MS to give this error instead of listing million cryptic messages in a log?

  11. saadat says:

    While installinge  microsoft visual studio 2010 i got an error message that is refusing to install due to .net framework v4 that is not install

  12. john says:

    steps do not work for me. same error when I run the sdk.

    my win7 has Visual Studio 2008,2010,2013.

  13. khanhn says:

    Thank you, save me a lot time.

  14. Worn out says:

    I guess there was just no way you could update the installer for the SDK for your OS to handle this? Lack of resources? Don't care? What?

  15. Worn out says:

    I've tried this three times with no success. No wonder younger developers do not even try to get on this platform.

  16. touristtam says:

    I have to say this: OMFG I hope MSFT dies as a company.

    MSFT is the market leader for enterprise and home based computer and in 2015 you still have to deal with this shite ?!?!?!

  17. rolf says:

    I have Microsoft Visual C++ 2010 X86 redistributable 10.0.40219 and Microsoft Visual C++ 2010 X64 redistributable 10.0.40219 but I unchecked to install the redistributables. Seems not to be a working way. It refuses to install the SDK. Unfortunately I cannot see the log file because an error occurs.

    Do I need to have installed a Visual Studio version? I use SharpDevelop and they recommend to install the SDK. Is there a newer SDK for .Net 4.5?  

  18. rolf says:

    In the meantime I could read the log file with another editor. I got many of the following errors:

    07/01/15 16:10:00 DDSet_Error: Patch Hooks: Missing required property 'ProductFamily': Setup cannot continue.

    07/01/15 16:10:00 DDSet_Warning: Setup failed while calling 'getDLLDirectory'. System error: 0xb7

    and

    16:10:10 Mittwoch, 1. Juli 2015: [SDKSetup:Error] Config_Products_Install: Installation of Product Microsoft Windows SDK for Windows 7 (failed): Please refer to SamplesSetupHTMLConfigDetails.htm document for further information.

    but there is no such file on my entire hd!

Skip to main content