Mohamed Yasir
Mohamed Yasir

Reputation: 1

How to find VS 15 Preview 5 is installed or not by checking registry?

How to find whether Visual Studio 15 preview 5 is installed or not by checking registry entry?

Note: In VS 2015 installed machine, I have found out below registry for checking whether VS 2015 is installed or not.

Registry Location : HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\14.0

Key Value: InstallDir

Could you please share how to get the install location for VS15 preview 5 from registry location or by programatically?

Upvotes: 0

Views: 264

Answers (1)

Jimmy
Jimmy

Reputation: 28396

Visual Studio "15" will no longer be registered in the machine registry hive. Mostly this is because VS "15" will allow you to install multiple instances on your machine; the registry would only be able to point to one of them using the previous schema.

Instead, there is a new API available to query the install status. See this blog post for a description of the changes, and it links to this GitHub repo for samples of how to use the new package.

Upvotes: 1

Related Questions