You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

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

LM-X End-user Tools can be installed silently (that is, unattended) 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
SERVICEDISPLAYNAMEDisplay 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 Unix

The LM-X SDK and End-user Tools can be installed silently (that is, unattended). The LM-X installer uses makeself, which can be used to automate installation of the SDK and the end user tools on end users' machines. This page lists only the makeself options that are relevant to the LM-X installation (the information below pertains to the SDK, but the same options can be used for end user tools). You can find out more about makeself and the makeself options at http://github.com/megastep/makeself/blob/master/README.md.

Syntax

 ./lmx-sdk_version_number_platform.sh --option [additional_arguments]

where version_number is your LM-X SDK version number. For example:

 ./lmx-sdk_v4.4.4_linux_x64.sh --help

Options

The following table lists the options that can be used to get help or information about ./lmx-sdk_version_number_platform.sh:

Option

Description

--helpOutput examples of all available installer actions.
--infoPrint embedded information: title, default target directory, embedded script, etc.
--listPrint the list of files in the archive.
--checkCheck integrity of the archive.

The following table lists some of the options that can be used to run ./lmx-sdk_version_number_platform.sh:

OptionDescription
--confirmAsk before running embedded script.
--quietDo not print anything except error messages.
--noexecDo not run embedded script.
--keepDo not erase target directory after running the embedded script.
--noprogressDo not show the progress during the decompression.
--target pathExtract directly to a target directory. The directory path can be either absolute or relative.
--

Following arguments will be passed to the embedded script.

Example

To extract files from the installer without running the installer script, run the command:

./lmx-sdk_v4.4.4_linux_x64.sh --noexec --target /extraction_path

After issuing the above command, all files in the installer are extracted under the specified path. LM-X SDK distribution files are located under /extraction_path/lmx-sdk_platform, where platform is a directory named according to the LM-X SDK platform.

For example, executing ./lmx-sdk_v4.4.4_linux_x64.sh --noexec --target /tmp/lmx_v4.4.4 will create the following four files and one subdirectory under a directory named /tmp/lmx_v4.4.4:

  • eula.txt
  • install-header.sh
  • install.sh
  • lacutil
  • linux_x64 (subdirectory that contains the LM-X SDK files)

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 (that is, unattended) on Linux as described below. 

LM-X SDK installation

You can run a silent installation of the LM-X SDK at a command line by typing the following:

./lmx-sdk_LM-X_version_platform.sh

For example:

./lmx-sdk_v4.5.2_linux_x64.sh

You can use the following options with the SDK installer:

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:

./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.”

./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 installation of the LM-X End-User Tools at a command line by typing the following:

./lmx-enduser-tools_LM-Xversion_platform.sh

For example:

./lmx-enduser-tools_v4.5.2_linux_x64.sh

You can use the following arguments with the LM-X End-User Tools installer:

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.
-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.”

./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. 

./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


  • No labels