【问题标题】:VS Community 2015 Setup FailedVS Community 2015 安装失败
【发布时间】:2016-11-27 19:39:03
【问题描述】:

我正在升级到 VS 2015 Update 3,但出现错误。我卸载了 VS 2015,重新启动了我的系统,并尝试在没有更新的情况下安装 VS 2015,但我(显然)遇到了同样的错误。

有人知道如何解决这个问题吗?

PS:我不知道在哪里上传日志文件,它有 1.6 MB。


2016 年 7 月 26 日到目前为止我尝试过的(按顺序):

  • 卸载VS 2015,重新安装
  • 用 CCleaner 清理注册表,重新安装
  • [发布此问题]
  • 删除C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18文件夹,重新安装
  • 修复 MSVC 2015 x64 和 x86 可再发行组件,重新安装
  • 删除 MSVC 2015 x64 和 x86 可再发行组件,重新安装
  • 在不使用更新 3 的情况下从 .ISO 安装 VS 2015
  • 在 Windows 安全模式下从 .ISO 安装 VS 2015,无需更新 3

在这些步骤之间,我总是不得不再次卸载 VS 2015,因为即使安装失败(并且总是出现上述相同的错误),它在已安装程序中收到了一个条目。

日志的最后几行显示相关:

[2824:1078][2016-07-26T11:11:47]i000: Setting string variable 'BundleResult' to value '0'
[2824:1078][2016-07-26T11:11:47]i319: Applied execute package: vstf_testExecCoreRes_enu, result: 0x0, restart: None
[281C:2810][2016-07-26T11:11:47]i325: Registering dependency: {04fa3a35-1f49-4510-8051-819cdc1e6e01} on package provider: Microsoft.VS.TestExecCoreRes_enu,v14, package: vstf_testExecCoreRes_enu
[2824:1078][2016-07-26T11:11:47]i000: MUX:  ExecutePackageBegin PackageId: vs_teamExplorerCore
[281C:2810][2016-07-26T11:11:47]i301: Applying execute package: vs_teamExplorerCore, action: Install, path: C:\ProgramData\Package Cache\{7932CD6F-86D3-3EE4-8A02-B954404D1FFC}v14.95.25118\packages\TeamExplorer\Core\vs_teamExplorerCore.msi, arguments: ' MSIFASTINSTALL="7" USING_EXUIH="1"'
[2824:1078][2016-07-26T11:11:54]i000: MUX:  ExecuteError: Package (vs_teamExplorerCore) failed: Error Message Id: 1722 ErrorMessage: There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.  
[281C:2810][2016-07-26T11:11:54]e000: Error 0x80070643: Failed to install MSI package.
[281C:2810][2016-07-26T11:11:54]e000: Error 0x80070643: Failed to execute MSI package.
[2824:1078][2016-07-26T11:11:54]e000: Error 0x80070643: Failed to configure per-machine MSI package.
[2824:1078][2016-07-26T11:11:54]i000: MUX:  Installation size in bytes for package: vs_teamExplorerCore MaxAppDrive: 0  MaxSysDrive: 172871680  AppDrive: 0  SysDrive: 0
[2824:1078][2016-07-26T11:11:54]i000: MUX:  Return Code:0x80070643 Msi Messages:There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.   Result Detail:0 Restart:None
[2824:1078][2016-07-26T11:11:54]i000: MUX:  Set Result: Return Code=-2147023293 (0x80070643), Error Message=There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.  , Result Detail=, Vital=True, Package Action=Install, Package Id=vs_teamExplorerCore
[2824:1078][2016-07-26T11:11:54]i000: Setting string variable 'BundleResult' to value '1603'
[2824:1078][2016-07-26T11:11:54]i319: Applied execute package: vs_teamExplorerCore, result: 0x80070643, restart: None
[2824:1078][2016-07-26T11:11:54]e000: Error 0x80070643: Failed to execute MSI package.
[2824:1078][2016-07-26T11:11:54]i000: MUX:  ExecutePackageBegin PackageId: vs_teamExplorerCore
[281C:2810][2016-07-26T11:11:54]i318: Skipped rollback of package: vs_teamExplorerCore, action: Uninstall, already: Absent
[2824:1078][2016-07-26T11:11:54]i000: MUX:  Installation size in bytes for package: vs_teamExplorerCore MaxAppDrive: 0  MaxSysDrive: 0  AppDrive: 0  SysDrive: 0
[2824:1078][2016-07-26T11:11:54]i000: MUX:  Return Code:0x0 Msi Messages:There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.   Result Detail:0 Restart:None
[2824:1078][2016-07-26T11:11:54]i000: MUX:  Reset execution Result
[2824:1078][2016-07-26T11:11:54]i000: MUX:  Reset Result
[2824:1078][2016-07-26T11:11:54]i000: Setting string variable 'BundleResult' to value '1603'
[2824:1078][2016-07-26T11:11:54]i319: Applied rollback package: vs_teamExplorerCore, result: 0x0, restart: None
[281C:2810][2016-07-26T11:11:54]i351: Removing cached package: vs_teamExplorerCore, from path: C:\ProgramData\Package Cache\{7932CD6F-86D3-3EE4-8A02-B954404D1FFC}v14.95.25118\
[281C:2810][2016-07-26T11:11:54]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{04fa3a35-1f49-4510-8051-819cdc1e6e01}, resume: ARP, restart: None, disable resume: No
[281C:2810][2016-07-26T11:11:54]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{04fa3a35-1f49-4510-8051-819cdc1e6e01}, resume: ARP, restart initiated: No, disable resume: No
[2824:1078][2016-07-26T11:11:54]i000: MUX:  Apply Complete: Disk Space Used in bytes for Installation:  MaxAppDrive: 0  MaxSysDrive: 5634158592  AppDrive: 0  SysDrive: 5379719168
[2824:1078][2016-07-26T11:11:54]i000: MUX:  Free Disk Space after install:  SystemDrive C:\ 3702128640 bytes  AppDrive C:\ 3702128640 bytes
[2824:1078][2016-07-26T11:11:54]i000: MUX:  Go to Finished page.
[2824:1078][2016-07-26T11:11:54]i000: MUX:  Watson Bucketting Parameters
[2824:1078][2016-07-26T11:11:54]i000: MUX:  P1 - vs_community
[2824:1078][2016-07-26T11:11:54]i000: MUX:  P2 - 14.0.25123.00.00
[2824:1078][2016-07-26T11:11:54]i000: MUX:  P3 - 14.0.25123
[2824:1078][2016-07-26T11:11:54]i000: MUX:  P4 - Install
[2824:1078][2016-07-26T11:11:54]i000: MUX:  P5 - vs_teamExplorerCore
[2824:1078][2016-07-26T11:11:54]i000: MUX:  P6 - Install
[2824:1078][2016-07-26T11:11:54]i000: MUX:  P7 - 0x80070643
[2824:1078][2016-07-26T11:11:54]i000: MUX:  P8 - There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor.  
[2824:1078][2016-07-26T11:11:54]i000: MUX:  P9 - 
[2824:1078][2016-07-26T11:11:54]i399: Apply complete, result: 0x80070643, restart: None, ba requested restart:  No

