Trouble with CMDLINE and spaces in parameters
Posted: Thu Nov 20, 2008 3:39 pm
Hello,
I've build a compressed .exe installer and I've wrapped it in a group policy MSI. I need to pass values in from the MSI on the command line to the exe, such as $TARGETDIR$. I know I can set CMDLINE to contain these parameters, but I can't make it work when the parameter values have spaces.
In this thread (http://www.installaware.com/forum/viewt ... dline#4302) it looks like I should use:
setup.msi CMDLINE='"PARAM1=pre post"' but in this case I just get a windows installer dialog popping up that tells me what the command line options are for msiexec. It clearly doesn't like parsing my line.
Any advice on how to properly pass parameters in CMDLINE with spaces in the values would be extremely helpful
Thanks
Zvi
I've build a compressed .exe installer and I've wrapped it in a group policy MSI. I need to pass values in from the MSI on the command line to the exe, such as $TARGETDIR$. I know I can set CMDLINE to contain these parameters, but I can't make it work when the parameter values have spaces.
In this thread (http://www.installaware.com/forum/viewt ... dline#4302) it looks like I should use:
setup.msi CMDLINE='"PARAM1=pre post"' but in this case I just get a windows installer dialog popping up that tells me what the command line options are for msiexec. It clearly doesn't like parsing my line.
Any advice on how to properly pass parameters in CMDLINE with spaces in the values would be extremely helpful
Thanks
Zvi