Hello everybody!
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.
Thanks !!!
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Command line parameters
Started by
nelly
, Oct 14 2004 13:58
4 replies to this topic
Posted 14 October 2004 - 17:42
Any custom cammand line parameters can be found in system variable CMDLINE. You can't get the built in parameters this way.
Stefan Krüger
InstallSite.org twitter facebook
Posted 18 October 2004 - 11:06
Any custom parameter can be found in CMDLINE, that is given before using the built-in parameters!
So if you use built-in parameters like -f1, -d or ... be sure to place your custom parameters first.
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.
Gruß / regards
Thomas
Thomas
Posted 20 October 2004 - 10:36
Thanks for replying, but can you please explain more about custom and built in parameters.
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?
Thanks again!
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?
Thanks again!
Posted 21 October 2004 - 08:43
Look into the help file and get the CMDLINE help, there is a link to a page that describes all the built-in setup parameters.
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.
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.
Gruß / regards
Thomas
Thomas