.net Microsoft SDK for windows 7安装失败,错误代码为5100。怎么办?
我有一台Windows7机器(64位)。我试图为Windows 7安装Microsoft Windows SDK,但收到错误消息.net Microsoft SDK for windows 7安装失败,错误代码为5100。怎么办?,.net,visual-studio-2010,visual-c++,sdk,.net,Visual Studio 2010,Visual C++,Sdk,我有一台Windows7机器(64位)。我试图为Windows 7安装Microsoft Windows SDK,但收到错误消息 vcredist_x86.exe installation failed with return code 5100. 。 然而,在谷歌搜索了一下之后,我发现我需要卸载微软VC++2010的可再发行版本。我卸载了它们并再次尝试,但没有成功。现在我没有看到vc++可再发行版本,但它仍然返回相同的错误代码。我甚至尝试过离线安装程序,花了将近2天的时间 Property
vcredist_x86.exe installation failed with return code 5100.
。
然而,在谷歌搜索了一下之后,我发现我需要卸载微软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.尝试在线和离线安装程序。我遇到了完全相同的问题。卸载和重新安装VC++可再发行文件确实有所帮助。但是,在SDK安装成功之前,您可能需要同时安装x86和x64。以下是有关此问题的MSDN KB文章: 这里还有一份相当详细的报告: 希望这有帮助