Windows SDK 7.1安装失败

我试图安装 WindowsSDK 的 Windows7与。NET Framework4,但是当我打开安装程序时,我收到一个错误:

某些 WindowsSDK 组件需要 RTM. NETFramework4.Setup 检测到.NETFramework4的预发布版本。如果继续 如果使用安装程序,则不会安装这些组件 安装这些组件,单击“取消”,然后安装.NET 来自 https://go.microsoft.com/fwlink/?LinkID=187668的框架4和 然后重新运行安装程序。

单击“确定”继续。

当我去安装。NETFramework4显示一条消息,说明已经有。NET 框架4:

Microsoft.NETFramework4已经是操作的一部分 不需要安装.NET Framework 4可重新发布版本 资料 .

等于或更高版本的.NETFramework4已经 安装在电脑上。

我不知道该怎么办了,我正在使用 Windows10企业版(x64)。

67589 次浏览

I had to uninstall the following:

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

Before installing the Windows 7.1 SDK, and the install package reinstalls those two during installation.

In order to deal with this problem, I uninstalled my .NET framework version 4.6 and installed 4. Then I installed the SDK, and the problem was gone.

With Windows 10 x64, the setup is blocked by:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Full\Version
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\NET Framework Setup\NDP\v4\Client\Version

Change both values temporarily to 4.0.30319 and the setup will let you continue. Make sure you edit the registry with elevated privileges, otherwise you will not be allowed to change the values.

I was also facing exactly the same problem mentioned above. After so many attempts the suggestion mentioned in the below link helped

https://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/6e6c8a17-1666-42fa-9b5b-dfc21845d2f9/error-installing-windows-7-sdk-71-with-vs2008-vs2010-premium-on-win-7-32bit?forum=windowssdk

The steps executed by me are as follows

  1. Uninstall Visual C++ and .NET 4.x version
  2. Remove register entries corresponding to these installations. I was having Windows 7, but deleted entries as suggested here
  3. Restarted Windows
  4. Tried installing SDK using web installer
  5. This did not work. Later, invoked the SDK installation when the installation screen is still on [with the Installation Error msg] executed debug related msi [you can also install any extracted msi
  6. Once after the installation completes, close the Installation error UI [step 5] and reinvoke the installation of SDK.
  7. This time, UI screen option would change. Options that you can see is Change, Repair etc. Select Change and complete other component installation.

I had an older version of .NET Framework and the C++ 2010 Redistributable x64 and x86 both. Uninstalling the 2010 allowed me to continue with no issues. I didn't uninstall the older version of .NET, but I did download and install the latest version FIRST.

The only component in the SDK I wanted to install was the Windows Performance Toolkit. I still got the warning at the start of the install. But it went through with anyway.

Maybe that adds a little thought in here...