Loading
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?

Loading
Environment variables in a registry key