Installing Light Agent for Windows from the command line
July 22, 2024
ID 73618
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 from the command line:
- Setup.ini. This file is created manually and contains the application installation settings.
- The configuration file install.cfg. This file is used for importing previously configured settings of Light Agent. You can create this file in the local interface of Light Agent.
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:
setup.exe
msiexec /i <
name of the installation package in MSI format
>
- Follow the application installation wizard 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
where:
EulaAndPrivacyPolicy=1
means that you accept the terms of Kaspersky Security End User License Agreement between you and Kaspersky and the Privacy Policy that describes processing and transmission of data. By setting this parameter to1
, you confirm the following:- You have fully read, understood and accept the terms and conditions of Kaspersky Security End-User License Agreement.
- You have fully read and understood the Privacy Policy, you are aware and agree that your data will be handled and transmitted (including to third countries) as described in the Privacy Policy.
The text of the End-User License Agreement and Privacy Policy is included in the application distribution kit. You must accept the terms of the End User License Agreement and the Privacy Policy to install the application.
ALLOWREBOOT=1|0
means that automatic reboot of the virtual machine is allowed/blocked, if required after installation. The parameter is optional. If theALLOWREBOOT
parameter value is not specified in the command, by default it means that you do not allow the virtual machine reboot after the application installation. Automatic reboot of the virtual machine is possible only in silent mode (with key/qn
).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 from the command line:
USEPVMDETECTION=1
– to install Light Agent to a temporary virtual machine template.For example:
setup.exe /pUSEPVMDETECTION=1
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.For example:
setup.exe /pKLLOGIN=<
user name
> /pKLPASSWD=***** /pKLPASSWDAREA=<
password scope
>
Instead of
<
password scope
>
, you can specify one or more of the following values for theKLPASSWDAREA
parameter, 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 remove 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.
ADDLOCAL=AntiAPTFeature
– to enable integration with Kaspersky Endpoint Agent. Integration with Kaspersky Endpoint Agent is disabled by default.