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 usesHKLM\Software\Microsoft\VisualStudio\10.0\Setup\VS
key to store the installation path. But the Express version has a different path in the registry.
How I can determine the VS2010 installation path exactly without knowing the SKU?