Windows SDK 8安裝失敗的繞坑辦法

來源:互聯網
上載者:User

標籤:edit   roots   問題   blog   註冊   沒有   vat   覆蓋   mic   

安裝win sdk 8,提示錯誤:管道正在被關閉。

查看安裝log檔案,有如下錯誤:

Error 0x800700e8: Failed to write message type to pipe.
Error 0x800700e8: Failed to write send message to pipe.
Error 0x800700e8: Failed to send BURN_ELEVATION_MESSAGE_TYPE_EXECUTE_MSI_PACKAGE message to per-machine process.
Error 0x800700e8: Failed to configure per-machine MSI package.

系統是win7 64,也有裝Windows6.1-KB2670838-x64.msu 補丁。

按網上提示的修改註冊表方式也沒有效果:https://blogs.msdn.microsoft.com/vsnetsetup/2013/10/04/visual-studio-2012-fails-with-an-error-the-pipe-is-being-closed/

 

最後用了必殺技,從一個正常安裝的機器直接拷貝安裝後的sdk目錄,到有問題的win7機器,例如拷貝C:\Program Files (x86)\Windows Kits\8.0到win7的相應sdk安裝目錄下(雖然win7上安裝失敗但還是有些檔案殘留的,直接覆蓋即可)。

然後註冊表添加如下KitsRoot索引值,注意路徑要修改為win7上的實際目錄:

 

Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows Kits\Installed Roots]"KitsRoot"="C:\\Program Files (x86)\\Windows Kits\\8.0\\"

將上述文本儲存為.reg執行即可。

 

註:在我的使用情境下需要KitsRoot,所以將其添加到了註冊表,其他情況下不排除可能還要其他登錄機碼,Windows Kits下有一些其他項,需要的話可以嘗試添加,祝你好運!

Windows SDK 8安裝失敗的繞坑辦法

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.