Cannot Install Windows SDK: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
No edit summary
 
No edit summary
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 <span class="caps">SDK</span> 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 <span class="caps">SDK</span> components.<br /> Installation of the “Microsoft Windows <span class="caps">SDK</span> for Windows 7” 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 <span class="caps">SDK</span> setup again. If you continue to have problems with this issue, please visit the <span class="caps">SDK</span> 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.
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.


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


=Windows <span class="caps">SDK</span> installation failed on Windows 7 without showing a sign of error.=
= Windows SDK installation failed on Windows 7 without showing a sign of error. =


=Resolution: Uninstall Microsoft Visual C++ 2010 Redistributable installations prior Windows <span class="caps">SDK</span> installation=
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)
 
= 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. Notice 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 [http://social.msdn.microsoft.com/Forums/en-US/windowssdk/thread/8f3350f9-0b47-40ae-b070-f2ccbf041875/ a post at <span class="caps">MSDN</span> Forums] ''[social.msdn.microsoft.com]'', I decided to remove and uninstall both of these redistributable installations.
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.


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


Thereafter, I was able to install the Windows <span class="caps">SDK</span> 7.1 ([http://www.microsoft.com/en-us/download/details.aspx?id=8279 web installer] ''[microsoft.com]'' or [http://www.microsoft.com/en-us/download/details.aspx?id=8442 <span class="caps">ISO</span> installers] ''[microsoft.com]'') completely.
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.


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.


——
 
-----


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-&gt;Settings-&gt;Control Panel-&gt;Add or Remove Programs to uninstall:


Microsoft Visual C++ 2010 x86 Redistributable 10.0.40219
Microsoft Visual C++ 2010 x86 Redistributable - 10.0.40219


I then re-installed Windows <span class="caps">SDK</span> 7.1, this time it completed successfully. Add or Remove Programs now shows:
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
Microsoft Visual C++ 2010 x86 Redistributable - 10.0.30319

Revision as of 14:35, 23 February 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&quot; 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.

It may also happen that the SDK installation runs through with a "success&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. C:Files\Microsoft SDKs\Windows\v7.1 or C:Files (x86)SDKs\Windows\v7.1 . If the subdirectory "v7.1&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)

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&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.

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

Thereafter, I was able to install the Windows SDK 7.1 ("web installer&quot;:http://www.microsoft.com/en-us/download/details.aspx?id=8279 or "ISO installers&quot;:http://www.microsoft.com/en-us/download/details.aspx?id=8442) 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