The options that can be specified in the .varfile are:

Variable

Description

windows.service.account

The Windows® service account username.

windows.service.description

The description of the Windows® service.

windows.service.name

The name under which you want to register the Windows® service.

windows.service.name.display

The display name of the Windows® service.

windows.service.password.encoded

The Windows® service account password.

windows.program.group

The name of the Rhapsody program group in the Windows® Start menu.

windows.service.startType

The start type of the Windows® service: either automatic or by demand (manually). To start the service automatically, set the variable to Auto Start. Setting the variable to any other value requires the service to be started manually. For production environments, the service should be set to start automatically.

windows.launch.engine$Boolean

Whether the Rhapsody engine should start after installation completes [true/false].

windows.launch.monitor$Boolean

Whether the Rhapsody Service Monitor icon, on the Windows® taskbar, should start after installation completes [true/false].

jvm.initial

The initial size of the JVM heap.

jvm.maximum

The maximum heap size.

port.admin

The administration port.

port.broadcast

The Rhapsody IDE broadcast port.

port.http.management

The Management Console HTTP port.

port.https.management

The Management Console HTTPS port.

port.https.webservice.api

The web service API HTTPS port.

prop.user.name

The Unix user to run Rhapsody as.

dir.data

The location of the Data directory.

sys.installationDir

The installation directory.

sys.languageId

The two-letter ISO 639 code for the actual language of the installer.

uninstall.data

Deletes all Rhapsody data, including configuration data [true/false].

uninstall.logs

Deletes all Rhapsody engine logs [true/false].

Command Line Options

The Rhapsody installer can be run in three modes:

Mode

Description

-q

Unattended mode. Does not interact with the user during installation.

-c

Console mode. Queries for each option on the command line. On Windows®, ensure you use the mode as follows:

start /wait installer.exe -c 

-g

GUI mode (default on Windows®).

The following parameters are only valid when used with the unattended mode:

Parameter

Description

-dir [directoryPath]

Sets the installation directory.

-splash [title]

Displays a small window with a progress bar and the specified title, and informs the user about the progress of the installer.

-wait [timeout]

A timeout in seconds. In unattended mode, the installer carries out the installation immediately. On Windows®, this can lead to locking errors if the installer is called by an updater or a launcher. If -wait is specified, the installer will wait for all installed launchers and installers (including the updater) to shut down. If this does not happen before the specified timeout, the installer exits with an error message.

-console

On Windows®, allocates a console and displays the installer output. Must be used as -q -console.

The following parameters are used to control installation options:

Parameter

Description

-V [variableName=value]

You can set arbitrary installer variables with the -V parameter. The variable name should be used without a prefix, so if you have a variable called \${installer:variableName} in the GUI, the parameter would be -V variableName=value. The variable will be a String object.

-varfile [fileName]

The property file containing your installation options.

References