Recently Viewed Topics
The installation of the LCE Windows Client can be accomplished from a command line or script via the execution of msiexec.exe. This makes it possible to perform remote installations of LCE Windows Clients for multiple hosts.
To facilitate this process, the option exists to set the client’s initial configuration settings at the time of the installation from the same command.
The following table contains a list of PUBLIC properties for the Tenable LCE Windows Client MSI install package. Because all parameters (except LCE server IP address and port) are set using policies on the server, there are only the two options available.
|SERVERIP||The IP address or hostname of the LCE server. The maximum length of the hostname is 46 characters. If not specified, the value is set to 203.0.113.250.|
|SERVERPORT||The port used to communicate with the LCE server. The default port is 31300.|
Caution: Versions of the LCE Windows Client earlier than 4.4 also provided the SERVERNAME property. That property is deprecated and should not be used.
Before You Begin
Using a script or via the command line, execute the following:
msiexec.exe /qn /i "<Package File>" SERVERIP="<Server IP or Hostname>" SERVERPORT=<Port Number>
- <Package File> corresponds to the directory location and name of the .msi file. For example, C:\Users\Administrator\Downloads\<LCE Client Installer>.msi, where <LCE Client Installer> is the file name of the .msi file.
- <Server IP or Hostname> corresponds to the IP address or hostname of the LCE server that you want the LCE Windows Client to communicate with. The hostname can be a maximum length of 46 characters.
- <Port Number> corresponds to the port used to communicate with the LCE server. Specify an integer between 1 and 65535. The default port is 31300.
The /qn in the executed command instructs the .msi file to run with no user feedback. When performing an installation from the command line, the /qn option can be used to keep the installation program from stopping the process to ask if previous settings should be applied. If desired, the /passive option can be used in place of /qn, which will display the progress of the installation, but it doesn’t allow for user interaction.
The /i is the operative parameter that specifies the name of the file to be installed.
If a log file of the installation is desired, /l can be used, followed by the path to the log file. For example:
msiexec.exe /l C:\Users\Administrator\Documents\lce_client_install.txt /passive /i "C:\Users\Administrators\Downloads\<LCE Client Installer>" SERVERIP="127.0.0.2" SERVERPORT=31300, where <LCE Client Installer> is the file name of the .msi file.
If you want the log file to include all installation information including debug information, instead of /l, specify /lvx*. For example:
msiexec.exe /lvx* "install_log.txt" /passive /i "C:\Users\Administrators\Downloads\<LCE Client Installer>" SERVERIP="127.0.0.2" SERVERPORT=31300, where <LCE Client Installer> is the file name of the .msi file.