Page 1 of 1

Command line parameters with spaces not working in IA 6?

Posted: Tue Jun 27, 2006 11:56 am
by Paul Guthrie
Hi,

In IA 5 i was able to pass parameters with spaces to an MSI script as follows:

mymsi.MSI CMDLINE='/s site="ABC Corporation"'

(I.e. parameters with spaces enclosed within double quotations, and the complete CMDLINE parameter enclosed within single quotes.)

The MSI was created using Group Policy Wizard.

In IA 6 it no longer accepts the format above (the script starts up in non-silent mode.)

How can I pass parameters with spaces?

thanks,
Paul G

Posted: Tue Jun 27, 2006 5:43 pm
by MichaelNesmith
Shouldn't be a problem - AFAIK, nothing has changed in this area.
Does this happen only with the Group Policy MSIs, or also other builds?

Also, you should use this format for the content of CMDLINE itself: /s "site=ABC Corp"

Try adding a MessageBox to the first line of your setup and print out $CMDLINE$ to see what it comes up with.