End Google Tag Manager (noscript) -->
USA +1 866 806 2068 | UK +44 203 1292 513 | JAPAN +81 3 45208991 担当:萩原 info@openlm.com

OpenLM Agent Silent Installation – AN4023

Scope

The OpenLM Agent is OpenLM’s end-user tool for monitoring license consumption and obtaining an overview on the status of available licenses. 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, meaning there is no  “next→next→…→finish” procedure.

The Silent installation process:

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. Be aware 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 was a unification of the two, and only a single agent exists, the OpenLM Agent.

Deployment via Group Policy Object (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 customize your OpenLM deployment via GPO (2023a)

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 version 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 format.

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

”zh-CHS”(Chinese) “pt-BR”(Portuguese).

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

REQUEST_TIMEOUT(seconds):

This parameter configures the timeout for an OpenLM Server request towards the OpenLM Agent. In certain cases this period needs to be extended beyond the default value (120 seconds for version 2.0.0.3, 45 seconds before that version). Such has been the case for customers who applied the “Suspend and Resume” to certain FlexLM controlled applications.

Installing OpenLM Active Agent extensions:

OpenLM is capable of retrieving licenses from idle applications by either one of two methods: “Suspend and Resume” or “Save and Close”. OpenLM Extensions are software modules that enable OpenLM to provide dedicated services to specific software applications. They facilitate idle license retrieval through the “Save and Close” method. Please consult the OpenLM support page for information on supported applications.

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.

INSTALL_MATLAB(1\0)

1: Install the Matlab extension.

0: Do NOT install the Matlab extension.

INSTALL_SOLIDWORKS(1\0)

1: Install the Solidworks extension.

0: Do NOT install the Solidworks extension.

INSTALL_ARCGISPRO(1\0)

1: Install the ArcGISPRO extension.

0: Do NOT install the ArcGISPRO extension.

Notes:

1. If OpenLM ascertains that an application (e.g.: ArcGIS) had been installed on a workstation, the respective extension (e.g. ArcGIS extension) will also be installed on the same workstation by default.

2. Extensions will not be installed in case the respective application is not installed, regardless of their respective installation flags.

Note:

INSTALL_PLUGIN(1\0)

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.

rr1

Installing Proactive license management extensions:

OpenLM now presents the capability of directly intervening in the process of license drawing. We call this the “OpenLM Proactive Application Manager”.

In order to deploy this capability through silent installation, the following flags should be used:

INSTALL_PROACTIVE(1\0)

1: Enable proactive license management by the OpenLM proactive license management component.

0 (Default): Do NOT enable proactive license management by the OpenLM proactive license management component.

USE_SERVICE(1\0)

1: Install the proactive license management Windows service

0 (Default): Do NOT install the proactive license management Windows service

CHECK_INTERCEPTION(1\0)

1: Activate the proactive license management component

0 (Default): Do NOT activate the proactive license management component

The configuration of OpenLM’s proactive application management is saved on the products.xml file. By default, this file is created as an empty file in the Agent’s directory during installation. It is possible to refer all deployed OpenLM Agents to a shared products.xml file on the organizational network. In order to do so, the following flags should be used:

PRODUCTS_XML_PATH: The full path to the said products.xml file, enclosed in quotation marks. This could be a local path, or a UNC path, e.g.:

“\\ServerName\Shared folder\OpenLM\products.xml”

UNC_USER_NAME: The username of an account that is authorized to access (read/write) the said products.xml file

UNC_PASSWORD: Password of the said UNC_USER_NAME username.

 Example 1

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

msiexec  /I  “C:\tmp\openlm_agent_win_2005.msi”/quiet /norestart SERVERNAME=145.13.4.121 SHOW_NOTIFICATION_ICON=false ERROR_LEVEL=ERROR

Example 2

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

msiexec  /I   “C:\tmp\openlm_agent_win_2005.msi” /quiet /norestart SERVERNAME=olm_server SERVERPORT=7777 ERROR_LEVEL=ALL LANG=de-DE

Example 3

Install the Agent 2.0.0.5 release version on the localhost machine. Shutdown the Active 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, ArcGIS and Matlab extensions .

msiexec  /I   “C:\tmp\openlm_agent_win_2005.msi” /quiet /norestart SERVERNAME=localhost SHUT_WHEN_NOT_ACTIVE=true INACTIVITY_TIME=20 TARGETDIR=D:\program files\OpenLM\OpenLM Agent INSTALL_AUTOCAD=1 INSTALL_ARCGIS=1 INSTALL_MATLAB=1

Installation codes

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}

