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