Showing results for 
Show  only  | Search instead for 
Did you mean: 
Level 2

Environment variables in a registry key

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?
Labels (1)
0 Kudos
(1) Reply
Level 4

You can try setting the INSTALLDIR property in general information view accordingly.
0 Kudos