为 window7 安装 Microsoft Windows SDK 失败

Installing Microsoft Windows SDK for window7 failed

当我尝试安装 Microsoft SDK 但出现错误避免安装到 complete.does 任何人都知道 it.I 已经尝试了通过搜索找到的所有解决方案(除了那个卸载 VS2010)。 我的日志中出现此错误:

10:03:10 PM Friday, January 30, 2015: [SDKSetup:Error] Config_Products_Install: Windows SDK Setup (failed): Installation of the "Microsoft Windows SDK for Windows 7" product has reported the following error: Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information. Stack: at SDKSetup.Product.ConfigureNewProduct(ManualResetEvent CancelEvent) at SDKSetup.Product.SetupProduct(TaskMode taskMode, ManualResetEvent CancelEvent) at SDKSetup.ProductCollection.SetupProducts(TaskMode taskMode, DownloadManager downloadManager, ManualResetEvent cancelEvent) at SDKSetup.ConfigProducts.DoCurrentTask(TaskMode Task)

注意:我有两个 Visual Studio 2010 年和 2013 年

根据我的经验,这是因为 SDK 安装与 Microsoft Visual Studio 2010 C++ Redistributable(也可能是 2012)的更新不兼容。卸载适用于 x86 和 x64 的 Microsoft Visual Studio 2010 + 2012 C++ Redistributable 软件包,然后安装 SDK。 SDK 安装完成后,您可以重新安装 Redistributable 包。