The installer's silent mode is intended for use in installing on remote machines. It is also useful for administrators to set up installations in which the person installing cannot change any installation options. You can customize how FUSE Message Broker is installed by providing an installer.properties file specifying the options you wish to install.
To install FUSE Message Broker using the silent installation mode, do the following:
If you do not want a default installation, create an installer.properties file that specifies how you want FUSE Message Broker installed.
You can create an installer.properties file in one of two ways:
Save one when running the installer in GUI or console mode.
Create a new one using a text editor. See Table 2.5 for the possible entries.
Run the installer using the following command:
Table 2.4. Command for Running the Installer in Silent Mode
| Platform | Command |
|---|---|
| Windows | fuse-message-broker-5.1-windows -i silent [-f |
| UNIX | sh fuse-message-broker-5.1-unix.bin -i silent [-f |
The -f argument instructs the installer to load the specified properties file. (If you specify -i silent without the -f argument, the installer silently performs a default installation.)
Table 2.5 shows the properties you can set and their possible values.
![]() | Note |
|---|---|
When specifying Windows paths, escape the colon in drive letter specifications with a backslash, and double any backslash path separators. In your JDK_HOME entry, you can use the 8.3 version of space-containing directory names, but do not use space-containing path components in your USER_INSTALL_DIR entry. (Use DIR /X to determine the 8.3 version of file and directory names.) |
Table 2.5. Installer Properties
| Property | Values | Description |
|---|---|---|
| USER_INSTALL_DIR | The full path to the top-level directory where you want the product installed. | Specify a full absolute path, making sure no path component has a space in its name. |
| CHOSEN_INSTALL_FEATURE_LIST | There is only one feature component for FUSE Message Broker, AMQ. | |
| SILENT_ACCEPT_LICENSE_AGREEMENT | true (default) or false | Specifies whether the installer accepts the license agreement without prompting. |
| JDK_HOME | The full absolute path to the JDK that FUSE Message Broker will use. | This is the same path that should be set in the JAVA_HOME environment variable. |
| 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 whether you want to save a properties file that describes the current run of the installer. |
| SET_PATH | This entry is not used by the FUSE Message Broker installer. | |
Example 2.1 shows a sample installer.properties file for a Windows system.
The properties file shown in Example 2.1 tells the installer to do the following: