Universal Messaging 9.7 | Installation Guide | Running a Silent Installation
 
Running a Silent Installation
There may be occasions where you want to install Universal Messaging in silent mode, ie where you can script the install, and not require any user input. This section describes how to run the installer in silent mode. There are currently some outstanding issues with the InstallAnywhere installer bundle that causes the silent install to not correctly work without making some slight alterations to the installer output. These steps are described in the following sections.
To begin, you need to have already installed Universal Messaging somewhere (you will need to run the installer with '-r installer.props' in order to first generate the response file required for a silent install). Once you have the response file (installer.props but it can be called anything you wish), there are some modifications that need to be made to this file in order to successfully run the silent install. So, assuming you have the installer.props file in the same location as the unix Universal Messaging install binary, you will need to edit the installer.props and make the following changes:
Custom Variables
The installer.props contains all the custom information provided during the install, such as installation directory, realm name etc. Due to an outstanding issue with the installer software, some of these variables should in fact be appended with '_1'. For example, CUSTOM_REALM_NAME, should in fact be CUSTOM_REALM_NAME_1. All CUSTOM variables require the additional _1 to be appended.
Escaping Characters
Another issue with the installer, is that the actual variables stored as CUSTOM install parameters, contain unnecessary escape characters. For example,
CUSTOM_REALM_NAME=\"nirvana\"
The escape characters need to be removed, so after completing the Custom Variable step and the escaped characters changes you should end up with something that resembles:
*CUSTOM_REALM_NAME_1=nirvana
*CUSTOM_NSP_BINDING_1=0.0.0.0
*CUSTOM_NSP_PORT_1=9000
Remove Chosen List
The final configuration change that is required is to ensure that all components are installed during the silent install. To do this, simply comment out the following:
*CHOSEN_FEATURE_LIST=Client ,Realm_SRV,Doc
*CHOSEN_INSTALL_FEATURE_LIST=Client ,Realm_SRV,Doc
*CHOSEN_INSTALL_SET=Typical
So it looks like:
*#CHOSEN_FEATURE_LIST=Client ,Realm_SRV,Doc
*#CHOSEN_INSTALL_FEATURE_LIST=Client ,Realm_SRV,Doc
*#CHOSEN_INSTALL_SET=Typical
Performing A Silent Install
Once you have a custom installer properties file, this can be used as a template to create customisable installs for any server instance you wish to script. For example, the installer.props file that contains all of the changes described above can now be copied and modified to contain the boot strap information required for any nirvana realm.
Once you are happy that you have modified the properties file to contain all of the information required, you can now run the install in silent mode, by using the following command:
sh ./nirvana_linux_novm.bin -i silent -f installer.props
replacing the installer.props file with the name of your custom configuration file.

Copyright © 2013-2015 | Software AG, Darmstadt, Germany and/or Software AG USA, Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.