I am creating a Visual Studio 2008 Setup Wizard for my program
http://support.microsoft.com/kb/307353
I see that it is possible to add registry entries, etc..
Is the
Windows Installer does support environment variables through Environment table, but Visual Studio setup projects do not allow you to use it.
A solution is to use a different setup authoring tool which supports environment variables: http://en.wikipedia.org/wiki/List_of_installation_software
Another solution is to manually add it in Environment table by editing the MSI with Orca.
There's also the custom action approach you mentioned.