title: Programmatically retrieve Visual Studio install directory
body: <p>I know there is a registry key indicating the install directory, but I don't remember what it is off-hand.</p>
  
  <p>I am currently interested in Visual&nbsp;Studio&nbsp;2008 install directory, though it wouldn't hurt to list others for future reference.</p>