View Full Version : Environment variables in a registry key

03-20-2010, 05:09 AM
During our install I add some files into program files - which in order for our app to work I need to then write the location to in the registry.

Obviously on international systems we cannot rely on it being called "Program files" so what I need to do is reference an environment variable and have it replaced during install

The help seems to indicate #%programfiles% should work but it does not ... does anyone know the correct syntax?

03-22-2010, 06:35 AM
You can try setting the INSTALLDIR property in general information view accordingly.