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
- :
- Installdir to registry?
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
‎Sep 13, 2007
09:38 AM
Installdir to registry?
Greetings,
I've got an InstallScript project, and I try to write some information to the registry - Install directory, User name, and Company.
In the Registry view:
I've tried to add string values and given them data such as [INSTALLDIR].
I was under the impression that this would read the INSTALLDIR property and write the value returned by the INSTALLDIR property to the registry. Instead it writes: "[INSTALLDIR]" to the registry. Not really what I want...
And how do I get the name and company the user enters in the user info dialog?
Thanks,
Nick
I've got an InstallScript project, and I try to write some information to the registry - Install directory, User name, and Company.
In the Registry view:
I've tried to add string values and given them data such as [INSTALLDIR].
I was under the impression that this would read the INSTALLDIR property and write the value returned by the INSTALLDIR property to the registry. Instead it writes: "[INSTALLDIR]" to the registry. Not really what I want...
And how do I get the name and company the user enters in the user info dialog?
Thanks,
Nick
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 13, 2007
09:49 AM
For InstallScript projects, perhaps try for the destination path.
Note that there are only a few predefined values that will be expanded; to define your own substitution values, perhaps see the TextSubSetValue function.
Note that there are only a few predefined
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 13, 2007
10:15 AM
Thanks, that worked for the installation path.
I'll have a look at the TextSubSetValue function, and hopefully I'll be able to extract the user info as well.
Thanks.
I'll have a look at the TextSubSetValue function, and hopefully I'll be able to extract the user info as well.
Thanks.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 14, 2007
02:33 AM
Thanks Robert,
The TextSubSetValue function worked beautifully. 🙂
Cheers,
Nick
The TextSubSetValue function worked beautifully. 🙂
Cheers,
Nick
![](/skins/images/3B39CE851FDD5528C393F146EB70A2D0/responsive_peak/images/icon_anonymous_message.png)