Visual Studio 2013 安裝失敗“找不到元素”

Visual Studio 2013 安裝失敗“找不到元素”

安裝失敗並出現「未找到元素」錯誤。

在此輸入影像描述

查看日誌文件,首先,有一堆「未找到註冊表項」訊息:

[1AB8:1ABC][2014-08-13T20:22:33]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vc\Servicing\11.0\CompilerCore86'; variable = 'compilerCore86D11_Ver'
[1AB8:1ABC][2014-08-13T20:22:33]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vc\Servicing\11.0\CompilerCore'; variable = 'compilerCoreD11_Inst'
[1AB8:1ABC][2014-08-13T20:22:33]i000: Setting numeric variable 'compilerCoreD11_Inst' to value 0
[1AB8:1ABC][2014-08-13T20:22:33]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vc\Servicing\11.0\CompilerCore'; variable = 'compilerCoreD11_Ver'
[1AB8:1ABC][2014-08-13T20:22:33]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vc\Servicing\11.0\CompilerCoreWP80'; variable = 'compilerCoreWP80_Inst'
[1AB8:1ABC][2014-08-13T20:22:33]i000: Setting numeric variable 'compilerCoreWP80_Inst' to value 0
[1AB8:1ABC][2014-08-13T20:22:33]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vc\Servicing\11.0\CompilerCoreWP80'; variable = 'compilerCoreWP80_Ver'
[1AB8:1ABC][2014-08-13T20:22:33]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vc\Servicing\12.0\CompilerX64Arm'; variable = 'compilerx64arm_DetectKeyExists'
[1AB8:1ABC][2014-08-13T20:22:33]i000: Setting numeric variable 'compilerx64arm_DetectKeyExists' to value 0
[1AB8:1ABC][2014-08-13T20:22:33]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vc\Servicing\12.0\CompilerX64Nat'; variable = 'compilerx64nat_DetectKeyExists'
[1AB8:1ABC][2014-08-13T20:22:33]i000: Setting numeric variable 'compilerx64nat_DetectKeyExists' to value 0
[1AB8:1ABC][2014-08-13T20:22:33]i000: Registry key not found. Key = 'SOFTWARE\Microsoft\DevDiv\vc\Servicing\12.0\CompilerX64X86'; 

然後出現一些找不到公鑰的錯誤:

[1A80:1AD8][2014-08-13T20:23:38]e000: Error 0x80070490: Failed to find expected public key in certificate chain.
[1A80:1AD8][2014-08-13T20:23:38]e000: Error 0x80070490: Failed to verify expected payload against actual certificate chain.
[1A80:1AD8][2014-08-13T20:23:38]e000: Error 0x80070490: Failed to verify signature of payload: Msi_BuildTools_MSBuild_x86
[1A80:1AD8][2014-08-13T20:23:38]e310: Failed to verify payload: Msi_BuildTools_MSBuild_x86 at path: C:\ProgramData\Package Cache\.unverified\Msi_BuildTools_MSBuild_x86, error: 0x80070490. Deleting file.
[1A80:1AD8][2014-08-13T20:23:38]e000: Error 0x80070490: Failed to cache payload: Msi_BuildTools_MSBuild_x86
[1AB8:0818][2014-08-13T20:23:38]i000: MUX:  Verify Failed.  Retry acquiring, Retry Count: 1 of 3
[1AB8:0818][2014-08-13T20:23:38]i000: MUX:  Set Result: Return Code=-2147023728 (0x80070490), Error Message=, Result Detail=, Vital=True, Package Action=Verify, Package Id=Msi_BuildTools_MSBuild_x86
[1AB8:0818][2014-08-13T20:23:38]e314: Failed to cache payload: Msi_BuildTools_MSBuild_x86 from working path: C:\Users\William\AppData\Local\Temp\{ec85bfda-a752-4fe6-b9ad-f4c42d6ff44b}\Msi_BuildTools_MSBuild_x86, error: 0x80070490.
[1AB8:0818][2014-08-13T20:23:38]e349: Application requested retry of payload: Msi_BuildTools_MSBuild_x86, encountered error: 0x80070490. Retrying...
[1AB8:0818][2014-08-13T20:23:38]i338: Acquiring package: Msi_BuildTools_MSBuild_x86, payload: Msi_BuildTools_MSBuild_x86, copy from: C:\Users\William\Downloads\packages\BuildTools_MSBuild_x86\BuildTools_MSBuild.msi
[1AB8:0818][2014-08-13T20:23:38]i000: MUX:  Reset Result
[1A80:1AD8][2014-08-13T20:23:38]e000: Error 0x80070490: Failed to find expected public key in certificate chain.
[1A80:1AD8][2014-08-13T20:23:38]e000: Error 0x80070490: Failed to verify expected payload against actual certificate chain.
[1A80:1AD8][2014-08-13T20:23:38]e000: Error 0x80070490: Failed to verify signature of payload: Msi_BuildTools_MSBuild_x86

答案1

看看以下解決方案是否有效。

使用任何虛擬光碟機軟體掛載iso 將掛載的內容複製到本機資料夾,例如C:\temp\vs2013\ 從本機資料夾執行“vs_ultimate.exe”

相關內容