Command line parameters
Posted 14 October 2004 - 13:58
My question is about Command line setup engine, like setup.exe -d.
How can I now, what parametr is transfered by command line?
Maybe, it's a silly question, but I can't find the answear to it.
Posted 14 October 2004 - 17:42
Posted 18 October 2004 - 11:06
So if you use built-in parameters like -f1, -d or ... be sure to place your custom parameters first.
Edited by Perotin, 18 October 2004 - 11:07.
Posted 20 October 2004 - 10:36
I need to use only -d parametr, but I need to know that this parametr was inserted, that is why I want to know, is there another system variable or something else that has the informatin about buil in parameters from command line?
Or better, Is there a possibility to use built in parameter like -d with custom parameter together?
Posted 21 October 2004 - 08:43
As you will see -d is a built-in parameter.
So you will not find it in CMDLINE ...
If the user runs "setup -d" you cannot trigger this.
As long as you don't provide a setup.dbg file, he cannot use it anyway ...
And generally, you can use nearly every word as a custom parameter, as long as it doesn't overwrite a built-in one (see online help for the parameters used by InstallShield). As long as you add them to the command line before using the built-inones, you can find them in the system variable CMDLINE and use them in install script.