title: Visual Studio 2010 installation path
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/30504/programmatically-retrieve-visual-studio-install-directory">programmatically retrieve Visual Studio install directory</a>  </p>
  </blockquote>
  
  
  
  <p>I want to get the path of my Visual Studio 2010 installation. I tried to get it from the Windows registry. It works perfectly for specific SKU. For example, Ultimate version of VS2010 uses<code>HKLM\Software\Microsoft\VisualStudio\10.0\Setup\VS</code> key to store the installation path. But the Express version has a different path in the registry.</p>
  
  <p>How I can determine the VS2010 installation path exactly without knowing the SKU?</p>