Articles in this section

Installing OLI Software via the Command Line

How to install OLI desktop software via the command line. The same options apply for installing OLI Alliance products.

Installing the software via the command line allows for bootstrapped (chained) and/or silent installations; useful for IT admins who want to install the software on many computers at once without user interference.

OLI Command Line options:

Interaction Level:

/q

Recommended for non-interactive mode with minimal UI. This will prompt for elevation if required and display a progress bar and fatal errors.

 

/qn

Silent mode. Does not display any UI. Note that using this option will not prompt for elevation. If admin privileges are not already active, installation with this option will fail.

 

/qf

Default. Runs the .msi installation file with full UI. 

 

Installation Options:

/repair

Repairs an installation.

 

/uninstall

Uninstalls the software

 

Miscellaneous Options:

SERIALNUMBER=<SerialNumber>

Specifies the serial number to be used for installing the software. For example:

SERIALNUMBER=V2-AAAA-BBBB-CCCC-DDDD-EEEE-FFFF

There cannot be any spaces in the string.

 

LICSERIP=<ServerAddress/HostName>

Specifies the IP address or hostname of the license server to connect to for network license users.

 

LICSERPORT=<PortNumber>

Specifies the port number of the license server for network users.

 

Examples:

"OLI Studio 12.0.0.11.exe" /q SERIALNUMBER=V2-AAAA-BBBB-CCCC-DDDD-EEEE-FFFF

This installs OLI Studio using the serial number with minimal UI, displaying a progress bar and fatal errors.

"OLI Flowsheet 12.0.0.11.exe" /qn SERIALNUMBER=V2-AAAA-BBBB-CCCC-DDDD-EEEE-FFFF LICSERIP=192.168.1.1 LICSERPORT=25000

This installs OLI Flowsheet: ESP in silent mode with no UI, providing the serial number, IP address and Port number of the OLI Network License Server.

"OLI Studio 12.0.0.11.exe" /q /uninstall

This uninstalls OLI Studio with minimal UI, displaying a progress bar and fatal errors.

Return Codes:

The installer will return one of the following codes upon execution:

0 (0x00000000): The installation process completed successfully.

-1 (0xffffffff): Invalid command line arguments.

-2 (0xfffffffe): Command line argument length is too long.

-3 (0xfffffffd): Could not create a temporary directory for installation files.

-4 (0xfffffffc): Windows Installer not found on the system.

-5 (0xfffffffb): Windows Installer version is unsupported.

-6 (0xfffffffa): Invalid installation action.

-7 (0xfffffff9): Windows Installer service could not be accessed

-8 (0xfffffff8): The user canceled the installation.

1603 (0x00000643): Generic Windows Installer error. Note that a missing/incorrect

 

If you have any additional questions related to this topic, please submit a ticket through the OLI Support Center.

Was this article helpful?
0 out of 0 found this helpful