gpt4 book ai didi

windows - 安装 windows SDK 7.1 时出错

转载 作者:可可西里 更新时间:2023-11-01 11:54:21 25 4
gpt4 key购买 nike

我在安装网上发布的 Windows SDK 时遇到了错误,但没有一个解决方案适合我。这是我得到的日志

9:43:37 AM Monday, October 14, 2013: SFX C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\SFX\vcredist_x64.exe installation started with log file C:\Users\clarkbd\AppData\Local\Temp\Microsoft Windows SDK for Windows 7_c3c42538-8a3e-439d-be39-aee3078ca098_SFX.log
9:43:43 AM Monday, October 14, 2013: C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\SFX\vcredist_x64.exe installation failed with return code 1603
9:43:53 AM Monday, October 14, 2013: [SDKSetup:Error] Config_Products_Install: Installation of Product Microsoft Windows SDK for Windows 7 (failed): Please refer to Samples\Setup\HTML\ConfigDetails.htm document for further information. Stack: at SDKSetup.Product.ConfigureRelatedSfx() at SDKSetup.Product.ConfigureNewProduct(ManualResetEvent CancelEvent)
9:43:53 AM Monday, October 14, 2013: [SDKSetup:Info] Config_Products_InstallNew: End installation of new product: Microsoft Windows SDK for Windows 7
9:43:53 AM Monday, October 14, 2013: [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)

当我尝试单独运行 vcredist_x64 时,出现此错误:

MSI (s) (80:5C) [09:51:50:971]: Product: Microsoft Visual C++ 2010  x64 Redistributable - 10.0.30319 -- A later version of Microsoft Visual C++ 2010  x64 Redistributable - 10.0.30319 is already installed.

现在,根据我在网上读到的每一个解决方案,我将卸载可再发行组件并继续安装。问题是我没有安装任何 VC++ 2010 可再发行组件(仅 2005 和 2008)。除了主程序之外,唯一的东西是名为 Microsoft Visual Studio 2010 Express Prerequisites x64 - ENU 的东西。卸载它对我收到的错误没有影响。我的电脑上有一些东西告诉 SDK 我安装了这个 redist,但我不确定是什么。任何人都可以为我阐明这一点吗?

编辑:即使我完全卸载 Visual C++ 2010,这个问题仍然存在。我还能做些什么来从我的机器上删除该软件的所有痕迹?

编辑 2:稍微搜索一下注册表后,我发现 NI 安装了自己的 visual c++ 2010 可再发行组件,但它不包含在“添加或删除程序”列表中。我已经卸载了它,希望 sdk 能够正确安装。

编辑 3:运气不好,仍然遇到同样的错误。我可以在注册表中找到其他 2010 可再发行组件,但尝试手动执行卸载字符串只会告诉我只能在已安装的软件包上运行它。如果我知道 vcredist 如何找到当前安装的重新分发,这会简单得多。

最佳答案

这是一个已知问题 http://support.microsoft.com/kb/2717426

原因

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.

决议

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.

uninstallation picture

关于windows - 安装 windows SDK 7.1 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19366006/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com