Error Installing Visual Studio 2015 Enterprise Upd

2019-01-06 14:59发布

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.

Can anyone help?

7条回答
男人必须洒脱
2楼-- · 2019-01-06 15:17

To make it easier, here is a batch file to do the clean up before installing Visual Studio 2015.

@echo.
@echo This will remove all files, directories and registry keys about VISUAL STUDIO 2015
@echo.
@pause

rd "C:\Program Files (x86)\Microsoft Visual Studio 14.0" /S
rd "C:\Program Files\Microsoft Visual Studio 14.0" /S
rd "C:%homepath%\Documents\Visual Studio 2015" /S
rd "C:%homepath%\AppData\Roaming\Microsoft\VisualStudio\14.0" /S
rd "C:%homepath%\AppData\Local\Microsoft\VisualStudio\14.0" /S
rd "C:%homepath%\AppData\Local\Microsoft\VSCommon\14.0" /S

@echo.
@echo Removing Registry Keys
@pause

REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0
REG DELETE HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0
REG DELETE HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0
REG DELETE HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\14.0_Config

@echo.
@echo. FINISHED!
@pause

Just copy and paste it in a .bat files

查看更多
戒情不戒烟
3楼-- · 2019-01-06 15:20

After you've done what Brian Swart has outlined, here's the link to the VS 2015 Community RTM edition iso.

http://download.microsoft.com/download/0/B/C/0BC321A4-013F-479C-84E6-4A2F90B11269/vs2015.com_enu.iso

(I would put this in a comment after quetzalcoatl's Mar 14 comment but I can't comment without 50 reputation. And this entry is admittedly a stupid "answer", which means that I will probably get downvoted and will get no closer to being able to put appropriate text in a comment instead of in answer. Ridiculous system they've got here.)

查看更多
Bombasti
4楼-- · 2019-01-06 15:24

Yes, Brian.

I agree.

The only solution for me was to completely remove EVERY program on my system that had "2015" in its program name (using the terrific Revo Uninstaller and running under "Quick Uninstall" after selecting each program in the listing. That does a "bulk" uninstall so you do not have to do it manually one after the other). This too AGES. (Make sure each program relates to Visual Studio though...all mine did.)

I then went through each step outlined in Brian Stewart's answer on Jan 28th at 19:00. I chose to install EVERYTHING in the Visual Studio installation (may as well just in case of need!) At the end of the install I found I had 77 programs now installed with the number "2015" in the program name.

Note that after the completion of the Install from the downloaded "ISO" (run under "Admin" authority) there was one final re-run of the Install again from the ISO (using "Repair" this time) to finally fix a "NuGet" package failure. After that all was 100% correct. (With no need to re-install the C++ libraries)

I then performed a shutdown and restart and tested Visual Studio, loading a project I had previously created. (If you do not have one, then just try creating a project).

You may get errors associated with settings files missing, such as: Page '3185ed96-1cbd-4381-a439-636973542e50' not found.

You must then exit Visual Studio and perform these commands from a CMD prompt (elevated to Administrator) in order. After each Visual Objects IDE opens up, close it and run the next command.

1.devenv.exe /safemode

2.devenv.exe /resetskippkgs

3.devenv.exe /installvstemplates

4.devenv.exe /resetsettings

5.devenv.exe /resetuserdata

Then perform a final shutdown/start-up and everything should work fine.

So after all this, I finally performed an "image" backup of my whole system so that if needs be I can at least re-install my system with Visual Studio correctly installed.

Brickbats to Microsoft for making installation of Visual Studio so painful. After years of paying good dollars for this great programming environment I was a little annoyed that now it is free to everyone, but I guess Microsoft is making us pay in some way with our patience. LOL :-)

It was a very long and tedious procedure, but everything now installed without error.

Thanks so much to Brian Stewart for pointing us all in the right direction.

查看更多
唯我独甜
5楼-- · 2019-01-06 15:27

I had the same "Team Explorer" error installing Visual Studio 2015 Enterprise Update 2 on a Win 10 (64b Enterprise) PC. Tried a Repair install a few times which did not work. What worked: - uninstalled Visual Studio and all the instances of C++ as well - rebooted and ran the batch file mentioned above - did a custom install. Only the Web Development Tools was installed. It succeeded and opened fine. - did a Modify install and added the SQL data tools. No errors. so far so good ..

查看更多
做个烂人
6楼-- · 2019-01-06 15:29
  1. Before doing the reinstalling stage:

    A.Disable anti-virus or anti-spyware software.

    B. Clear this folder: %windir%\Temp

    and not only the %Temp% folder.

  2. Run the installer as administrator.

  3. Maybe I am wrong? but I have read here that we better also delete this folder: **C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18** before reinstall.

After days of torment, here's the answer: Delete or rename the following folder C:\ProgramData\Microsoft\Crypto\RSA\S-1-5-18\ to something like \backup-S-1-5-18\ ... Windows will re-create the folder with appropriate permissions and the installation will continue without error. Cheers

What do you say?

查看更多
啃猪蹄的小仙女
7楼-- · 2019-01-06 15:33

Success! Easy to try, anyway.

I had similar problems and tried re-installing several times, but no joy. I was looking at installing individual packages from the ISO - not happy at all.

I finally got it to "install" by simply selecting "repair" rather than "uninstall" in control panel / programs. It took quite a while to do the "repair" though. In the end it is installed and working.

This may help some.

查看更多
登录 后发表回答