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 Service Engine to change any of the installation options. You can customize how Celtix Advanced Service Engine is installed by providing an installer properties file specifying the options you wish to install.
To install Celtix Advanced Service Engine 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 Service Engine 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-service-engine-Windows -i silent [-f installer.properties]
sh celtix-1.1-service-engine-GenericUnix -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 Service Engine will be installed. |
| CHOSEN_INSTALL_FEATURE_LIST |
CXF
|
Specifies that you want to install Celtix Advanced Service Engine |
| SET_PATH | Set now(default) or Do not set now |
Specifies if the Celtix Advanced Service Engine 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. |
| 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/celtix CHOSEN_INSTALL_FEATURES=CXF SET_PATH=Do not set now SILENT_ACCEPT_LICENSE_AGREEMENT=true JDK_HOME=/opt/jdk1.5.0_06 INSTALLER_UI=silent USER_INPUT_SAVE_PROPERTIES_YES_NO=No