PDA

View Full Version : Env var to Path Variable



davedoc
12-15-2005, 08:54 AM
I'm trying to use an environment variable to set a Path Variable in my IS 11.5 installer. I've created both a system and user env var, set the Name and Defined Value to my env var, set the Type to Environment. The Current Value field is not getting populated with the path.

Any ideas what I might be doing wrong.

RobertDickau
12-15-2005, 09:25 AM
In the Type column of the Path Variables list, have you selected "Environment"?

davedoc
12-15-2005, 09:31 AM
Yup, Type is set to Environment.

I had to reboot my computer for another issue. After restarting IS the Current Value field is now populated correctly. I guess the answer was to restart IS :rolleyes:

davedoc
12-15-2005, 09:45 AM
The documentation should be updated to reflect that a restart of IS is needed before this appears.

MichaelU
12-15-2005, 11:12 AM
Had you set this environment variable after starting InstallShield, or was it already set and the only change was to tell InstallShield to refer to it?

davedoc
12-15-2005, 01:13 PM
I believe I added this property after starting IS. I do know that I have to restart IS after changing the property's value. Even when the variable exists before starting.

davedoc
12-28-2005, 12:47 PM
I'm still having issues when changing the value of the env var. Restarting IS doesn't re-read the value. The only way I can get IS to re-read the value when it changes is to restart the whole computer :mad:

Is there some service that I should restart to work around this?