Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can't install VS2015 Pro - Installer thinks 2015 Enterprise is already installed

This image pretty much sums up my problem:

Can't install visual studio

I don't have Visual Studio Enterprise 2015 installed. I did have a prerelease version installed - which I have since uninstalled.

Things I've tried that didn't help:

  • vs_enterprise.exe /Uninstall /Force
  • Re-installing the Enterprise RC and uninstalling it.
  • Installing the release version of 2015 Enterprise (tells me there's a preview version I need to uninstall)
  • Manually deleting all references to Visual Studio 2015 and Visual Studio 14.0 from the registry
  • Pulling out all of my hair

VS 2015 does not exist in my "Programs and Features" and the files don't exist on my disk.

I also have VS 2013 installed which works fine, but I'd like to upgrade to the latest version and currently that is proving quite difficult.

Any suggestions would be greatly appreciated.

like image 904
Maverick Avatar asked Jul 27 '15 05:07

Maverick


People also ask

Why is Visual Studio installer not installing?

Deleting the Visual Studio Installer files and then rerunning the bootstrapper solves some update failures. Performing the following actions reinstalls the Visual Studio Installer files and resets the installation metadata. Close the Visual Studio Installer. Delete the Visual Studio Installer installation directory.

How do I completely reinstall Visual Studio?

If you change your mind later and want to reinstall Visual Studio 2019, start the Visual Studio Installer again, choose the Available tab, choose the edition of Visual Studio that you want to install, and then select Install.

Can I uninstall Visual Studio Installer?

In the installer, find the version of Visual Studio that you want to uninstall. Click on More, then choose Uninstall. Click the OK button to start the uninstall process. Wait for the uninstaller tool to remove Visual Studio from your computer.


1 Answers

Check registry for this key "SOFTWARE\Microsoft\DevDiv\vs\Servicing\12.0
then choose the installed version then edition you want to remove..example:
SOFTWARE\Microsoft\DevDiv\vs\Servicing\15.0\enterprise
and remove it!
Edit: This is the path that used to detect VS according to Microsoft official website https://msdn.microsoft.com/en-us/library/bb164659.aspx

like image 107
Obadah Hammoud Avatar answered Sep 30 '22 04:09

Obadah Hammoud