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
- :
- Getting environment variable as path variable
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
May 23, 2010
06:08 AM
Getting environment variable as path variable
Hi,
I have a path variable in my installshield that holds the installation folder (called MyInstallationFolder).
I want that variable will take the value from the User environment variable called DevRoot and I want it to be updated before I compile my Installshield project.
Any ideas ?
Thanks, Ido
I have a path variable in my installshield that holds the installation folder (called MyInstallationFolder).
I want that variable will take the value from the User environment variable called DevRoot and I want it to be updated before I compile my Installshield project.
Any ideas ?
Thanks, Ido
(2) Replies

Not applicable
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 23, 2010
11:20 PM
1. Create a “property custom action”
2. In the property name enter your installdir variable e.g INSTALLDIR
3. In the property value filed enter the environment variable name within [%..] e.g [%Env]
4. Schedule this CA before “CostFinalize” action
2. In the property name enter your installdir variable e.g INSTALLDIR
3. In the property value filed enter the environment variable name within [%..] e.g [%Env]
4. Schedule this CA before “CostFinalize” action
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
May 31, 2010
07:44 AM
Hi,
Your reply is talking about setting a property as an environment variable.
suppose the property value is indeed updated, how can I set a path variable value according to a property value ?
I tried with the form of but it doesn't succeed.
thanks, Ido
Your reply is talking about setting a property as an environment variable.
suppose the property value is indeed updated, how can I set a path variable value according to a property value ?
I tried with the form of
thanks, Ido
