问题描述
我在安装带有更新 1 的 Visual Studio 2015 时遇到了同样的问题.它在 Team Explorer 安装中失败,据我所知是由这个问题中概述的相同错误引起的(安装 Visual Studio 2015 社区版时出现多个错误).我已经尝试了该问题的答案中解释的步骤,包括俄语的答案.但是,安装仍然在同一点失败.我现在不知所措,没有想法可以尝试.
I am having the same problem everyone else is when installing Visual Studio 2015 with Update 1. It is failing on the Team Explorer install and as far as I can tell it is being caused by the same error outlined in this question (Multiple Errors Installing Visual Studio 2015 Community Edition). I have tried the steps explained in the answers to that question, including the answer that is in Russian. However, the installation is still failing at the same point. I am at my wits end now and out of ideas to try.
有人可以帮忙吗?
推荐答案
好吧,我最终与 microsoft 建立了一个技术支持案例来解决我的问题.他们在我的日志文件中发现了以下问题:
Well I ended up opening a technical support case with microsoft to resolve my issue. They found the issue below in my log files:
在 VS 2015 安装期间,有几个 VSIX 包通过自定义操作安装.例如:TeamExplorer.vsix 是通过自定义操作执行,TeamExplorer.vsix 包安装团队资源管理器二进制文件
我们发现所有 VSIX 包都无法安装.结果,VS无法安装.根据捆绑日志:
we found that all the VSIX packages fail to install. As a result, VS fails to install. According to the bundle log:
[2284:0D4C][2016-01-20T12:53:42]i301:应用执行包:nugetvs,操作:安装,路径:C:ProgramDataPackage缓存{4BE72B6B-1E33-3D51-82CE-AE9702AA2664}v3.3.0.167packagesWPTNuGetVisualStudio14.msi,参数:'ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"'[29A0:2B30][2016-01-20T12:54:11]i000:MUX:执行错误:包(nugetvs) 失败:错误消息 ID:1722 错误消息:有一个此 Windows 安装程序包的问题.作为一部分运行的程序设置没有按预期完成.联系您的支持人员或包供应商.[2284:0D4C][2016-01-20T12:54:12]e000:错误0x80070643:无法安装 MSI 包.[2284:0D4C][2016-01-20T12:54:12]e000:错误 0x80070643:未能执行 MSI 包.[29A0:2B30][2016-01-20T12:54:12]e000:错误0x80070643:无法配置每台机器的 MSI 包.
[2284:0D4C][2016-01-20T12:53:42]i301: Applying execute package: nugetvs, action: Install, path: C:ProgramDataPackage Cache{4BE72B6B-1E33-3D51-82CE-AE9702AA2664}v3.3.0.167packagesWPTNuGetVisualStudio14.msi, arguments: ' ARPSYSTEMCOMPONENT="1" MSIFASTINSTALL="7"' [29A0:2B30][2016-01-20T12:54:11]i000: MUX: ExecuteError: Package (nugetvs) 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. [2284:0D4C][2016-01-20T12:54:12]e000: Error 0x80070643: Failed to install MSI package. [2284:0D4C][2016-01-20T12:54:12]e000: Error 0x80070643: Failed to execute MSI package. [29A0:2B30][2016-01-20T12:54:12]e000: Error 0x80070643: Failed to configure per-machine MSI package.
根据 VSIX 日志,我们发现大多数 VSIX 的堆栈如下包失败(例如VSIXInstaller_43a2c244-da76-4e26-b086-0341b7e77c1f.log ):
As per the VSIX logs, we found the below stack for most the of VSIX packages failure (for example VSIXInstaller_43a2c244-da76-4e26-b086-0341b7e77c1f.log ):
System.MissingMethodException: 方法未找到:'System.Collections.Generic.IEnumerable`1Microsoft.VisualStudio.ExtensionManager.IInstallableExtension.get_InvalidCertificateInformation()'.在 VSIXInstaller.App.LogSignatureDetails(IExtension 扩展) 在VSIXInstaller.App.LogExtensionDetails(IExtension 扩展)在VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported) 在VSIXInstaller.App.OnStartup(StartupEventArgs e)
System.MissingMethodException: Method not found: 'System.Collections.Generic.IEnumerable`1 Microsoft.VisualStudio.ExtensionManager.IInstallableExtension.get_InvalidCertificateInformation()'. at VSIXInstaller.App.LogSignatureDetails(IExtension extension) at VSIXInstaller.App.LogExtensionDetails(IExtension extension) at VSIXInstaller.App.InitializeInstall(Boolean isRepairSupported) at VSIXInstaller.App.OnStartup(StartupEventArgs e)
我们发现了一个类似的错误 177561:Slipstream build failed to patch (RTM)已经由另一个(较小的)包安装的 MSI,并且它是仍处于活动状态.我会与我的高效团队核对并获得回复你.
如您所见,这是 Microsoft 的一个已知问题.我征求了其他建议来安装它,支持代表要求我使用 非更新 1 版本的 VS Enterprise 2015 进行全新安装.我按照以下说明执行全新安装,并且成功了.
As you can see, this is a known issue with Microsoft. I asked for alternate suggestions to get this installed and the support rep asked me to do a clean install with the non-update 1 version of VS Enterprise 2015. I follow the instructions below to perform a clean install and it worked.
- 从程序和功能中卸载 Visual Studio 2015 Enterprise
- 我还卸载了 2015 C++ 运行时和 Entity Framework 2015 库
- C:Program Files (x86)Microsoft Visual Studio 14.0
- C:Program FilesMicrosoft Visual Studio 14.0
- C:users用户DocumentsVisual Studio 2015
- C:usersuserAppDataRoamingMicrosoftVisualStudio14.0
- C:usersuserAppDataLocalMicrosoftVisualStudio14.0
- C:usersuserAppDataLocalMicrosoftVSCommon14.0
- C:Program Files (x86)Microsoft Visual Studio 14.0
- C:Program FilesMicrosoft Visual Studio 14.0
- C:usersuserDocumentsVisual Studio 2015
- C:usersuserAppDataRoamingMicrosoftVisualStudio14.0
- C:usersuserAppDataLocalMicrosoftVisualStudio14.0
- C:usersuserAppDataLocalMicrosoftVSCommon14.0
- HKEY_LOCAL_MACHINESOFTWAREWow6432NodeMicrosoftVisualStudio14.0
- HKEY_LOCAL_MACHINESOFTWAREMicrosoftVisualStudio14.0
- HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio14.0
- HKEY_CURRENT_USERSoftwareMicrosoftVisualStudio14.0_Config
还有…… tada,终于安装成功了!我希望这可以帮助其他遇到类似问题但无法通过单独修复 C++ 运行时解决的问题.
And... tada, the installation was finally successful! I hope this helps others that have a similar issue that isn't resolved by repairing the C++ runtimes alone.
成功安装 RTM 后,我就能够运行 Update 1 安装程序并成功更新.从那时起,我也安装了 Update 2,没有出现任何问题.
Once RTM was installed successfully I was able to run the Update 1 installer and update successfully. Since then, I have also installed Update 2 with no issues.
这篇关于使用 Team Explorer 安装 Visual Studio 2015 Enterprise Update 1 时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!