我正在尝试在Windows 7 x64上安装Visual Studio 2015社区(带有更新),但是在安装开始时,当它即将安装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]: http://i.stack.imgur.com/ag3IB.png
答案 0 :(得分:0)
以下是我采取的步骤:
我重新启动了系统。
我去了所有运行Microsoft Visual Studio安装程序的任务管理器和结束任务。 在我的情况下,我有3个同时运行。这可以在这里看到: task manager. end all the task relating to Microsoft visual studio setup
转到程序和功能,视觉工作室社区 - >改变 - >修复或如果你有 .ISO文件,你可以再次运行它。选择修复任一选项。 我使用了.ISO文件 注意:运行修复时我连接了互联网。
臂架!!!它开始修复然后你很高兴去。
修复后,它会请求重启。单击“重新启动”,然后启动并运行Visual Studio
答案 1 :(得分:0)
某些文件已损坏或至少Windows认为它。 您应该尝试完全卸载Visual Studio及其所有注定的组件。 然后重新安装。
问题在于,在大多数情况下,卸载也无法完成,因为损坏的文件过大的卸载广告安装程序会导致错误。
没问题。在这种情况下,您应该使用宏伟的 Visual Studio卸载程序 此应用程序将完全,完全和完全删除整个Visual Studio。
从此处下载:https://github.com/microsoft/VisualStudioUninstaller
之后,您就可以安装Visual Studio,解决任何问题。
(您需要在计算机上安装.net framework 4.x才能使用 Visual Studio卸载程序)