Install the LCE Windows Client Remotely
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 192.0.2.91.|
|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
To install the LCE Windows Client remotely:
Using a script or via the command line, execute the following:
"<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.
If a log file of the installation is desired, /l can be used, followed by the path to the log file. For example:
/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:
/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 file.