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
Command line parameters with spaces not working in IA 6?
-
- Posts: 17
- Joined: Thu May 04, 2006 10:06 am
- Contact:
-
- Posts: 3452
- Joined: Thu Dec 22, 2005 7:17 pm
- Contact:
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.
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/
InstallAware
Home of The Next Generation MSI Installer
Get your free copy today - http://www.installaware.com/
Who is online
Users browsing this forum: No registered users and 177 guests