This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Environment variables in a registry key
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 20, 2010
05:09 AM
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?
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?
(1) Reply
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)