Application Note1023: OpenLM Agent Silent installation

Scope

This post elaborates the silent install and uninstall commands for the OpenLM Agent Software

General

Silent installation” is a form of software installation that does not display messages during its progress. This type of installation is specifically required for client applications such as the Active Agent, which need to be dispatched over a large number of workstations. The Active Agent silent installation utility facilitates installation of the Active Agent on client PCs, without showing user interfaces and without requiring user interaction (that is: no “next->next->…->finish” procedure).

In order to perform the Silent installation, please do the following:

1. Download the Openlm Agent from the OpenLM site.

2. Run the silent install / uninstall procedure through a command line (with administrator rights) as elaborated below.

Download and install the OpenLM Agent

The OpenLM Agent is available on the Downloads section on the OpenLM site. Note that OpenLM Agent versions prior to 1.8 had two flavors: the Utilizer Agent and the Active Agent. Starting from OpenLM version 1.8 there has been a unification of these two, and only a single type of the OpenLM Agen now exists, i.e. the “OpenLM Agent”.

Deployment via GPO

For deploying the OpenLM Agent via GPO and setting installation parameters, please take a look at this article: OpenLM in the Enterprise – A brief how-to on how to customize your OpenLM deployment via GPO

Silent Uninstall:

Format:

Open a command line prompt as an administrator, and enter the following command line:

msiexec /x  <Product code> /quiet.
Notes:

  • Replace the product code, with the relevant product code as described in the section “OpenLM Product Code”.

  • The parameter /x uninstalls a product.

Example:

Silently uninstall vesion OpenLM agent version 1.7.0

msiexec /x {E1E35EA8-6C9E-458E-8902-E36474186B14} /quiet

Silent install:

Command format:

msiexec  /I  <msi installation file path> /quiet /norestart  <parameters>

Command Parameters:

SERVERNAME:

OpenLM server name.

SERVERPORT:

OpenLM server port number.

Note:  OpenLM server port is set to 7012 by default.

SHOW_NOTIFICATION_ICON(true/false):
False: Hides OpenLM Agent icon from the user. (This option is not recommended)

True : Show the notification icon at the taskbar.

Note: SHOW_NOTIFICATION_ICON is true by default.

ERROR_LEVEL:(ALL/DEBUG/INFO/WARN/ERROR/FATAL/OFF)

recommended logging level: Error

Note: ERROR_LEVEL is set to ERROR by default.

TARGETDIR:

Specify the root destination directory for the installation.

Note: if no destination is specified, the default root destination directory is:

“C:\Program Files\OpenLM\OpenLM Agent”.

SHUT_WHEN_NOT_ACTIVE(true/false):

Shutdown the Active Agent automatically when an application is monitored as inactive for a certain period of time. this period is defined in the INACTIVITY_TIME parameter.

Note: SHUT_WHEN_NOT_ACTIVE is false by default.

INACTIVITY_TIME(seconds):

Inactivity time in seconds. Meaningful only when SHUT_WHEN_NOT_ACTIVE = true

LANG:

Choose the OpenLM language and direction.

Possible values: ”en-US”(English) ”ru-RU”(Russian) ”es-ES”(Spanish) ”de-DE”(German) ”fr-FR”(French)
”zh-CHS”(Chinese).

Note: LANG is set to “en-US” by default.

Installing extensions (only for the Openlm Active Agent):

The OpenLM Extension is a software module that enables OpenLM to provide dedicated services to specific software applications(Please consult the OpenLM support page for information on supported applications).

OpenLM is capable of retrieving licenses from idle applications in either one of two methods: “Suspend and Resume” or “Save and Close”. The “Save and Close” method is only applicable for supported applications, and if the OpenLM Agent extension was installed as part of the OpenLM Agent installation.

For more information about the license retrieval in these methods please refer to this Application Note.

INSTALL_ARCGIS(1\0)

1: Install the ArcGIS extension.

0: Do NOT install the ArcGIS extension.

INSTALL_AUTOCAD(1\0)

1: Install the AutoCAD extension.

0: Do NOT install the AutoCAD extension.

Note:

1. In silent installation mode, both extensions (ArcGIS & AutoCAD) are not installed by default.

2. ArcGIS and Autocad extensions will not be installed in case the ArcGIS or Autocad applications are not installed regardless of their respective installation flags.

INSTALL_MATLAB(1\0) (From version 1.7.1.4)

1: Install the Matlab extension.

0: Do NOT install the Matlab extension.

Note:

As with the ArcGIS & AutoCad extensions, the Matlab extension is not installed by default, nor would it be installed if Matlab is not installed on the client machine.

INSTALL_PLUGIN(1\0)  (From version 1.7)

This plugin enables selecting the ArcGIS  license level to ArcInfo/ ArcEditor/ ArcView.

This plugin is relevant only for ArcGIS users.

1: Install the Plugin.

0: Do NOT install the Plugin.

Note: The Plugin is installed by default.

Examples

OpenLM Utilizer Agent

Install the Utilizer Agent version 1709 on OpenLM Server 145.13.4.121, hide the notification icon, and set the logging level to ERROR:

