Share via


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) https://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) https://msdn.microsoft.com/en-us/visualc/gg697159

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

d) https://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

  • Anonymous
    June 11, 2012
    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 ?

  • Anonymous
    June 11, 2012
    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 ?

  • Anonymous
    June 11, 2012
    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?
  • Anonymous
    October 02, 2012
    Finally installed sdk successfully. Thanks a lot!

  • Anonymous
    November 22, 2012
    THANKS! Worked!

  • Anonymous
    January 27, 2013
    This is infinitely more helpful than the support page linked with the error report. Thank you!

  • Anonymous
    April 04, 2013
    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.

  • Anonymous
    January 21, 2014
    Thanks I worked :)

  • Anonymous
    May 30, 2014
    Seems to work great now, thanks!

  • Anonymous
    June 04, 2014
    So it is really that hard for MS to give this error instead of listing million cryptic messages in a log?

  • Anonymous
    August 20, 2014
    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

  • Anonymous
    February 02, 2015
    steps do not work for me. same error when I run the sdk. my win7 has Visual Studio 2008,2010,2013.

  • Anonymous
    February 09, 2015
    Thank you, save me a lot time.

  • Anonymous
    April 17, 2015
    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?

  • Anonymous
    April 17, 2015
    I've tried this three times with no success. No wonder younger developers do not even try to get on this platform.

  • Anonymous
    June 04, 2015
    The comment has been removed

  • Anonymous
    June 30, 2015
    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?  

  • Anonymous
    July 01, 2015
    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!