Silent Mode Installation

Installations can be run without manual interactive interfaces (i.e. graphical user interface or console based). There are two ways to run the installer in silent mode: 1) using a property file with key/value pairs or 2) command line with key/value pairs.

Topics covered in this chapter include:

Creating the Options File for a Silent Installation
Running the Installer in Silent Mode

Creating the Options File for a Silent Installation

Optionally, when running a silent mode installation you can use an options file that has specific key-value pairs.

To create the options file for a silent install

1. In a text editor, create a options file similar to the following:

Business Directory

# Modify install directory and all port number references
# mode=unattended
install_directory=/opt/TIBCO/BD
server_port=9500
repository_admin_password=password
bd_admin_password=password

TDV Server

# Modify install directory and all port number references
# mode=unattended
install_directory=/opt/TIBCO/TDV
server_port=9400
repository_admin_password=password
database_admin_password=password
server_admin_password=password

2. Edit the values within the file for your installation.

The following table describes the variables in the options file:

Variable

Description and Value

INSTALL_DIRECTORY

Directory in which to install the software referred to as <TDV_Installdir>.

The value can be empty, or the directory can be non-existent. On UNIX, there can be no space in the directory name. Examples:

install_directory=/opt/TIBCO/TDV

install_directory=C:\Program Files\TIBCO\Studio

install_directory=/opt/TIBCO/BD

REPOSITORY_ADMIN_PASSWORD

Password to access the repository database, which is automatically installed during the installation. PostgreSQL requires that the password you choose cannot contain a # or $.

SERVER_PORT

Defaults to 9400 for TDV and 9500 for Business Directory.

DATABASE_ADMIN_PASSWORD

The password used to access the default caching database, which is automatically created during installation. PostgreSQL requires that the password you choose cannot contain a # or $.

SERVER_ADMIN_PASSWORD

The password used to login to the web manager and the client applications.

3. Save the file as <installer.properties>.

Running the Installer in Silent Mode

Running the installer via command line options

Option file method:

a. Create the options file. See Creating the Options File for a Silent Installation .

b. Run the installer with the following option: <instFile>.exe/bin --optionfile <OPTION_FILE>

1. Command line (no options file) method - See examples below:

Component

Command Options

TDV Server

  • Windows Installation with all input parameters:

<instFILE>.exe --mode unattended --install_directory <TDV_Installdir> --server_port "6400" --server _admin_password "admin1" --repository_admin_password "password" --database_admin_password "password"

Note: database_admin_password is only valid for TDV Server. BD does not use this variable.

  • Windows Installation with only the required parameters:

<instFILE>.exe --mode unattended  --server _admin_password "admin1" --repository_admin_password "password" --database_admin_password "password"

This command installs TDV Server in the default directory C:\Program Files\TIBCO\TDV Server <version> on default port 9400.

  • Linux/AIX Installation with all input parameters:

<instFILE>.bin --mode unattended --install_directory <TDV_Installdir> --server_port "6400" --server _admin_password "admin1" --repository_admin_password "password" --database_admin_password "password"
  • Linux/AIX Installation with only the required parameters:

<instFILE>.bin --mode unattended  --server _admin_password "admin1" --repository_admin_password "password" --database_admin_password "password"

This command installs TDV Server in the default directory /opt/TIBCO/TDV_Server_<version> on default port 9400.

Note: User should have rwx permissions on /opt

Studio

  • Windows:

<instFILE>.exe --mode "unattended" --install_directory <TDV_Installdir>
  • Linux/AIX:

<instFILE>.bin --mode "unattended" --install_directory <TDV_Installdir>

Business Directory

  • Windows Installation with all input parameters:

<instFILE>.exe --mode unattended --install_directory “<TDV_Installdir>” --bd_admin_password "admin1" --repository_admin_password "password" --server_port  9500 
  • Windows Installation with only the required parameters:

<instFILE>.exe --mode unattended  --bd_admin_password "admin1" --repository_admin_password "password" 

This command installs BD in the default directory C:\Program Files\TIBCO\BD Server<version> on default port 9500.

  • Linux/AIX Installation with all input parameters:

<instFILE>.bin --mode unattended --install_directory “<TDV_Installdir>" --bd_admin_password "admin1" --repository_admin_password "password" --server_port  9500 
  • Linux/AIX Installation with only the required parameters:

<instFILE>.bin --mode unattended  --bd_admin_password "admin1" --repository_admin_password "password" 

The above command installs BD in the default directory: /opt/TIBCO/TDV_BD_Server_8.0 on port 9500

Note: User should have rwx permissions on /opt

Note: All the available options can be viewed by executing the command <instFILE>.exe/bin --help

The variables used in the above table are as follows:

<instFILE> is the file name. For example, TIB_tdv_server_8.0.0_win_x86_64.exe for a Windows TDV Server.
<OPTION_FILE> is the name of the file where the input parameters are stored.
<TDV_Installdir> is the installation directory For example, /opt/TIBCO/TDV_BD_Server_8.0 for Linux/AIX BD
2. Verify that the installation was successful by looking for the TDV installation directory. You can also view success or failure messages in:
%HOMEDRIVE%\BD_install.log (Windows) or /tmp/BD_install.log (UNIX)
%HOMEDRIVE%\TDV_install.log (Windows) or /tmp/TDV_install.log (UNIX)