I'm working with Visual Studio 2010, .NET4 C# and my solution has a setup project.
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).
How can I access this string inside the code?
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.