Visual Studio 2015 社区:安装失败!安装错误

问题描述 投票:0回答:3

我尝试在 Windows 7 x64 上安装 Visual Studio 2015 Community(带更新),但在安装开始时,当即将安装 Build Tools 14.0 (x86) 时失败。我不知道为什么会发生这种情况,我试图找到答案,但我所做的似乎都不起作用。如果您可能知道并回答和解决方案,请报告。

这是截图:

[点击此处][1]

它是瑞典语的,但上面写着:

Microsoft Build Tools 14.0 (x86):安装过程中发生致命错误

Microsoft Visual Studio Enterprise 2015:%1 不是有效的 Win32 程序

Visual Studio 更新先决条件:%1 不是有效的 Win32 程序

Microsoft .NET Framework 4.5.1 多目标包:用户停止安装

请帮忙...

这是我认为错误所在的日志文件的一部分:

[0554:1DB4][2016-05-03T19:32:33]i338: Acquiring package: netfx_451mtpack, payload: cab135D64C43B6E80A29EB363DD9339DB8E, download from: prd=12514&pver=Dev14&sbp=d14rel&plcid=0x409&clcid=0x409&ar=25123.00.00&sar=S80_RCPrep&o1=00C0175A9278942188A615441E055714F55FC693
[1D0C:15D0][2016-05-03T19:32:48]e000: Error 0x800b0003: Failed authenticode verification of payload: C:\ProgramData\Package Cache\.unverified\cab135D64C43B6E80A29EB363DD9339DB8E
[1D0C:15D0][2016-05-03T19:32:48]e000: Error 0x800b0003: Failed to verify signature of payload: cab135D64C43B6E80A29EB363DD9339DB8E
[1D0C:15D0][2016-05-03T19:32:48]e310: Failed to verify payload: cab135D64C43B6E80A29EB363DD9339DB8E at path: C:\ProgramData\Package Cache\.unverified\cab135D64C43B6E80A29EB363DD9339DB8E, error: 0x800b0003, delete: Yes
[1D0C:15D0][2016-05-03T19:32:48]e000: Error 0x800b0003: Failed to cache payload: cab135D64C43B6E80A29EB363DD9339DB8E
[0554:1DB4][2016-05-03T19:32:48]i000: MUX:  Set Result: Return Code=-2146762749 (0x800B0003), Error Message=, Result Detail=, Vital=False, Package Action=Verify, Package Id=netfx_451mtpack
[0554:1DB4][2016-05-03T19:32:48]e314: Failed to cache payload: cab135D64C43B6E80A29EB363DD9339DB8E from working path: C:\Users\User\AppData\Local\Temp\{04fa3a35-1f49-4510-8051-819cdc1e6e01}\cab135D64C43B6E80A29EB363DD9339DB8E, error: 0x800b0003.
[0554:1DB4][2016-05-03T19:32:48]e349: Application requested retry of payload: cab135D64C43B6E80A29EB363DD9339DB8E, encountered error: 0x800b0003. Retrying...
[0554:1DB4][2016-05-03T19:32:48]w343: Prompt for source of package: netfx_451mtpack, payload: cab135D64C43B6E80A29EB363DD9339DB8E, path: C:\Users\User\AppData\Local\Temp\{1C9EE3C5-F6AF-44DC-8E1F-66BED962D134}\packages\netfx_451mtpack\netfx_451mtpack.cab
[0554:1DB4][2016-05-03T19:32:48]i000: MUX:  Next Source: Web, Attempted: 2, Limit:3
[0554:1DB4][2016-05-03T19:32:48]i000: MUX:  Source retrieved: Web
[0554:1DB4][2016-05-03T19:32:48]i000: MUX:  Sleep for 3 seconds before retrying
[0554:1DB4][2016-05-03T19:32:51]i000: MUX:  Package:netfx_451mtpack, PayloadId:cab135D64C43B6E80A29EB363DD9339DB8E Url: prd=12514&pver=Dev14&sbp=d14rel&plcid=0x409&clcid=0x409&ar=25123.00.00&sar=S80_RCPrep&o1=00C0175A9278942188A615441E055714F55FC693, Attempting count: 2
[0554:1DB4][2016-05-03T19:32:51]i000: MUX:  Skipping as it is the same as last unconfirmed source: Web
[0554:1DB4][2016-05-03T19:32:51]i338: Acquiring package: netfx_451mtpack, payload: cab135D64C43B6E80A29EB363DD9339DB8E, download from: bits://go.microsoft.com/fwlink/?prd=12514&pver=Dev14&sbp=d14rel&plcid=0x409&clcid=0x409&ar=25123.00.00&sar=S80_RCPrep&o1=00C0175A9278942188A615441E055714F55FC693
[0554:1C94][2016-05-03T19:33:01]i000: MUX:  Installation size in bytes for package: VCRedistD11x64 MaxAppDrive: 0  MaxSysDrive: 362042805  AppDrive: 0  SysDrive: 0
[0554:1C94][2016-05-03T19:33:01]i000: MUX:  Return Code:0x0 Msi Messages:0 Result Detail:0 Restart:None
[0554:1C94][2016-05-03T19:33:01]i000: MUX:  Reset execution Result
[0554:1C94][2016-05-03T19:33:01]i000: MUX:  Reset Result
[0554:1C94][2016-05-03T19:33:01]i000: Setting string variable 'BundleResult' to value '0'
[0554:1C94][2016-05-03T19:33:01]i319: Applied execute package: VCRedistD11x64, result: 0x0, restart: None
[1D0C:1BB0][2016-05-03T19:33:01]i323: Registering package dependency provider: {8CE767E5-878E-47F9-87C2-813D72D06BAE}, version: 1.0.25123.00, package: vs_vshubcore
[1D0C:1BB0][2016-05-03T19:33:01]i325: Registering dependency: {04fa3a35-1f49-4510-8051-819cdc1e6e01} on package provider: {8CE767E5-878E-47F9-87C2-813D72D06BAE}, package: vs_vshubcore
[0554:1C94][2016-05-03T19:33:01]i000: MUX:  ExecutePackageBegin PackageId: Msi_BuildTools_MSBuild_x86
[1D0C:1BB0][2016-05-03T19:33:01]i301: Applying execute package: Msi_BuildTools_MSBuild_x86, action: Install, path: C:\ProgramData\Package Cache\{DF27D91D-516E-4DA1-92AC-7D7D59B2D99E}v14.0.25123\packages\BuildTools_MSBuild_x86\BuildTools_MSBuild.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7" NOVSUI="1"'
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  ExecuteError: Package (Msi_BuildTools_MSBuild_x86) failed: Error Message Id: 2908 ErrorMessage: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908. 
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  ExecuteError: Package (Msi_BuildTools_MSBuild_x86) failed: Error Message Id: 2908 ErrorMessage: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908. 
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  ExecuteError: Package (Msi_BuildTools_MSBuild_x86) failed: Error Message Id: 2908 ErrorMessage: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908. 
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  ExecuteError: Package (Msi_BuildTools_MSBuild_x86) failed: Error Message Id: 2908 ErrorMessage: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908. 
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  ExecuteError: Package (Msi_BuildTools_MSBuild_x86) failed: Error Message Id: 2908 ErrorMessage: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908. 
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  ExecuteError: Package (Msi_BuildTools_MSBuild_x86) failed: Error Message Id: 2908 ErrorMessage: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908. 
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  ExecuteError: Package (Msi_BuildTools_MSBuild_x86) failed: Error Message Id: 2908 ErrorMessage: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908. 
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  ExecuteError: Package (Msi_BuildTools_MSBuild_x86) failed: Error Message Id: 2908 ErrorMessage: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908. 
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  ExecuteError: Package (Msi_BuildTools_MSBuild_x86) failed: Error Message Id: 2908 ErrorMessage: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908. 
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  ExecuteError: Package (Msi_BuildTools_MSBuild_x86) failed: Error Message Id: 2908 ErrorMessage: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908. 
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  ExecuteError: Package (Msi_BuildTools_MSBuild_x86) failed: Error Message Id: 2908 ErrorMessage: The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908. 
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  ExecuteError: Package (Msi_BuildTools_MSBuild_x86) failed: Error Message Id: 1935 ErrorMessage: An error occurred during the installation of assembly 'Microsoft.Build.Conversion.Core,fileVersion="14.0.25123.0",version="14.0.0.00000",culture="neutral",publicKeyToken="B03F5F7F11D50A3A",processorArchitecture="MSIL"'. Please refer to Help and Support for more information. 
[1D0C:1BB0][2016-05-03T19:33:03]e000: Error 0x80070643: Failed to install MSI package.
[1D0C:1BB0][2016-05-03T19:33:03]e000: Error 0x80070643: Failed to execute MSI package.
[0554:1C94][2016-05-03T19:33:03]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  Installation size in bytes for package: Msi_BuildTools_MSBuild_x86 MaxAppDrive: 0  MaxSysDrive: 897024  AppDrive: 0  SysDrive: 512000
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  Return Code:0x80070643 Msi Messages:The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908.  Result Detail:InstallFiles Restart:None
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  Set Result: Return Code=-2147023293 (0x80070643), Error Message=The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908. , Result Detail=InstallFiles, Vital=True, Package Action=Install, Package Id=Msi_BuildTools_MSBuild_x86
[0554:1C94][2016-05-03T19:33:03]i000: Setting string variable 'BundleResult' to value '1603'
[0554:1C94][2016-05-03T19:33:03]i319: Applied execute package: Msi_BuildTools_MSBuild_x86, result: 0x80070643, restart: None
[0554:1C94][2016-05-03T19:33:03]e000: Error 0x80070643: Failed to execute MSI package.
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  ExecutePackageBegin PackageId: Msi_BuildTools_MSBuild_x86
[1D0C:1BB0][2016-05-03T19:33:03]i318: Skipped rollback of package: Msi_BuildTools_MSBuild_x86, action: Uninstall, already: Absent
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  Installation size in bytes for package: Msi_BuildTools_MSBuild_x86 MaxAppDrive: 0  MaxSysDrive: 0  AppDrive: 0  SysDrive: 0
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  Return Code:0x0 Msi Messages:The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908.  Result Detail:InstallFiles Restart:None
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  Reset execution Result
[0554:1C94][2016-05-03T19:33:03]i000: MUX:  Reset Result
[0554:1C94][2016-05-03T19:33:03]i000: Setting string variable 'BundleResult' to value '1603'
[0554:1C94][2016-05-03T19:33:03]i319: Applied rollback package: Msi_BuildTools_MSBuild_x86, result: 0x0, restart: None
[1D0C:1BB0][2016-05-03T19:33:03]i351: Removing cached package: Msi_BuildTools_MSBuild_x86, from path: C:\ProgramData\Package Cache\{DF27D91D-516E-4DA1-92AC-7D7D59B2D99E}v14.0.25123\
[0554:0B10][2016-05-03T19:33:11]e000: Error 0x80070642: UX aborted on download progress.
[0554:0B10][2016-05-03T19:33:11]e000: Error 0x80070642: Failed to send progress from BITS job.
[0554:0B10][2016-05-03T19:33:11]e000: Error 0x80070642: Failure while sending progress during BITS job modification.
[0554:1DB4][2016-05-03T19:33:11]e000: Error 0x80070642: Failed attempt to download URL: 'bits://go.microsoft.com/fwlink/?prd=12514&pver=Dev14&sbp=d14rel&plcid=0x409&clcid=0x409&ar=25123.00.00&sar=S80_RCPrep&o1=00C0175A9278942188A615441E055714F55FC693' to: 'C:\Users\User\AppData\Local\Temp\{04fa3a35-1f49-4510-8051-819cdc1e6e01}\cab135D64C43B6E80A29EB363DD9339DB8E'
[0554:1DB4][2016-05-03T19:33:11]e000: Error 0x80070642: Failed to acquire payload from: 'bits://go.microsoft.com/fwlink/?prd=12514&pver=Dev14&sbp=d14rel&plcid=0x409&clcid=0x409&ar=25123.00.00&sar=S80_RCPrep&o1=00C0175A9278942188A615441E055714F55FC693' to working path: 'C:\Users\User\AppData\Local\Temp\{04fa3a35-1f49-4510-8051-819cdc1e6e01}\cab135D64C43B6E80A29EB363DD9339DB8E'
[0554:1DB4][2016-05-03T19:33:11]e313: Failed to acquire payload: cab135D64C43B6E80A29EB363DD9339DB8E to working path: C:\Users\User\AppData\Local\Temp\{04fa3a35-1f49-4510-8051-819cdc1e6e01}\cab135D64C43B6E80A29EB363DD9339DB8E, error: 0x80070642.
[1D0C:15D0][2016-05-03T19:33:11]i351: Removing cached package: tfs_storyboardingcoreres_x64_enu, from path: C:\ProgramData\Package Cache\{965B81C8-C45E-39B6-997A-CD43D6EA787D}v14.95.25118\
[1D0C:15D0][2016-05-03T19:33:11]i351: Removing cached package: tfs_storyboardingcore_x64, from path: C:\ProgramData\Package Cache\{1850F701-7CCE-3AE9-9FC2-D4D75837A39E}v14.95.25118\
[1D0C:15D0][2016-05-03T19:33:11]i351: Removing cached package: tfs_officeintegrationcoreres_x64_enu, from path: C:\ProgramData\Package Cache\{D59EAE46-00A3-38EB-BC47-E02D09725E4A}v14.95.25118\
[1D0C:15D0][2016-05-03T19:33:11]i351: Removing cached package: tfs_officeintegrationcore_x64, from path: C:\ProgramData\Package Cache\{041FD3D8-612C-3CB2-AB44-1E7B79990C37}v14.95.25118\
[1D0C:15D0][2016-05-03T19:33:11]i351: Removing cached package: vsbsln_res_28, from path: C:\ProgramData\Package Cache\{83B181F2-20B8-4F00-8E71-C66E951A8D4F}v14.0.23107\
[1D0C:15D0][2016-05-03T19:33:11]i351: Removing cached package: vsbsln_neu_28, from path: C:\ProgramData\Package Cache\{DF32E41C-24AD-4A87-B43A-B38553B1806E}v14.0.23107\
[1D0C:15D0][2016-05-03T19:33:11]i351: Removing cached package: Msi_BuildTools_MSBuild_Res_amd64, from path: C:\ProgramData\Package Cache\{388D7468-1CCA-40C8-9F08-4C20E972E922}v14.0.25123\
[1D0C:15D0][2016-05-03T19:33:11]i351: Removing cached package: Msi_BuildTools_MSBuild_Res_x86, from path: C:\ProgramData\Package Cache\{CBE7F62C-646C-46C3-9AB4-A3F71E5A68CC}v14.0.25123\
[1D0C:15D0][2016-05-03T19:33:11]i351: Removing cached package: Msi_BuildTools_MSBuild_amd64, from path: C:\ProgramData\Package Cache\{7F017105-282F-4091-B16A-F8B8A69B0325}v14.0.25123\
[1D0C:15D0][2016-05-03T19:33:11]i351: Removing cached package: Msi_BuildTools_MSBuild_x86, from path: C:\ProgramData\Package Cache\{DF27D91D-516E-4DA1-92AC-7D7D59B2D99E}v14.0.25123\
[1D0C:15D0][2016-05-03T19:33:11]w353: Unable to remove cached package: Msi_BuildTools_MSBuild_x86, from path: C:\ProgramData\Package Cache\{DF27D91D-516E-4DA1-92AC-7D7D59B2D99E}v14.0.25123\, reason: 0x80070003. Continuing...
[1D0C:15D0][2016-05-03T19:33:11]i351: Removing cached package: vs_preclean_vs, from path: C:\ProgramData\Package Cache\4FBF48D9-BED3-36CE-A441-6A5F2B8F8CFE\
[1D0C:15D0][2016-05-03T19:33:11]i351: Removing cached package: VSSetupUtility_Start_vs_community, from path: C:\ProgramData\Package Cache\A7F8FA04-FE26-3C9F-B54B-58EB0B5FF075\
[1D0C:15D0][2016-05-03T19:33:11]i351: Removing cached package: Preparation_Uninstall_vs_community, from path: C:\ProgramData\Package Cache\9DE9F4DD-A257-3EF1-90C8-646644AF9B94\
[1D0C:1BB0][2016-05-03T19:33:11]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{04fa3a35-1f49-4510-8051-819cdc1e6e01}, resume: ARP, restart: None, disable resume: No
[1D0C:1BB0][2016-05-03T19:33:11]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{04fa3a35-1f49-4510-8051-819cdc1e6e01}, resume: ARP, restart initiated: No, disable resume: No
[0554:1C94][2016-05-03T19:33:11]i000: MUX:  Apply Complete: Disk Space Used in bytes for Installation:  MaxAppDrive: 0  MaxSysDrive: 477458432  AppDrive: 0  SysDrive: 0
[0554:1C94][2016-05-03T19:33:11]i000: MUX:  Free Disk Space after install:  SystemDrive C:\ 67425968128 bytes  AppDrive C:\ 67425968128 bytes
[0554:1C94][2016-05-03T19:33:11]i000: MUX:  Go to Finished page.
[0554:1C94][2016-05-03T19:33:11]i000: MUX:  Watson Bucketting Parameters
[0554:1C94][2016-05-03T19:33:11]i000: MUX:  P1 - vs_community
[0554:1C94][2016-05-03T19:33:11]i000: MUX:  P2 - 14.0.25123.00.00
[0554:1C94][2016-05-03T19:33:11]i000: MUX:  P3 - 14.0.25123
[0554:1C94][2016-05-03T19:33:11]i000: MUX:  P4 - Install
[0554:1C94][2016-05-03T19:33:11]i000: MUX:  P5 - Msi_BuildTools_MSBuild_x86
[0554:1C94][2016-05-03T19:33:11]i000: MUX:  P6 - Install
[0554:1C94][2016-05-03T19:33:11]i000: MUX:  P7 - 0x80070643
[0554:1C94][2016-05-03T19:33:11]i000: MUX:  P8 - The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2908. 
[0554:1C94][2016-05-03T19:33:11]i000: MUX:  P9 - InstallFiles
[0554:1C94][2016-05-03T19:33:11]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart:  No 


  [1]: https://i.stack.imgur.com/ag3IB.png
