Library Link To Toggle Frames Print Feedback

Installing Celtix Enterprise in Silent Mode

Overview

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.

Running the installer

To install Celtix Enterprise using the silent install mode do the following:

  1. 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:

  2. Run the installer using the following command:

    Windows

                    
                      celtix-1.1-enterprise-Windows -i silent [-f installer.properties]
                    
                  

    *NIX

                    
                      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.

Silent installation properties

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 installer properties file

Example 2.1, “Installer Properties File” shows a sample installer.properties file.

Example 2.1. Installer Properties File

1 USER_INSTALL_DIR=/home/iona/
2 CHOSEN_INSTALL_FEATURE_LIST=CXF,Spring,STP
3 SET_PATH=
4 SILENT_ACCEPT_LICENSE_AGREEMENT=true
5 JDK_HOME=/opt/jdk1.5.0_06
6 INSTALLER_UI=silent
7 USER_INPUT_SAVE_PROPERTIES_YES_NO=No

The properties file shown in Example 2.1, “Installer Properties File” tells the installer to do the following:

1

Install Celtix Enterprise into /home/iona.

2

Install Celtix Advanced Service Engine, the light-weight container, and the GUI tools.

3

Do not add the Celtix Enterprise tools to PATH.

4

Accept the license file without prompting.

5

Use the Java VM installed as part of the Java 5 JDK.

6

Run silent.

7

Do not save a properties file.