簡體   English   中英

Windows 7的Microsoft SDK安裝失敗,錯誤代碼5100。該怎么辦?

[英]Microsoft SDK for windows 7 installation failure with error code 5100. What to do?

我有一台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.嘗試了在線和離線安裝程序。

我遇到了完全相同的問題。 卸載和重新安裝VC ++可再發行組件確實有所幫助。 但是,在成功安裝SDK之前,可能需要同時安裝x86和x64。 這是有關此問題的MSDN KB文章:

https://support.microsoft.com/zh-CN/kb/2717426

一個非常詳細的報告也在這里:

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

希望這可以幫助!

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM