The installer's silent mode is intended for use in installing on remote machines. It is also useful in cases when you do not wish the person installing Celtix Advanced Messaging to change any of the installation options. You can customize how Celtix Advanced Messaging is installed by providing an installer properties file specifying the options you wish to install.
To install Celtix Advanced Messaging using the silent install mode do the following:
If you do not want a default installation, create an installer properties file that specifies how you want Celtix Advanced Messaging installed.
You can create an installer properties file in one of two ways:
Save it when running the installer in either GUI or console mode.
Create a new one using a text editor. See Table 2.3, “Installer Properties” for the possible entries.
Run the installer using the following command:
celtix-1.1-messaging-Windows -i silent [-f installer.properties]
sh celtix-1.1-messaging-GenericUnix.bin -i silent [-f installer.properties]
The -f argument instructs the installer to load the specified properties file. If you do not use this argument, the installer will silently perform a default installation.
Table 2.3, “Installer Properties” shows the properties you can set and there possible values.
Table 2.3. Installer Properties
| Property | Values | Description |
|---|---|---|
| USER_INSTALL_DIR | The full path to the top-level directory of the installation. | Specifies the directory into which Celtix Advanced Messaging will be installed. |
| CHOSEN_INSTALL_FEATURE_LIST |
AMQP
|
Specifies that you want to install Celtix Advanced Messaging |
| SET_PATH | Set now(default) or Do not set now |
Specifies if the Celtix Advanced Messaging runtime tools are added to your PATH. |
| SILENT_ACCEPT_LICENSE_AGREEMENT | true or false(default) |
Specifies if the installer can accept the license agreement without prompting. |
| JDK_HOME | The full path to the Java VM. | Specifies the location of the Java VM that will be used by Celtix Advanced Messaging. |
| INSTALLER_UI | silent, gui(default), or console |
Specifies the mode in which the installer runs. |
| USER_INPUT_SAVE_PROPERTIES_YES_NO | Yes(default) or No |
Specifies if you want to save an installer properties file with the options used by the installer. |
Example 2.1, “Installer Properties File” shows a sample installer properties file.
Example 2.1. Installer Properties File
USER_INSTALL_DIR=/home/iona/ CHOSEN_INSTALL_FEATURES=AMQP SET_PATH= SILENT_ACCEPT_LICENSE_AGREEMENT=true JDK_HOME=/opt/jdk1.5.0_06 INSTALLER_UI=silent USER_INPUT_SAVE_PROPERTIES_YES_NO=No