msiexec  /I  openlm_utilizer_agent_win_1709.msi /quiet /norestart SERVERNAME=145.13.4.121 SHOW_NOTIFICATION_ICON=false ERROR_LEVEL=ERROR

OpenLM Active agent

Install the Active Agent version 1709 on OpenLM Server olm_server, with a server port 7777, set the language to German, and the logging level to ALL.

msiexec  /I  openlm_active_agent_win_1709.msi /quiet /norestart SERVERNAME=olm_server SERVERPORT=7777 ERROR_LEVEL=ALL LANG=de-DE

Install the Active Agent version 1709 on the localhost machine. Shutdown the Active Agent automatically when an application is monitored as inactive for 20 minutes. Specify the root destination directory for the installation to be “D:\program files\OpenLM\OpenLM Agent”, and install the AutoCad extension.

msiexec  /I  openlm_active_agent_win_1709.msi /quiet /norestart SERVERNAME=localhost SHUT_WHEN_NOT_ACTIVE=true INACTIVITY_TIME=20 TARGETDIR=D:\program files\OpenLM\OpenLM Agent INSTALL_AUTOCAD=1

Up to Ver 1.5.0 {ADF83757-EF49-474B-9A9B-BAC16E95BBB0}

1.5.1 {158B8FDC-A6A3-417B-BED1-51822C01EBAA}

1.5.1.1 {DC307335-161B-4FE9-95E6-BAB3DBEFCD19}

1.5.1.2 {51D28FA0-0AAB-4878-BCAD-48F2655F5785}

1.5.2 {EFD61272-3D32-40FB-965A-B1D2F65117FE}

1.5.3 {28D31048-EFA6-4B70-827A-D693FF616435}

1.5.4 {6E1E935C-A530-4D43-A4E3-9DCA859C03C6}

1.5.5 {D4B11740-016C-4F4F-936A-F5C4B2F381D2}

1.5.6 {C4A40345-6F9F-4D46-A5B1-BE06EF9A2C69}

1.6.0 {C6AED4C5-BC00-408F-B596-D3203C30A095}

1.6.0.1 {E29A0775-1F39-41FE-A2FC-A61F049D3C16}

1.6.0.2 {2E53D661-F6DD-45F6-83FF-F7ED3C5DEE34}

1.6.0.3 {5087491B-BE3E-489C-BAA7-60A99C851AA5}

1.6.0.4 {433F7B75-3913-4806-80EF-EC47A157BA6D}

1.6.0.5 {2EBF7B7D-E51E-49BB-A2E1-33D7098F145D}

1.6.0.6 {EE4B5821-F849-426A-914F-8DADBAB0F0B0}

1.6.0.7 {2068A4E8-DDC4-4CBD-AEAB-3471A3AE7A5B}

1.7.0.0 {E1E35EA8-6C9E-458E-8902-E36474186B14}

1.7.0.1 {23654FAD-0160-4B49-907A-3C29E31083DA}

1.7.0.2 {375F711D-89CB-4686-81AB-0B996055215D}

1.7.0.3 {CC189C5C-86C3-450F-A701-60EC94E20CB4}

1.7.0.4 {CE361C51-90B9-4D26-95F9-7508EAC3C104}

1.7.0.5 {B0CF2536-B47E-4E7D-ADAE-905A0BC956A4}

1.7.0.6 {9699D6AB-AB79-4723-9F4D-0D8B1EADF508}

1.7.0.7 {AB1842F3-3125-494E-B511-90AF0298E633}

1.7.0.8 {50451FB5-62E0-4AFA-B29D-F200927B7CA2}

1.7.0.9 {F3897924-FBA8-413C-8FF8-19E79AABCD91}

1.7.1.0 {BFF011FA-400F-49BA-939D-8371D77B4D8F}

1.7.1.1 {3907B126-9813-431E-8551-D71654C19FFA}

1.7.1.2 {589F8ED3-3A85-4637-9FB8-CE5DF8014359}

1.7.1.3 {E38372D4-03BE-4E7F-BC2E-A965F7DCE096}

1.7.1.4 {8E4FA5AE-BEBE-4CEB-93D9-819EBCB9CBD6}

1.7.1.5 {9F94283F-134A-42BE-81A0-D19AB739023C}

1.7.1.6 {750356B0-8AED-452A-9469-CE3403AAA811}

1.7.1.7 {5AE195DC-F4F4-4F42-9970-4CB318354842}

1.8.1.0 {5AB1E42D-B6D7-4D52-9333-2742E3722E9F}

1.8.1.1 {BA4DC7BF-BD04-4392-B253-195C2844E1CB}

1.8.1.2 {5EBDABA0-CED9-4A61-915D-32163EBE6CDE}

1.8.1.3 {F8E31F11-D670-488D-B42D-700D66DF16F3}

1.8.1.4 {4C28F6F0-AF2A-48FC-B543-471812760832}

1.8.1.5 {96850E73-8302-4AC2-8C63-B778317E62EF}

1.8.1.6 {CDF797D7-7187-4264-B4BD-4D16C91297EE}

1.8.1.7 {5D127FF0-1627-4B9E-8DBC-3D091AC57694}

1.8.1.8 {009E8206-DC8E-44F7-AE2C-5500FA9D6099}