Page tree
Skip to end of metadata
Go to start of metadata
The information on this page refers to LM-X version 4.5.2 and newer, which added silent installation for Linux. Previous versions support silent installation for Windows only.

You can perform silent (that is, unattended) installations on Windows and Linux as described below.

Performing a silent installation of End-user Tools and the license server on Windows

LM-X End-user Tools can be installed silently using msiexec (for details on using msiexec, refer to the Microsoft Developer Network at http://msdn.microsoft.com/en-us/library/windows/desktop/aa367988).

When performing a silent installation, it is recommended to use reduced UI level, which can be triggered by using msiexec with the /qr flag (although the software can also be installed using other /q flags as well).

You can then configure the installation using the following public properties:

PropertyDescriptionDefault
INSTALLDIRPath under which LM-X End-user Tools will be installed.

x86: C:\Program Files (x86)\X-Formation\LM-X End-user Tools version

x64: C:\Program Files\X-Formation\LM-X End-user Tools version x64

INSTALLSERVERIf set to 1, LM-X License Server will be installed alongside the End-user Tools.1
VENDORDLLPATHPath to liblmxvendor.dll that will be copied to INSTALLDIR. Set to empty string to disable copying the dll. Has no effect if INSTALLSERVER <> 1.N/A
INSTALLSERVICEIf set to 1, LM-X License Server will be installed as a service. Has no effect if INSTALLSERVER <> 1.1
SERVICEDISPLAYNAME
Display name of installed LM-X License Server service. Has no effect if INSTALLSERVICE or INSTALLSERVER <> 1.LM-X License Server version

For example:

C:\lmx-sdk-v4.4.6>msiexec /i lmx-enduser-tools_v4.4.6_win32_x86.msi VENDORDLLPATH=C:\lmx-sdk-v4.4.6\win32_x86\liblmxvendor.dll INSTALLDIR=C:\lmx-enduser-v4.4.6 /qr

Performing a silent installation of the SDK and End-user Tools on Linux

The LM-X SDK and End-user Tools can be installed silently on Linux as described below. 

LM-X SDK installation

You can run a silent (that is, unattended) installation of the LM-X SDK at a command line using the following options.

OptionDescription
-c security_config_filename

Use a security configuration file from a previous installation.

-b

Compile the LM-X SDK after installation.

-t

Install the LM-X End-User Tools after LM-X SDK compilation.

-k activation_key

An activation key.

-f license_file_path

License file path.

-e accept | reject

Accept or reject the End User License Agreement.

-i installation_directory

Installation directory.

-hPrint this help message.

Example 1

The following example installs the SDK without compiling it or installing End-User Tools:

sudo ./lmx-sdk_v4.5.2_linux_x64.sh -- -e accept -i /opt/lmx-sdk-4.5.2 -f /home/vendor/Download/lmx.lic

Example 2

The following example:

  • Installs and compiles the SDK
  • Installs the End-User Tools to the path /opt/lmx-sdk-4.5.2
  • Registers the LM-X License Server Service under the default name “lmx-serv-4.5.2.”

sudo ./lmx-sdk_v4.5.2_linux_x64.sh -- -e accept -i /opt/lmx-sdk-4.5.2 -f /home/vendor/Download/lmx.lic -b -t

LM-X End-User Tools installation 

You can run a silent (that is, unattended) installation of the LM-X End-User Tools at a command line using the following options:

OptionDescription
-sStart the LM-X License Server after installation.
-l library_path LM-X vendor library path.
-n service_name Service name (defaults to lmx-serv-version).
-rOverwrite existing service.
-u username Run as the specified user.
-e accept | rejectAccept or reject End User License Agreement.
-i installation_directoryInstallation directory.
-f Force installationOverwrite any existing files.
-pPostpone providing vendor library.
-hPrint this help message.

Example 1

The following example:

  • Accepts the EULA
  • Installs the LM-X License Server and End-User Tools to /opt/lmx-enduser
  • Registers the LM-X License Server Service under the default name “lmx-serv-4.5.2.”

sudo ./lmx-enduser-tools_v4.5.2_linux_x64.sh -- -e accept -i /opt/lmx-enduser -l /home/enduser/Download/liblmxvendor.so

Example 2

The following example:

  • Accepts the EULA
  • Installs the LM-X License Server and End-User Tools to /home/enduser/lmx
  • Makes the “enduser” user an owner
  • Registers the LM-X License Server Service under the name “lmxserv”
  • Starts the service after installation. 

sudo ./lmx-enduser-tools_v4.5.2_linux_x64.sh -- -e accept -i /home/enduser/lmx -l /home/enduser/Download/liblmxvendor.so -u enduser -n lmxserv -s