Page 1 of 1

RunTimeExecute - Variables question

Posted: Mon Jan 09, 2006 1:53 am
by stevew
In the manual for Plug-In Development, Run-Time Exports, there is a section Variables under RunTimeExecute.


Variables

This parameter contains the names and values of all variables used in the setup script as a comma delimited string list of the form <variable name>,<variable value>,...,<variable name>,<variable value>. If a variable name or value contains embedded spaces, the entire value will be enclosed in double quotes.



Is it true that the Variables format follows the COMMATEXT convention? (This COMMATEXT convention is the last help page under Win32DLL.)

If yes, then is it true that all fields have double quotes? Will you ever pass a string like this?:

"Stri,ng 1","Stri""ng 2","String 3","","String5",String6

Notice the String6 element at the end.

Thanks for this clarification ...

Posted: Mon Jan 09, 2006 8:41 am
by MichaelNesmith
Hi Steve!

Thanks for this question. You may - or may not - enclose all strings in double quotes, its up to you. If a value does not contain spaces, it does not need to be enclosed in double quotes...but to make programmatic creation simpler, if you do enclose it in double quotes, it will still work.

Let me know if this answers your question!