RunTimeExecute - Variables question

Interested in developing new plug-ins? Got one to share? Post here!
stevew
Posts: 78
Joined: Tue Dec 06, 2005 2:01 am

RunTimeExecute - Variables question

Postby stevew » Mon Jan 09, 2006 1:53 am

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 ...

MichaelNesmith
Posts: 3452
Joined: Thu Dec 22, 2005 7:17 pm
Contact:

Postby MichaelNesmith » Mon Jan 09, 2006 8:41 am

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!
Michael Nesmith
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/


Return to “Plug-In Development”

Who is online

Users browsing this forum: No registered users and 41 guests