PDA

View Full Version : Variables in Environment Variable Editing



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

linder
09-12-2014, 01:29 AM
Kyle,

We'll check this and get back to you!

Thanks,
Friedrich

linder
09-12-2014, 02:42 AM
Kyle,

We have added the following "change" to the installer runtime:

CHANGE : [SB#4-09111] Installer: The "Environment Variable" field in the "Edit Compiler Variable" script function can resolve runtime variables.

Friedrich

Smurfer
09-12-2014, 06:27 AM
Awesome!, thank you very much!

linder
09-12-2014, 08:19 AM
You are very welcome :)

BTW, do have a specific deadline to meet?

Friedrich

Smurfer
09-12-2014, 08:30 AM
Yes, End of next week.

Though this is the last part of it, I was going to do a powershell based thing until the SB update was released, but haven't gotten around to it yet.

linder
09-12-2014, 08:36 AM
Absolutely no problem. I can upload an internal SB release for you, containing this change, on next Monday. Would this be early enough for you?

Friedrich

Smurfer
09-12-2014, 08:38 AM
That would be wonderful!

I really appreciate the customer care, attention to detail and personal service you offer!

linder
09-12-2014, 08:39 AM
Thank YOU :)

Have a great weekend.

Friedrich

linder
09-15-2014, 09:54 AM
Kyle,

we have uploaded an internal SB release (link is valid for 48 hours):

http://www.lindersoft.com/sb8/sb81_4542_Dev.exe

Please use your SB8 login.

Does it work now?

Thanks,
Friedrich

Smurfer
09-15-2014, 10:21 AM
Works perfectly!!
thank you

linder
09-15-2014, 10:26 AM
Thanks for the good news!!! :)

Friedrich