Cannot Install Windows SDK
If you are running 64-bit Windows 7 and always update your system using Windows Update, you might encounter the problem as below.
Windows SDK installation failed on Windows 7 and shows the error below.
A problem occurred while installing selected Windows SDK components.
Installation of the “Microsoft Windows SDK for Windows 7” product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.
Please attempt to resolve the problem and then start Windows SDK setup again. If you continue to have problems with this issue, please visit the SDK team support page at http://go.microsoft.com/fwlink/?LinkId=130245.
Click the View Log button to review the installation log.
To exit, click Finish.
WindowsSDKInstallationFailed.png
Windows SDK installation failed on Windows 7 without showing a sign of error.
Resolution: Uninstall Microsoft Visual C++ 2010 Redistributable installations prior Windows SDK installation
Before the installation, I had the following Microsoft Visual C++ 2010 Redistributable installations. Notice that the x64 version is updated.
Microsoft Visual C++ 2010 x64 Redistributable – 10.0.40219 Microsoft Corporation 15.2 MB 10.0.40219
Microsoft Visual C++ 2010 x86 Redistributable – 10.0.30319 Microsoft Corporation 11.0 MB 10.0.30319
After a read at a post at MSDN Forums [social.msdn.microsoft.com], I decided to remove and uninstall both of these redistributable installations.
[Edit:] There is now a description and solution available in the Microsoft Knowledge Base [support.microsoft.com]
Thereafter, I was able to install the Windows SDK 7.1 (web installer [microsoft.com] or ISO installers [microsoft.com]) completely.
After the installation, I had the following Microsoft Visual C++ 2010 Redistributable installations. Notice the versions are different.
Microsoft Visual C++ 2010 x64 Redistributable – 10.0.30319 Microsoft Corporation 12.1 MB 10.0.30319
Microsoft Visual C++ 2010 x86 Redistributable – 10.0.30319 Microsoft Corporation 1.29 MB 10.0.30319
Thus, removing the newer Microsoft Visual C++ 2010 Redistributable installations will fix this problem.
——
The same problem can occur on Windows XP SP3. I used Start->Settings->Control Panel->Add or Remove Programs to uninstall:
Microsoft Visual C++ 2010 x86 Redistributable – 10.0.40219
I then re-installed Windows SDK 7.1, this time it completed successfully. Add or Remove Programs now shows:
Microsoft Visual C++ 2010 x86 Redistributable – 10.0.30319