cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
idoyohanan
Level 3

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
Labels (1)
0 Kudos
(2) Replies
Not applicable

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
0 Kudos
idoyohanan
Level 3

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
0 Kudos