Smurfer
09-11-2014, 12:42 PM
Hello, I have been working on an installer where I will need to dynamically set environment variable names along with their values.
I have noticed an issue with using the 'Edit Environment Variable' command. In the 'Variable' field when I try using a variable (%ENV_VAR%) that was set earlier, it uses the literal '%ENV_VAR%' as the variable name!
I have noticed you can read an environment variable without issue when you define the variable name with an variable.
I have tried giving it double and single quotes, extra percent signs.. none of that seems to change it from taking the exact characters in that field.
Please see my attachment for more info
Thanks
-Kyle
I have noticed an issue with using the 'Edit Environment Variable' command. In the 'Variable' field when I try using a variable (%ENV_VAR%) that was set earlier, it uses the literal '%ENV_VAR%' as the variable name!
I have noticed you can read an environment variable without issue when you define the variable name with an variable.
I have tried giving it double and single quotes, extra percent signs.. none of that seems to change it from taking the exact characters in that field.
Please see my attachment for more info
Thanks
-Kyle