Error when installing windows SDK 7.1

一个人想着一个人 提交于 2019-11-27 17:46:43
Jaime Hablutzel

This is a known issue http://support.microsoft.com/kb/2717426

CAUSE

This issue occurs when you install the Windows 7 SDK on a computer that has a newer version of the Visual C++ 2010 Redistributable installed.

RESOLUTION

To resolve this issue, you must uninstall all versions of the Visual C++ 2010 Redistributable before installing the Windows 7 SDK. You may have one or more of the following products installed:

  • Microsoft Visual C++ 2010 x86 Redistributable
  • Microsoft Visual C++ 2010 x64 Redistributable

After uninstalling the Microsoft Visual C++ 2010 Redistributable products, you may install the Windows 7 SDK. After installing the Windows 7 SDK, you may then reinstall the newer version of the Visual C++ 2010 Redistributable products, in order to restore the Visual C++ 2010 Redistributable products to their original state.

Success! I was able to purge the vc++ 2010 redistributables from my machine using Microsoft's Fix it utility: http://support.microsoft.com/mats/Program_Install_and_Uninstall

It was able to find both the x64 and x86 versions of the redistributable and uninstall it, removing ~120 entries from the registry and allowing the sdk installation to go forward. It had nothing to do with NI's version of the vc++ 2010 redistributable.

I struggled with Windows SDK web installer on Win7 Prof 64bit. Uninstalling/reinstalling VS 2010 redistributables didn't help. Only after downloading Windows SDK ISO file the installation completed successfully (the one for x64 is GRMSDKX_EN_DVD.iso).

My theory would be that web installer chose wrong architecture somehow causing installation to fail.

Matthieu

All of the above answers helped me but none really worked for me.

I finally managed to compile 64 bits with Visual Express 2010 by installing the SDK before Visual Express 2010. So:

  1. (uninstall Visual Express 2010, maybe using this registry hack if some Visual Compilers are still seen as installed but not shown in the "Programs and Features" panel)
  2. Install Windows SDK
  3. Install Visual Express 2010
  4. Configure the default library search path to point at the SDK

I'm lazy to uninstall Visual Express, reinstall the SDK and then again Visual Express, but I got it all in a VirtualBox VM which I will preciously keep in a safe at the bank! ;)

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!