Enviromental Variables not picked up

nwebsternwebster Posts: 3
edited February 5, 2007 4:47AM in SQL Packager Previous Versions
I am using an Installshield 12 Basic MSI script package to create an environment variable, that is then used a component that's installed as part of the install (a red-gate sql DB creation). In it, we have specified %localdir% as an environment variable for where to create the files. When launched from the installer through, the directory shows up as %localdir% and doesn't read the value in from the environment variable. But when I exit out of the install, and relaunch the included file manually, it DOES pick up the environment variable value, and shows c:\program files\productname\etc...

Do I need to do anything to get the enviroment variable to pick up before attempting to use it?


I've heard that environment variables included in the installation are not available to the running installation process. This apparently has to do with how the OS is refreshed when new information is made available. Anyone know a way around this?

Comments

Sign In or Register to comment.