.net Windows SDK 7.1 安装失败
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/31455926/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Windows SDK 7.1 Setup failure
提问by dngadelha
I am trying to install Windows SDK for Windows 7 with .NET Framework 4 but when I open the setup I receive an error:
我正在尝试使用 .NET Framework 4 安装适用于 Windows 7 的 Windows SDK,但是当我打开设置时收到错误消息:
Some Windows SDK components require the RTM .NET Framework 4. Setup detected a pre-release version of .NET Framework 4. If you continue with Setup, these components will not be installed. If you want to install these components, click Cancel, then install the .NET Framework 4 from https://go.microsoft.com/fwlink/?LinkID=187668and then rerun Setup.
Click OK to continue.
某些 Windows SDK 组件需要 RTM .NET Framework 4。安装程序检测到 .NET Framework 4 的预发布版本。如果继续安装程序,将不会安装这些组件。如果要安装这些组件,请单击取消,然后从https://go.microsoft.com/fwlink/?LinkID=187668安装 .NET Framework 4 ,然后重新运行安装程序。
单击确定继续。
When I went to install the .NET Framework 4 it appears a message saying that there is already the .NET Framework 4 on my PC:
当我去安装 .NET Framework 4 时,它出现一条消息说我的 PC 上已经有 .NET Framework 4:
The Microsoft .NET Framework 4 is already part of the operating system. No need to install the .NET Framework 4 redistributable. More information.
An equal or higher version of the .NET Framework 4 has already been installed on the computer.
Microsoft .NET Framework 4 已经是操作系统的一部分。无需安装 .NET Framework 4 可再发行组件。更多信息。
计算机上已安装相同或更高版本的 .NET Framework 4。
I don't know what to do anymore. I am using Windows 10 Enterprise (x64).
我不知道该怎么办了。我正在使用 Windows 10 企业版 (x64)。
回答by Torsten Hoffmann
With Windows 10 x64, the setup is blockedby:
对于 Windows 10 x64,设置被阻止:
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.30319and 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.
暂时将这两个值更改为4.0.30319,设置将让您继续。确保使用提升的权限编辑注册表,否则将不允许您更改值。
回答by MandM
I had to uninstall the following:
我不得不卸载以下内容:
- "Microsoft Visual C++ 2010 x64 Redistributable"
- "Microsoft Visual C++ 2010 x86 Redistributable"
- “Microsoft Visual C++ 2010 x64 可再发行组件”
- “Microsoft Visual C++ 2010 x86 Redistributable”
Before installing the Windows 7.1 SDK, and the install packagereinstalls those two during installation.
在安装 Windows 7.1 SDK 之前,安装包会在安装过程中重新安装这两个。
回答by EricS
回答by Yashwanth
I was also facing exactly the same problem mentioned above. After so many attempts the suggestion mentioned in the below link helped
我也面临着上面提到的完全相同的问题。经过多次尝试,以下链接中提到的建议有所帮助
The steps executed by me are as follows
我执行的步骤如下
- Uninstall Visual C++ and .NET 4.x version
- Remove register entries corresponding to these installations. I was having Windows 7, but deleted entries as suggested here
- Restarted Windows
- Tried installing SDK using web installer
- 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
- Once after the installation completes, close the Installation error UI [step 5] and reinvoke the installation of SDK.
- This time, UI screen option would change. Options that you can see is Change, Repair etc. Select Change and complete other component installation.
- 卸载 Visual C++ 和 .NET 4.x 版本
- 删除与这些安装相对应的注册表项。我使用的是 Windows 7,但按照此处的建议删除了条目
- 重新启动的 Windows
- 尝试使用 Web 安装程序安装 SDK
- 这没有用。后来,当安装屏幕仍然显示时调用SDK安装[安装错误消息]执行调试相关的msi [您也可以安装任何提取的msi
- 安装完成后,关闭安装错误 UI [步骤 5] 并重新调用 SDK 的安装。
- 这一次,UI 屏幕选项会改变。您可以看到的选项是更改、修复等。选择更改并完成其他组件安装。
回答by atomkey
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.
我有一个旧版本的 .NET Framework 和 C++ 2010 Redistributable x64 和 x86。卸载 2010 允许我继续没有问题。我没有卸载旧版本的 .NET,但我首先下载并安装了最新版本。
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.
我想安装的 SDK 中唯一的组件是 Windows Performance Toolkit。我在安装开始时仍然收到警告。但无论如何它都通过了。
Maybe that adds a little thought in here...
也许这在这里增加了一点想法......

