Cannot Install Windows SDK: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
(fixed markup, etc.)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
If you are running 64-bit Windows 7 and always update your system using Windows Update, you might encounter the problem as below.
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. =
== Windows SDK installation failed on Windows 7 and shows the error below. ==


A problem occurred while installing selected Windows SDK components.<br />Installation of the &quot;Microsoft Windows SDK for Windows 7&amp;quot; product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information.<br />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.<br />Click the View Log button to review the installation log.<br />To exit, click Finish.
<pre>
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.
</pre>


[[Image:http://i.imgur.com/DW4MA.png|WindowsSDKInstallationFailed.png]]
[[File:Windows_SDK_Install_FAIL.png]]


= Windows SDK installation failed on Windows 7 without showing a sign of error. =
== Windows SDK installation failed on Windows 7 without showing a sign of error. ==


It may also happen that the SDK installation runs through with a &quot;success&amp;quot; message at the end - but nothing was actually installed. The only way to really find out whether the SDK was installed is to check the respective directory. <code>C:Files\Microsoft SDKs\Windows\v7.1<code> or <code>C:Files (x86)SDKs\Windows\v7.1<code> . If the subdirectory &quot;v7.1&amp;quot; was created and has some content, the SDK was installed. The solution for this problem is the same as for the issue with the error message: Uninstall Microsoft Visual C++ 2010 Redistributable. (see below)
It may also happen that the SDK installation runs through with a "success" message at the end - but nothing was actually installed. The only way to really find out whether the SDK was installed is to check the respective directory. <tt>C:Files\Microsoft SDKs\Windows\v7.1</tt> or <tt>C:Files (x86)SDKs\Windows\v7.1</tt> . If the subdirectory "v7.1" was created and has some content, the SDK was installed. The solution for this problem is the same as for the issue with the error message: Uninstall Microsoft Visual C++ 2010 Redistributable. (see below)


= Resolution: Uninstall Microsoft Visual C++ 2010 Redistributable installations prior Windows SDK installation =
== 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.
Before the installation, I had the following Microsoft Visual C++ 2010 Redistributable installations. Note that the x64 version is updated.


Microsoft Visual C++ 2010 x64 Redistributable - 10.0.40219 Microsoft Corporation 15.2 MB 10.0.40219<br />Microsoft Visual C++ 2010 x86 Redistributable - 10.0.30319 Microsoft Corporation 11.0 MB 10.0.30319
Microsoft Visual C++ 2010 x64 Redistributable - 10.0.40219 Microsoft Corporation 15.2 MB 10.0.40219<br/>
Microsoft Visual C++ 2010 x86 Redistributable - 10.0.30319 Microsoft Corporation 11.0 MB 10.0.30319


After a read at &quot;a post at MSDN Forums&amp;quot;:http://social.msdn.microsoft.com/Forums/en-US/windowssdk/thread/8f3350f9-0b47-40ae-b070-f2ccbf041875/, I decided to remove and uninstall both of these redistributable installations.
After a read at [http://social.msdn.microsoft.com/Forums/en-US/windowssdk/thread/8f3350f9-0b47-40ae-b070-f2ccbf041875/ a post at MSDN Forums], I decided to remove and uninstall both of these redistributable installations.


'''[Edit:]''' There is now a description and solution available in the &quot;Microsoft Knowledge Base&amp;quot;:http://support.microsoft.com/kb/2717426
'''[Edit:]''' There is now a description and solution available in the [http://support.microsoft.com/kb/2717426 Microsoft Knowledge Base]


Thereafter, I was able to install the Windows SDK 7.1 (&quot;web installer&amp;quot;:http://www.microsoft.com/en-us/download/details.aspx?id=8279 or &quot;ISO installers&amp;quot;:http://www.microsoft.com/en-us/download/details.aspx?id=8442) completely.
Thereafter, I was able to install the Windows SDK 7.1 ([http://www.microsoft.com/en-us/download/details.aspx?id=8279 web installer] or [http://www.microsoft.com/en-us/download/details.aspx?id=8442 ISO installers]) completely.


After the installation, I had the following Microsoft Visual C++ 2010 Redistributable installations. Notice the versions are different.
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<br />Microsoft Visual C++ 2010 x86 Redistributable - 10.0.30319 Microsoft Corporation 1.29 MB 10.0.30319
Microsoft Visual C++ 2010 x64 Redistributable - 10.0.30319 Microsoft Corporation 12.1 MB 10.0.30319<br/>
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.
Thus, removing the newer Microsoft Visual C++ 2010 Redistributable installations will fix this problem.
Line 32: Line 40:
-----
-----


The same problem can occur on Windows XP SP3. I used Start-&gt;Settings-&gt;Control Panel-&gt;Add or Remove Programs to uninstall:
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
Microsoft Visual C++ 2010 x86 Redistributable - 10.0.40219

Latest revision as of 17:43, 4 March 2015

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.

Windows SDK Install FAIL.png

Windows SDK installation failed on Windows 7 without showing a sign of error.

It may also happen that the SDK installation runs through with a "success" message at the end - but nothing was actually installed. The only way to really find out whether the SDK was installed is to check the respective directory. C:Files\Microsoft SDKs\Windows\v7.1 or C:Files (x86)SDKs\Windows\v7.1 . If the subdirectory "v7.1" was created and has some content, the SDK was installed. The solution for this problem is the same as for the issue with the error message: Uninstall Microsoft Visual C++ 2010 Redistributable. (see below)

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. Note 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, 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

Thereafter, I was able to install the Windows SDK 7.1 (web installer or ISO installers) 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