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 ?