【问题讨论】:

  • 好像无法连接Nuget下载相关包。您的开发环境中有什么东西会阻止连接工作吗?例如,它是否被防火墙阻止?
  • 重新下载安装程序并重新运行
  • @kurakura88 好吧,我当然试过了。刚刚更新了关于我尝试过的问题。
  • @Delosdos 嗯,我无法想象它是防火墙。自从我第一次安装 VS 2015 以来,我没有进行任何更改,当然工作正常,直到我尝试升级到更新 3。
  • 很抱歉帮不上什么忙,您是否也在中间重新启动过?

标签: windows visual-studio-2015 installation


【解决方案1】:

错误信息与此类似:Multiple Errors Installing Visual Studio 2015 Community Edition

TimVdG:可再发行安装程序搞砸了,它混淆了 64 位和 32 位 dll。您可以通过查看 vcruntime140.dll 文件大小来检查您是否有此问题。在您的 Windows 文件夹中搜索“vcruntime140”,您应该会看到 4 个文件(在发布和调试版本中都是 64 位和 32 位)。如果任何文件的大小相同,则需要对可再发行文件进行修复。

【讨论】:

  • 嗨@Sara,感谢您的回复。我已经尝试过修复可分发文件,甚至卸载它们。 :(
  • 您好 Niklas,您是否尝试过上面链接中的其他解决方案,说实话,Ezh 的博客中提到的 Process Monitor 工具有助于找到详细的错误信息,但有点复杂。同时,你可以看看这个:stackoverflow.com/questions/34889317/…,卸载VS时,请删除或删除相关文件夹和注册表项。
猜你喜欢
  • 2017-03-07
  • 1970-01-01
  • 1970-01-01
  • 2015-10-10
  • 2016-07-29
  • 1970-01-01
  • 1970-01-01
  • 2015-10-28
相关资源
最近更新 更多