Page 1 of 1

Custom command line

Posted: Sat Jun 23, 2007 4:44 am
by ddebono
Hi,

I want to be able to give the setup some custom command line parameters like:

setup.exe /LICENSE:64344554

Also want to be able to set the silent installation using script in the code.

How can I do this in the setup ?

David

Posted: Sat Jun 23, 2007 10:13 am
by Edhy
Hi,

You can pass variables to your setup.exe like this:

Code: Select all

setup.exe /s MYLICENSENO=$UseAVariableNameHere$


In the above example your setup.exe should have a variable name MYLICENSENO and the calling script where you are executing setup.exe wll pass the value you want to use in MYLICENSENO.

Hope this help!