由於昨天我嘗試在Windows 7 x64 機器上安裝用於dot.net Framework 4.0的Windows SDK 7.1。我在安裝過程中每次都遇到相同的錯誤。安裝Windows SDK 7.1 for dot.net Framework 4.0/2時遇到的問題1
錯誤消息:
"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"
那是一個非常無益的錯誤信息,所以我瀏覽WWW有關的詳細信息,也做了建議的步驟人民建議。 我打開查看日誌,並得到像其他人一樣的返回錯誤。
"C:\Program Files\Microsoft SDKs\Windows\v7.1\Setup\SFX\vcredist_x86.exe installation failed with the return code 5100"
我嘗試了微軟,MSDN和其他人推薦的所有東西,但沒有爲我工作。
的東西,我試圖解決這個問題:
- 文檔資源管理器的卸載(通過MSDN推薦)
- 卸載了最新的微軟的Visual C++ 2010的Redist 64/86版本(微軟)
- 卸載Microsoft Windows SDK Windows 7(dot.net 3.5)
- 安裝Microsoft Windows SDK 8
,但像我說的沒有任何幫助:/我在安裝過程中每次都得到相同的錯誤消息。
我的系統中的其他事實:
- 我有很多的幾個微軟的Visual C++我的系統在2008年的Redist版本的
- 微軟的Visual C++編譯器2008標準版ENU的x64/x86平臺
- 的Microsoft Windows SDK爲Visual Studio 2008的
背景信息:
我在我的機器Windows 7 x64上安裝了Jenkins as Service。我們做了從dot.net Framework 3.5到dot.net Framework 4.0的轉換。 但問題是,sgen.exe發送錯誤:
"SGEN : error : An attempt was made to load an assembly with an incorrect format.."
(在構建日誌中查找)。 包含sgen.exe文件夾(如「C:\ Program Files \ Microsofft SDK \ Windows \ v7.0 \ Bin」)的Windows SDK。 所以我認爲SDK是過時的(v7.0a),我試圖爲dot.net Framework 4.0安裝Windows SDK v7.1。 可能在我的系統上安裝最新的Visual Studio版本可能有助於解決問題,因爲它應該同時安裝Windows SDK。
但我不想安裝Visual Studio,以防止浪費許可證,因爲沒有人在這臺計算機上工作。
卸載任何現有的Visual C++ 2010可再發行組件,然後重試...對於我來說,這似乎是導致此問題的原因。 – 2013-03-05 14:27:42
你可能想看看這個鏈接以及.. http://stackoverflow.com/questions/1901279/windows-7-sdk-installation-failure – 2013-03-05 14:28:36
@Ramhound:對7.1 – Micha 2013-03-05 14:41:07