Windows SDK 7.1 安装失败
我正在尝试使用 .NET Framework 4 安装适用于 Windows 7 的 Windows SDK,但是当我打开设置时收到一个错误:
I am trying to install Windows SDK for Windows 7 with .NET Framework 4 but when I open the setup I receive an error:
某些 Windows SDK 组件需要 RTM .NET Framework 4.设置检测到 .NET Framework 4 的预发布版本.如果继续使用安装程序,将不会安装这些组件.如果你想安装这些组件,单击取消,然后安装 .NET框架 4 来自 https://go.microsoft.com/fwlink/?LinkID=187668 和然后重新运行安装程序.
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=187668 and then rerun Setup.
点击确定继续.
当我去安装 .NET Framework 4 时,出现一条消息说我的电脑上已经有 .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:
Microsoft .NET Framework 4 已经是运行的一部分系统.无需安装 .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.
同等或更高版本的 .NET Framework 4 已经安装在电脑上.
An equal or higher version of the .NET Framework 4 has already been installed on the computer.
我不知道该怎么办了.我使用的是 Windows 10 企业版 (x64).
I don't know what to do anymore. I am using Windows 10 Enterprise (x64).
对于 Windows 10 x64,设置被阻止作者:
With Windows 10 x64, the setup is blocked by:
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftNET Framework SetupNDPv4FullVersion
HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftNET Framework SetupNDPv4ClientVersion
暂时将这两个值更改为 4.0.30319
,设置将让您继续.确保使用提升的权限编辑注册表,否则将不允许您更改值.
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.