1.8.1.9 {75088694-8C78-4EB2-9D38-733493C2F3CB}

1.8.1.10 {1EE2BD62-ED44-4514-9BD1-A6BFA22764A8}

1.8.1.11 {BEC89CCE-665A-4C1E-A55F-0698808CA852}

2.0.0.0 {82A28077-6C19-44FF-8493-9897B0CD29D1}

2.0.0.1 {758BDCF9-103D-4855-A60F-219D039D8D47}

2.0.0.2 {8F196DFB-C72E-4CC6-9EBA-4BABFB165882}

2.0.0.3 {16B64306-B2E8-4474-A1A4-2BBF551B4FFD}

2.0.0.4 {5DB5B360-3004-4E0A-8940-B012B6F928F8}

2.0.0.5 {63C4F320-8D7F-440A-90A9-0C9BE70987F9}

2.0.0.6 {2B142FE3-351D-46F2-A2B1-B4656075E9FF}

2.0.0.7 {EEDE2844-1B73-40A1-BF7F-971B36628C60}

2.0.0.8 {188F60A5-9CCC-4E09-9B26-13959869F6C5}

2.0.0.9 {1A3A3808-04D3-4249-AE1A-08BF24429320}

3.0.0.0 {B02B87BA-D84A-4631-AA66-228AA0FBC679}

3.0.0.1 {5893ED11-AED2-418A-B6AC-B896AE82F053}

3.0.0.2 {92B07D63-F169-4C3B-BBFC-4E884A289030}

3.1.0.0 {30795BC6-23F8-40CE-9DAA-5A62CFD0856D}

3.1.0.1 {4050B24F-ABCD-4766-9C86-F0E3379A1FD3}

3.1.0.2 {87CD3491-C367-4A7B-A8AC-A2191217279C}

3.1.0.3 {C91F656D-ECFD-4E22-A5C5-19234286059E}

3.1.0.4 {43F66CFE-9D48-4DDD-9E0A-0C5DA0A32DB6}

3.1.0.5 {822FDAF1-8F2A-45D6-94C2-B2E87C5102DA}

3.1.0.6 {2D5F1CFC-205D-4921-8FE8-66A3D37F8F42}

3.1.0.7 {06D4EA84-4F3F-4F47-846C-6CDD8D057E7E}

3.1.0.8 {CEEA2DC9-1A34-41B8-969C-9C93CD9DA147}

3.1.0.9 {B3333146-DFE5-46D7-9A89-29EA66EE1929}

3.1.0.10 {1C4014A8-D067-4C37-92CC-A5D0BA30BEA0}

3.1.0.11 {FE6DC201-E7E1-41BE-AADD-02F0F80C9C46}

3.2.0.0 {12A14EA5-A57B-4BAE-A7A3-18AF4524D1EE}

3.2.0.1 {130AC349-6671-4AEC-816A-CBA0195D7765}

3.3.0.0 {F90459B7-3721-4E24-AA29-079AEAE05EBB}

3.3.0.9 {DEE9C7C3-8C6F-4E9B-BFB3-316A0E6DAFD1}

3.3.0.10 {C5D521A7-923D-40F8-97E5-6AA17DDA6127}

3.3.0.12 {E6DF2612-ABF8-49F2-B91D-6A120E01313D}

3.3.13.1 {45002BB9-2960-4B28-9340-E7E4B3492833}

3.3.15.1 {34ABBABF-E1AC-4CF9-9F38-1E49853CF0C3}

3.3.16.1 {13C06F6A-4F4B-4140-92F3-48AA92996D9D}

3.3.17.1 {05103798-CCD4-4E3F-9879-806F76F2D7E5}

3.3.18.2 {1E7B46ED-4482-46B8-B0F8-C8F3B63571C9}

3.3.19.1 {5A05D447-8706-4114-A08B-CD27A7DE308A}

3.3.20.1 {2001FCFF-FEBB-4956-9B30-05DE67955E2C}

3.3.21.1 {BF1E47FB-70D9-477A-8F70-C93DB1A555C0}