【发布时间】:2016-04-24 13:18:49
【问题描述】:
我有一台 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 Files\Microsoft SDKs\Windows\v7.1\Setup\SFX\vcredist_x64.exe installation started with log file C:\Users\DSomesh.CORPDOM\AppData\Local\Temp\Microsoft Windows SDK for Windows 7_2ca916c2-edc1-4143-a09b-b60c211ff81a_SFX.log
6:19:19 PM Sunday, April 24, 2016: C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\SFX\vcredist_x64.exe installed successfully.
6:19:20 PM Sunday, April 24, 2016: SFX C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\SFX\vcredist_x86.exe installation started with log file C:\Users\DSomesh.CORPDOM\AppData\Local\Temp\Microsoft Windows SDK for Windows 7_b43deeda-e8a8-44c8-811d-d555a448a006_SFX.log
6:19:22 PM Sunday, April 24, 2016: C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\SFX\vcredist_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 Samples\Setup\HTML\ConfigDetails.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 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)
请提出任何解决此问题的方法。谢谢。
我尝试过的:
1.卸载2010 vc++的可再发行组件。 2.尝试了在线和离线安装程序。
【问题讨论】:
标签: .net visual-studio-2010 visual-c++ sdk