(Windows) Server Silent Installation: OptionsFile.txt Examples

This section contains examples of how to configure the installation options in an optionsFile.txt file for a server silent installation on Windows.

Examples are given for Oracle and SQL Server as those are expected to be used in a production environment.

Oracle Database optionsFile.txt example

In the following example, all defaults are used except for the TC_PORT, which is set to 8081.

AgreeToLicense=Yes
SRA_USER_INSTALLDIR=C:\Documents and Settings\Administrator\.microfocus\da
SKIP_DB=""
AGENT_MUTUAL_AUTH=""
JMS_PORT=7918
DB_TYPE=oracle
ORA_DB_CONN=jdbc:oracle:thin:@//serverName:1521/da
ORA_DB_SCHEMA=da
ORA_PASSWORD=password123
IS_INSTALL_MODE=silent
SRA_ADMIN=admin1
SRA_ADMIN_PWD=1
TC_PORT=8081     

MS SQL Server Database optionsFile.txt example

In the following example, all defaults are used except for the TC_PORT, which is set to 8088.

AgreeToLicense=Yes
SRA_USER_INSTALLDIR=C:\Documents and Settings\Administrator\.microfocus\da
SKIP_DB=""
AGENT_MUTUAL_AUTH=""
JMS_PORT=7918
DB_TYPE=sqlserver
SQLSVR_DB_CONN=jdbc:sqlserver://serverName:1433;DatabaseName=da
SRA_ADMIN=admin1
SRA_ADMIN_PWD=1
SQLSVR_USER=da
SQLSVR_PASSWORD=mypassword
IS_INSTALL_MODE=silent
TC_PORT=8088

MS SQL Database "Skip Database Creation" optionsFile.txt example

In the following example, the SRA_USER_INSTALLDIR specified must not already exist. Using this optionsFile.txt file, because the SKIP_DB=skipDB option is specified, the DB_TYPE option cannot be set to derby, and the SRA_ADMIN and SRA_ADMIN_PWD options cannot be set during the server installation.

AgreeToLicense=Yes
SRA_USER_INSTALLDIR=C:\Documents and Settings\Administrator\.microfocus\da
SKIP_DB=SkipDB
AGENT_MUTUAL_AUTH=""
JMS_PORT=7918
DB_TYPE=sqlserver
SQLSVR_DB_CONN=jdbc:sqlserver://serverName:1433;DatabaseName=da
SQLSVR_USER=da
SQLSVR_PASSWORD=mypassword
IS_INSTALL_MODE=silent
TC_PORT=8080

MS SQL Database "Use Existing Settings" optionsFile.txt example

This is an example of a new installation of the server that points to an existing profile. The Deployment Automation profile location already exists as specified by the SRA_USER_INSTALLDIR option. Using this optionsFile.txt file, the server will be installed and the existing settings will be used for the installation.

AgreeToLicense=Yes
USE_EXISTING_SETTINGS=UseExisting
SRA_USER_INSTALLDIR=C:\Documents and Settings\Administrator\.microfocus\da
SRA_ADMIN=admin1234
SRA_ADMIN_PWD=password123
TC_PORT=8080