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: Using paths in Registry entries
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 31, 2009
05:13 AM
Using paths in Registry entries
Hi,
I've imported a regfile for some components that we install and this works fine until the application is not installed into the default path. Is there a way to use paths like ProgramFilesFolder in the registry entries when using an installscript project?
Thanks
Russell
I've imported a regfile for some components that we install and this works fine until the application is not installed into the default path. Is there a way to use paths like ProgramFilesFolder in the registry entries when using an installscript project?
Thanks
Russell
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 31, 2009
09:00 AM
In InstallScript you can use the System Variables to use the system defined folders. For example if you want to use the ProgramFilesFolder there is a variable called PROGRAMFILES (refers to C:\Program Files). When you create the registry entry also you can use this system variable and append the strings thereafter. Did I answer your question?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 31, 2009
11:14 AM
I'm not quite sure what you are suggesting!
I've tried importing the registry key in the registry view and changing the path to something like [PROGRAMFILES] but when i go to the entries in the registry i cannot open the keys (i suspect because [ and ] are not permitted registry characters)
Otherwise I'll have to ship the reg files by themselves and do a search and replace on the files before importing them.
Russell
I've tried importing the registry key in the registry view and changing the path to something like [PROGRAMFILES] but when i go to the entries in the registry i cannot open the keys (i suspect because [ and ] are not permitted registry characters)
Otherwise I'll have to ship the reg files by themselves and do a search and replace on the files before importing them.
Russell
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 31, 2009
12:51 PM
For pure InstallScript, perhaps try angle brackets: and so on.