Installing the software in silent mode - Intergraph Smart Licensing - Version 14.2 - Installation & Upgrade - Hexagon

Smart Licensing Installation and Setup

Language
English
Product
Intergraph Smart Licensing
Search by Category
Installation & Upgrade

To install Smart Licensing in silent mode, use the installation executable file in a command line with the required information passed as arguments.

Before you begin

Before creating a silent setup of Smart Licensing, make sure that the following conditions exist:

Command-line arguments

"<path>\Smart Licensing Client Setup.exe" -silent -install SLAACCEPT=YES

  • If the path or executable contains one or more spaces, enclose it in quotation marks. For example: "C:\Setup Location\Smart Licensing Client Setup.exe".

  • When you install or uninstall the software, MSI installation log files are created in the %TEMP% folder.

  • All arguments and values are case-sensitive.

Required silent install parameters

"<path>\Smart Licensing Client Setup.exe"

Provides the path to the installation setup executable.

-q, -quiet, -s, or -silent

Runs in silent mode (no prompts).

Just one of these parameters is needed.

-install

Performs an installation.

SLAACCEPT

Accepts the software license agreement. Value must be YES.

Optional silent install parameters

AUTOSTARTONREBOOT

Provides an option to configure the auto-start of the Smart Licensing Client upon reboot. The value must be set to True or False.

CLIENTPORT

Specifies the port used for communication between Smart Licensing Client and SDK.

By default, port 8088 is used. You can also specify any custom port value between 1 and 65535, which shall be validated during installation.

COMPANYNAME

Specifies the company name.

If not specified, the username is initialized to Unknown Company.

CONFIGFILE

Provides the path and name of the configuration connection info (.cci) file.

If this file is specified, the installer performs various checks before loading the file, including if the file is valid.

CONFIGPASSWORD

Specifies the password for the configuration (if one has been set by the administrator).

ENABLETOASTING

Provides the option to turn the toast notifications on or off. The value must be True or False.

INSTALLLOCATION

Specifies a path to the location where the software is to be installed.

MANUALPROXYADDRESS

Specifies the address of the proxy if the PROXYTYPE is specified as manual or custom.

MANUALPROXYPORT

Specifies the port used by the proxy if the PROXYTYPE is specified as manual or custom.

PACFILEURL

Specifies the URL address of the Proxy Auto Configure script if a PROXYTYPE pacfile is specified.

PROXYREFRESHINTERVAL

Specifies how often the Smart Licensing Client should check for updated proxy settings.

PROXYTYPE

Specifies the type of proxy that is used in your environment. Valid values available are: none, pacfile, manual, custom, autodiscovery, and wpad.

  • If PROXYTYPE is specified as manual, both the MANUALPROXYADDRESS and MANUALPROXYPORT must be set.

  • If PROXYTYPE is specified as pacfile, the PACFILEURL must be specified.

  • If PROXYTYPE is specified as autodiscovery or none, no other flags need to be specified.

SERVICEUSERNAME

Provides a domain account. For example: MYDOMAIN\myuser.

You only need to include this parameter if your proxy requires authentication, or if you want to load the configuration file for an AD group.

SERVICEPASSWORD

Provides the password of the domain account specified by SERVICEUSERNAME parameter.

USERNAME

Specifies the username.

If not specified, the username is initialized to Unknown User.

Smart Licensing Client creates a Proxy.config file to store your proxy settings in the following location: C:\ProgramData\Smart Application Data Service\Proxy.config.

Examples for silent install

The following example shows a silent installation in which the source location path, configuration connection info (.cci) file, password, and installation location are all specified.

"E:\Smart Licensing\Smart Licensing Client Setup.exe" -silent -install SLAACCEPT=YES CONFIGFILE="E:\Smart Licensing Client\ConfigurationConnectionInfoFile.cci" CONFIGPASSWORD=pswd INSTALLLOCATION="D:\Smart Licensing"

The following example shows a silent installation in which PowerShell is used:

& "E:\Smart Licensing\Smart Licensing Client Setup.exe" -silent -install SLAACCEPT=YES CONFIGFILE="E:\Smart Licensing\ConfigurationConnectionInfoFile.cci" CONFIGPASSWORD=pswd INSTALLLOCATION="D:\Smart Licensing" | Out-Null

| Out-Null sends output to the "bit bucket," thereby waiting for completion before continuing.

Example for silent uninstall

The following example shows a silent un-installation where the source location path is E:\Smart Licensing Client.

"E:\Smart Licensing\Smart Licensing Client Setup.exe" -silent -uninstall

To perform a silent uninstall, you must have the original installation media.