Microsoft适用于 Windows 7 的 SDK 安装失败,错误代码为 5100.怎么办



我有一台Windows 7机器(64位)。我正在尝试安装适用于Windows 7 Microsoft Windows SDK,但收到错误消息

vcredist_x86.exe installation failed with return code 5100.

.然而,经过一番谷歌搜索,我发现我需要卸载Microsoft VC++ 2010的可再发行组件。我卸载了它们并再次尝试,但没有运气。现在我没有看到 vc++ 可再发行组件,但它仍然返回相同的错误代码。我什至尝试过离线安装程序,并为此花费了将近 2 天的时间。以下是安装日志文件的内容。

 Property(S): PrimaryVolumePath = C:
=== Logging stopped: 4/24/2016  18:19:30 ===
MSI (s) (48:E8) [18:19:30:365]: Product: Microsoft Windows SDK for Windows 7 (7.1) -- Removal completed successfully.
MSI (s) (48:E8) [18:19:30:365]: Windows Installer removed the product. Product Name: Microsoft Windows SDK for Windows 7 (7.1). Product Version: 7.1.30514. Product Language: 1033. Manufacturer: Microsoft Corporation. Removal success or error status: 0.
6:19:13 PM Sunday, April 24, 2016: SFX C:Program FilesMicrosoft SDKsWindowsv7.1SetupSFXvcredist_x64.exe installation started with log file C:UsersDSomesh.CORPDOMAppDataLocalTempMicrosoft Windows SDK for Windows 7_2ca916c2-edc1-4143-a09b-b60c211ff81a_SFX.log
6:19:19 PM Sunday, April 24, 2016: C:Program FilesMicrosoft SDKsWindowsv7.1SetupSFXvcredist_x64.exe installed successfully.
6:19:20 PM Sunday, April 24, 2016: SFX C:Program FilesMicrosoft SDKsWindowsv7.1SetupSFXvcredist_x86.exe installation started with log file C:UsersDSomesh.CORPDOMAppDataLocalTempMicrosoft Windows SDK for Windows 7_b43deeda-e8a8-44c8-811d-d555a448a006_SFX.log
6:19:22 PM Sunday, April 24, 2016: C:Program FilesMicrosoft SDKsWindowsv7.1SetupSFXvcredist_x86.exe installation failed with return code 5100
6:19:30 PM Sunday, April 24, 2016: [SDKSetup:Error] Config_Products_Install: Installation of Product Microsoft Windows SDK for Windows 7 (failed): Please refer to SamplesSetupHTMLConfigDetails.htm document for further information. Stack:    at SDKSetup.Product.ConfigureRelatedSfx()      at SDKSetup.Product.ConfigureNewProduct(ManualResetEvent CancelEvent)
6:19:30 PM Sunday, April 24, 2016: [SDKSetup:Info] Config_Products_InstallNew: End installation of new product: Microsoft Windows SDK for Windows 7
6:19:30 PM Sunday, April 24, 2016: [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 SamplesSetupHTMLConfigDetails.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)

请提出解决此问题的任何方法。谢谢。

我尝试过的:

1.卸载 2010 vc++ 的可再发行组件。2.尝试使用在线和离线安装程序。

我遇到了完全相同的问题。卸载并重新安装 VC++ 可再发行组件确实有所帮助。但是,您可能需要同时安装 x86 和 x64,然后 SDK 安装才能成功。下面是有关此问题的 MSDN 知识库文章:

https://support.microsoft.com/en-gb/kb/2717426

一个相当详细的报告也在这里:

http://notepad.patheticcockroach.com/1666/installing-visual-c-2010-and-windows-sdk-for-windows-7-offline-installer-and-installation-troubleshooting/

希望这有帮助!

相关内容

最新更新