Error Installing Visual Studio 2015 Enterprise Update 1 with Team Explorer

Well I ended up opening a technical support case with microsoft to resolve my issue. They found the issue below in my log files:

The actual problem

During the VS 2015 install, there are couple of VSIX packages
installed via custom action. For example: TeamExplorer.vsix is
executed via custom action and TeamExplorer.vsix package installs the
Team Explorer binaries

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: Applying execute package:
nugetvs, action: Install, path: C:\ProgramData\Package
Cache{4BE72B6B-1E33-3D51-82CE-AE9702AA2664}v3.3.0.167\packages\WPT\NuGetVisualStudio14.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.

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: 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)

we found a similar Bug 177561:Slipstream build fails to patch (RTM)
MSIs that are already installed by another (smaller) bundle and it’s
still in active state. I’ll check with my productive group and get
back to you.

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.

The actual solution

  1. Uninstall Visual Studio 2015 Enterprise from Programs and Features
    • I also uninstalled the 2015 C++ runtimes and Entity Framework 2015 libraries as well
  2. Reboot machine if prompted
  3. Rename or delete folders-
    • C:\Program Files (x86)\Microsoft Visual Studio 14.0
    • C:\Program Files\Microsoft Visual Studio 14.0
    • C:\users\user\Documents\Visual Studio 2015
    • C:\users\user\AppData\Roaming\Microsoft\VisualStudio\14.0
    • C:\users\user\AppData\Local\Microsoft\VisualStudio\14.0
    • C:\users\user\AppData\Local\Microsoft\VSCommon\14.0
  4. Go to the registry editor (start >> run >> regedit) and remove/rename the following registries-
    • HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0
    • HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0
    • HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0
    • HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config
  5. close all your Visual Studio instances
  6. download Visual Studio 2015 Enterprise RTM not update 1
  7. Extract the .iso file by using an extraction tool, such as WinRar.
  8. Clear %temp% before going to start Visual Studio 2015 installation
  9. Install Visual Studio 2015 using this extracted setup installer

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.

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.

Leave a Comment