title: How to get installation path from setup project
body: <p>I'm working with Visual Studio 2010, .NET4 C# and my solution has a setup project. </p>
  
  <p>As you probably know, the installation path of the program can be found in the properties of the application folder inside the File System Editor (DefaultLocation property). </p>
  
  <p>How can I access this string inside the code?</p>
  
  <p>My goal: I've got an installer class which defines actions to be done after installation. I want to take the path and add it to the registry as a startup program.</p>