Light Agent installation from the command line must be performed with administrator privileges.
Prior to beginning installation, you need to unpack the distribution package of Light Agent for Windows.
You can use the following files while installing the application via the command line:
If you are planning to use the setup.ini and/or install.cfg files, you need to place these files into the same folder as the files from the Light Agent for Windows distribution package.
Prior to beginning installation to the virtual machine, the virtual machine is searched for applications that could cause conflicts with Light Agents if allowed to run concurrently, and those applications are removed. If such applications could not be automatically removed, installation ends with an error. You can review the list of incompatible software in the incompatible.txt file that is included in the Kaspersky Security application distribution kit.
To install Light Agent for Windows from the command line in interactive mode, run one of the following commands:
msiexec /i <name of the installation package in MSI format>
The Application Installation Wizard starts. Follow its instructions.
The setup.exe file and installation package in MSI format are included in the distribution package Light Agent for Windows.
To install Light Agent for Windows from the command line in silent mode (without starting the Installation Wizard), run one of the following commands:
setup.exe /s /pEulaAndPrivacyPolicy=1 /pALLOWREBOOT=1|0
msiexec /i <name of the installation package in MSI format> EulaAndPrivacyPolicy=1 ALLOWREBOOT=1|0 /qn
ALLOWREBOOT=1|0means that automatic reboot of the virtual machine is allowed / blocked, if required after installation. The parameter is optional. If the parameter value
ALLOWREBOOTis not specified in the command, it means by default that you do not allow the virtual machine to reboot after installation of the application. Automatic reboot of the virtual machine is possible only in silent mode (with key
A restart of the virtual machine may be required if third-party anti-virus software was detected and uninstalled during the installation of Light Agent for Windows.
You can use the following parameters while installing the application via the command line:
USEPVMDETECTION=1– to install Light Agent to a temporary virtual machine template.
INSTALLONPVS=1– to install Light Agent on a virtual machine that uses Citrix Provisioning (Citrix Provisioning Services) technology.
For example, to install Light Agent to a temporary virtual machine template that will be used to create a VDI infrastructure using Citrix Provisioning (Citrix Provisioning Services):
setup.exe /pINSTALLONPVS=1 /pUSEPVMDETECTION=1
KLLOGIN=<user name> KLPASSWD=***** KLPASSWDAREA=<password scope>– for installing Light Agent with a password that secures operations with the application.
setup.exe /pKLLOGIN=<user name> /pKLPASSWD=***** /pKLPASSWDAREA=<password scope>
<password scope>, you can specify one or several of the following values for the parameter
KLPASSWDAREA, separated by a ";":
SET. Set a password to modify the application settings.
EXIT. Set a password to exit the application.
UNINST. Set a password to uninstall the application from the virtual machine.
DISPROTECT. Set a password to disable protection components and stop scan tasks.
ENPROTECT. Set a password to enable protection components.
DISCTRL. Set a password to disable control components.
ENCTRL. Set a password to enable control components.
DISPOLICY. Set a password to disable the Kaspersky Security Center policy.
REPORTS. Set a password to view application reports.