visual-studio-2015 installation build-tools
3个回答
0
投票

以下是我采取的步骤:

  1. 我重新启动了系统。

  2. 我进入任务管理器并结束任务以执行所有 Microsoft Visual studio 设置正在运行就我而言,我同时运行了 3 个。这可以在这里看到: task manager. end all the task relating to Microsoft visual studio setup

  3. 转到程序和功能,Visual Studio 社区 --> 更改 --> 修复,或者如果您有 .ISO 文件,您可以再次运行它。为任一选项选择修复。 我使用了.ISO 文件 注意:运行修复时我已连接互联网。

  4. 繁荣!!!它开始修复,然后就可以开始了。

  5. 修复后,会请求重启。单击重新启动,然后您的视觉工作室就启动并运行了


0
投票

某些文件已损坏,或者至少 Windows 认为已损坏。 您应该尝试完全卸载 Visual Studio 及其所有注定失败的组件。 然后再次安装。

问题是,在大多数情况下,卸载也无法完成,因为损坏的文件阻止卸载广告安装程序抛出错误。

没问题。在这种情况下,您应该使用强大的 Visual Studio 卸载程序 这个应用程序完全彻底地删除了整个 Visual Studio。

从这里下载:https://github.com/microsoft/VisualStudioUninstaller

之后您就可以毫无问题地安装 Visual Studio。

(您的计算机上需要安装.net Framework 4.x才能使用Visual Studio卸载程序


0
投票

实际上有一个非常简单的解决方案可以修复所有 xxx3 错误。下载Visual C++ v56.exe,它将删除损坏的文件并使不可能的安装再次成为可能。在 Autodesk 3D Studio MAX 上进行测试,每次都能正常工作。

© www.soinside.com 2019 - 2024. All rights reserved.