Programmatically finding the VS2017 installation directory
<p>With previous versions of VS you could query the registry to determine the installation directory for VS:</p>

<blockquote>
  <p>HKLM\SOFTWARE\Wow6432Node\Microsoft\VisualStudio\14.0</p>
</blockquote>

<p>However, this doesn't seem to work with the VS2017 RC. We have scripts that detect the latest installed VS and then do "the right thing", and so far I'm having issues plugging VS2017 into those systems.</p>

<p>Does anyone know how to programmatically determine the installation location for VS2017?</p>