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 Enterprise to change any of the installation options. You can customize how Celtix Enterprise is installed by providing an installer.properties file specifying the options you wish to install.
To install Celtix Enterprise 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 Enterprise 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.4, “Installer Properties” for the possible entries.
Run the installer using the following command:
celtix-1.1-enterprise-Windows -i silent [-f installer.properties]
sh celtix-1.1-enterprise-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.4, “Installer Properties” shows the properties you can set and there possible values.
Table 2.4. 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 Enterprise will be installed. |
| CHOSEN_INSTALL_FEATURE_LIST | A comma separated list containing one or more of CXF, Containers, Servlet, Spring, JBI, Router, AMQP, STP |
Specifies a list of features to be installed. |
| SET_PATH | Set now(default) or Do not set now |
Specifies if the Celtix Enterprise 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 to which Celtix Enterprise will use. | Specifies the location of the Java VM to which the Celtix Enterprise scripts will set JAVA_HOME. |
| 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 a properties file with the options used by the installer. |
Example 2.1, “Installer Properties File” shows a sample installer.properties file.
The properties file shown in Example 2.1, “Installer Properties File” tells the installer to do the following: