GSIJoe
7th May 2009, 18:59
I'd like to set the environment variable "MYVAR" to the correct new value, however the documentation suggests that I must know what it was set to in order to remove it. In my case, I don't really care what it was or even if it existed, I simply want "MYVAR" to be "MYSTRING" when I am done. I most definitely don't want it to be "OLDRANDUMSTUFMYSTRING"
The example below from the manual suggests that I must add additional entries for MyApp-V0.99 V0.98 etc.
${EnvVarUpdate} $0 "PATH" "R" "HKLM" "C:\Program Files\MyApp-v1.0" ; Remove path of old rev
What am I missing?
-Joe
The example below from the manual suggests that I must add additional entries for MyApp-V0.99 V0.98 etc.
${EnvVarUpdate} $0 "PATH" "R" "HKLM" "C:\Program Files\MyApp-v1.0" ; Remove path of old rev
What am I missing?
-Joe