Page 1 of 1

List of command line options?

Posted: Mon Dec 15, 2008 10:48 am
by Creslin
Hello Everyone,

I am attempting to prepare an installer executable that was created using InstallAware (by a third party) for deployment to our enterprise. To do this, I must ensure that the application can install silently, write a log file, and NEVER reboot.

I already figured out the "/s" and "/l=<file>" switches to make the application install silently and write a log file. However, I am having difficulty finding a way to ensure that the application will NOT reboot when it is done installing.

Is there a command line I can specify analogous to setting the MSI property REBOOT=REALLYSUPPRESS?

In addition, it would be very useful to us if there was a document or web page with a list of all the command line options you can pass to an InstallAware generated EXE at install time. Does such a document exist? If so, where can I find it?

Posted: Tue Dec 16, 2008 2:23 am
by ulrichard
Hi Creslin,

below is what the help file says. (I hope it's ok with the InstallAware people to post that here)

There is a lot of custom behavior that can be coded in the script, and customized by setting the values of custom script variables from the command line.

I'm not aware of a standard feature to prevent rebooting, but it could certainly be implemented in the script. Similar to the solution mentioned in the following post:
http://www.installaware.com/forum/viewtopic.php?t=4170

But as you received the installation from someone else, the developers of the installation would have to prepare that for you.

Rgds
Richard


Setup Command Line Parameters

Every InstallAware setup supports command line parameters for silent and logged installs. In addition, you may also set/override the values of variables used in your installation from the command line.

You may freely combine all of the parameters displayed below. See uninstalling from the command line for an example.

Silent Installs

With the silent install command line parameter set, the entire installation will execute silently, without a user interface, or any user intervention. When input is required on dialog boxes, the default values of dialog controls will be used.

<setup> /sIn the above example, setup.exe denotes the main setup executable.

Logged Installs

If the logging command line parameter is set, the installation will keep a verbose log of all the internal installation variables, as well as Windows Installer's own installation log. Be aware that logging significantly decreases the runtime speeds of an installation.

<setup> /l=<logfile>In the above example, setup.exe denotes the main setup executable, and logfile.ext is the full path to the desired log file.

Specifying a Setup Password

You may specify the password for encrypted setups on the command line. This will prevent displaying the password prompt box and attempt to use the password indicated on the command line. This option is most useful when used in conjunction with silent installations, since silent installations cannot prompt for a setup password.

<setup> /k=<password>In the above example, setup.exe denotes the main setup executable, and password is the setup password.

Specifying Original Setup Sources for Patching

To make sure the setup program does not prompt for the location of the original setup sources during a patch operation, you may use the patch source command line parameter.

<setup> /p=<original>\\dataIn the above example, setup.exe denotes the main setup executable, and original setup sources is the full path to the folder containing the original setup sources. Be sure to specify the data subfolder inside the original setup source folder (the data subfolder exists in all InstallAware setups built in uncompressed mode). For more information, see Patch Source Resolution.

Setting Variable Values

To set the values of setup variables from the command line, possibly overriding their default values in the process, specify the variables and their values as follows:

<setup> <VARIABLE_1>=<VALUE_1> [ ... <VARIABLE_N>=<VALUE_N>]In the above example, setup.exe denotes the main setup executable, VARIABLE_1 is the name of a variable to set, and VALUE_1 provides the value the variable is set to receive. You may set values for an arbitrary number of variables from the command line.

Similar to the above example, to perform an advertised install of a product, the following command line could be used:

<setup> ADVERTISE=TRUE

Posted: Tue Dec 16, 2008 9:37 am
by Creslin
Hmmm...ok. Thanks ulrichard, is definitely helpful! Hopefully an InstallAware agent will post here and let us know if there is any way to suppress a reboot.

Re: List of command line options?

Posted: Tue Jul 27, 2021 4:27 pm
by FrancescoT
That's correct.

REBOOTNOW: Initially OK. When setup is running in silent mode, automatically reboots the computer as necessary to pass through pre-requisite installations that may require reboots. Change the default value to prevent automatic reboots in silent mode.

https://www.installaware.com/mh52/desktop/predefinedvariables.htm?rhsearch=REBOOTNOW&rhsyns=%20