0

I can retrieve the VS installed location till VS2015 from this Registry key "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\{Version}".

For Ex: HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\VisualStudio\12.0

But there is no registry entry like this for VS2017. So how can i retrieve the installed location for VS2017 from registry ?

hollopost
  • 569
  • 9
  • 28
Kathir Subramaniam
  • 1,195
  • 1
  • 13
  • 27
  • 2
    See also "[Programmatically finding the VS2017 installation directory](https://stackoverflow.com/q/41106407/1364007)" which offers more suggestions. – Wai Ha Lee May 24 '18 at 16:16

1 Answers1

0

Due to the design changes in VS2017, you can only use official tools such as vswhere to locate the folder.

Lex Li
  • 60,503
  • 9
  • 116
  • 147