Install server in silent mode on Windows
This topic provides instructions for installing Deployment Automation in silent mode on Windows, and contains examples of configured options for different database types.
Install Deployment Automation in silent mode
Silent mode enables you to automate the installation.
You can also install a Deployment Automation server using the interactive installer. For details, see Run the interactive server installer.
To install a server in silent mode on Windows:
-
Download the server installer for your platform from the Software Licensing and Downloads portal (requires login).
-
Create an options file and save it as C:/optionsFile.txt. For details, see Server silent installation options.
-
As a local system user, issue this command:
cmd /c MicroFocusDA-Server.exe /s /V"/qn /L*vx "%TEMP%\silent-install.log" PROPFILE=\"c:\optionsFile.txt\" "
Where:
-
"%TEMP%\silent-install.log" is an absolute path to a log file.
-
PROPFILE=\"c:\optionsFile.txt\" is an absolute path to the options file you created in step 2.
-
The space between the final two quotes is required.
-
After you install your server, continue with the next steps in the Installation checklist.
Server silent installation options
The following table describes the server silent installation options in an optionsFile.txt file for Windows.
Option | Default / if not specified | Description |
---|---|---|
AgreeToLicense
|
No | Must be set to Yes. |
USE_EXISTING_SETTINGS
|
Set to UseExisting if you want to skip the database installation and administration part of the installation. Note: Use only if there are existing DA settings populated in the directory specified by the SRA_USER_INSTALLDIR option. |
|
SRA_USER_INSTALLDIR
|
c:\Documents and Settings\→ Administrator\→
.microfocus\da
|
Directory in which
to install the server, or, if using the
USE_EXISTING_SETTINGS=→ UseExisting option,
the directory where your
DA settings already exist.
|
SKIP_DB
|
To skip the database creation, include and set this option: SKIP_DB=SkipDB Note: To use this option, make sure that the SRA_USER_INSTALLDIR option does not exist. |
|
AGENT_MUTUAL_AUTH
|
N
|
For agent
mutual authentication, set this option to
Y . For details, see Configure SSL mutual authentication.
|
JMS_PORT
|
7918
|
Server port. |
DB_TYPE
|
derby
|
Use this to specify a database vendor other than the default: oracle, sqlserver, or postgresql. |
<DB>_USER
|
da
|
Database user ID, where <DB> is DERBY, ORA, SQLSVR, or PSQL. |
<DB>_PASSWORD
|
password
|
Password for the database user ID, where <DB> is DERBY, ORA, SQLSVR, or PSQL. |
ORA_DB_SCHEMA
|
(Required for Oracle) The database schema. | |
DERBY_PORT
|
(Required for Derby) This option specifies the Derby port, 11377. | |
<DB>_DB_CONN
|
(Required for databases other than Derby) The database connection, where <DB> is ORA, SQLSVR, or PSQL. | |
IS_INSTALL_MODE
|
(Required) Set the installation mode to silent. | |
SRA_ADMIN
|
Required installation owner's administrator username. Caution: After creating it, you cannot remove the built-in administrative user through the user interface. Therefore, we recommend using your organization's naming standards. |
|
SRA_ADMIN_PWD
|
Required user-defined password for the username set by the SRA_ADMIN option. | |
TC_PORT
|
8080
|
Common Tomcat port, required only for new installations. |
Options file examples
Use the following examples of the optionsFile.txt settings for each database type on Windows.

This example uses all defaults 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

This example uses all defaults 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

In this 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

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 is installed and the existing settings are 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

This is an example of installation settings for a PostgreSQL database.
AgreeToLicense=Yes SRA_USER_INSTALLDIR=<InstallationPath> SKIP_DB="" AGENT_MUTUAL_AUTH="" JMS_PORT=7918 DB_TYPE=postgresql PSQL_DB_CONN=jdbc:postgresql://hostname:5432/dbname PSQL_JDBC_DRIVER=org.postgresql.Driver PSQL_USER=dbuser PSQL_PASSWORD=password IS_INSTALL_MODE=silent SRA_ADMIN=admin SRA_ADMIN_PWD=password TC_PORT=8080
See also: