Command line parameters with spaces not working in IA 6?

Got a problem you cannot solve? Try here.
Paul Guthrie
Posts: 17
Joined: Thu May 04, 2006 10:06 am
Contact:

Command line parameters with spaces not working in IA 6?

Postby Paul Guthrie » Tue Jun 27, 2006 11:56 am

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

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

Postby MichaelNesmith » Tue Jun 27, 2006 5:43 pm

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


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 258 guests