Contents
Configuring installers
This section provides information about the files of Kaspersky Security Center installers and the installation settings, as well as recommendations on how to install Administration Server and Network Agent in silent mode.
General information
Installers of Kaspersky Security Center 13.1 components (Administration Server, Network Agent, and Administration Console) are built on Windows Installer technology. An MSI package is the core of an installer. This format of packaging allows using all of the advantages provided by Windows Installer: scalability, availability of a patching system, transformation system, centralized installation through third-party solutions, and transparent registration with the operating system.
Installation in silent mode (with a response file)
The installers of Administration Server and Network Agent have the feature of working with the response file (ss_install.xml), where the parameters for installation in silent mode without user participation are integrated. The ss_install.xml file is located in the same folder as the MSI package; it is used automatically during installation in silent mode. You can enable the silent installation mode with the command line key "/s".
An overview of an example run follows:
setup.exe /s |
Before you start the installer in silent mode, read the End User License Agreement (EULA). If the Kaspersky Security Center distribution kit does not include a TXT file with the text of the EULA, you can download the file from the Kaspersky website.
The ss_install.xml file is an instance of the internal format of parameters of the Kaspersky Security Center installer. Distribution packages contain the ss_install.xml file with the default parameters.
Please do not modify ss_install.xml manually. This file can be modified through the tools of Kaspersky Security Center when editing the parameters of installation packages in Administration Console.
To modify the response file for Administration Server installation:
- Open the Kaspersky Security Center distribution package. If you use a full package EXE file, then unpack it.
- Form the Server folder, open the command line, and then run the following command:
setup.exe /r ss_install.xml
The Kaspersky Security Center installer starts.
- Follow the Wizard's steps to configure the Kaspersky Security Center installation.
When you complete the Wizard, the response file is automatically modified according to the new settings that you specified.
Installation of Network Agent in silent mode (without a response file)
You can install Network Agent with a single .msi package, specifying the values of MSI properties in the standard way. This scenario allows Network Agent to be installed by using group policies. To avoid conflicts between parameters defined through MSI properties and parameters defined in the response file, you can disable the response file by setting the property DONT_USE_ANSWER_FILE=1
. An example of a run of the Network Agent installer with an .msi package is as follows.
Installation of Network Agent in non-interactive mode requires acceptance of the terms of the End User License Agreement. Use the EULA=1
parameter only if you have fully read, understand and accept the terms of the End User License Agreement.
Example:
|
You can also define the installation parameters for an .msi package by preparing the response file in advance (one with an .mst extension). This command appears as follows:
Example:
|
You can specify several response files in a single command.
Partial installation configuration through setup.exe
When running installation of applications through setup.exe, you can add the values of any properties of MSI to the MSI package.
This command appears as follows:
Example: /v"PROPERTY_NAME1=PROPERTY_VALUE1 PROPERTYNAME2=PROPERTYVALUE2" |
Administration Server installation parameters
The table below describes the MSI properties that you can configure when installing Administration Server. All of the parameters are optional, except for EULA and PRIVACYPOLICY.
Parameters of Administration Server installation in non-interactive mode
MSI property |
Description |
Available values |
---|---|---|
EULA |
Acceptance of the licensing terms (required) |
|
PRIVACYPOLICY |
Acceptance of the terms of the Privacy Policy (required) |
|
INSTALLATIONMODETYPE |
Type of Administration Server installation |
|
INSTALLDIR |
Application installation folder |
String value. |
ADDLOCAL |
List of components to install (separated by commas) |
CSAdminKitServer, NAgent, CSAdminKitConsole, NSAC, MobileSupport, KSNProxy, SNMPAgent, GdiPlusRedist, Microsoft_VC90_CRT_x86, Microsoft_VC100_CRT_x86. Minimum list of components sufficient for proper Administration Server installation:
|
NETRANGETYPE |
Network size |
|
SRV_ACCOUNT_TYPE |
Way of specifying the user for the operation of the Administration Server service |
|
SERVERACCOUNTNAME |
User name for the service |
String value. |
SERVERACCOUNTPWD |
User password for the service |
String value. |
DBTYPE |
Database type |
|
MYSQLSERVERNAME |
Full name of MySQL or MariaDB database server |
String value. |
MYSQLSERVERPORT |
Number of port for connection to MySQL or MariaDB database server |
Numerical value. |
MYSQLDBNAME |
Name of MySQL or MariaDB database server |
String value. |
MYSQLACCOUNTNAME |
User name for connection to MySQL or MariaDB database server |
String value. |
MYSQLACCOUNTPWD |
User password for connection to MySQL or MariaDB database server |
String value. |
MSSQLCONNECTIONTYPE |
Type of use of MSSQL database |
|
MSSQLSERVERNAME |
Full name of SQL Server instance |
String value. |
MSSQLDBNAME |
Name of SQL Server database |
String value. |
MSSQLAUTHTYPE |
Method of authentication for connection to SQL Server |
|
MSSQLACCOUNTNAME |
User name for connection to SQL Server in SQLServer mode |
String value. |
MSSQLACCOUNTPWD |
User password for connection to SQL Server in SQLServer mode |
String value. |
CREATE_SHARE_TYPE |
Method of specifying the shared folder |
|
EXISTSHAREFOLDERNAME |
Full path to an existing shared folder |
String value. |
SERVERPORT |
Port number to connect to Administration Server |
Numerical value. |
SERVERSSLPORT |
Number of port for establishing SSL connection to Administration Server |
Numerical value. |
SERVERADDRESS |
Administration Server address |
String value. |
SERVERCERT2048BITS |
Size of the key for the Administration Server certificate (bits) |
|
MOBILESERVERADDRESS |
Address of the Administration Server for connection of mobile devices; ignored if the MobileSupport component has not been selected |
String value. |
Network Agent installation parameters
The table below describes the MSI properties that you can configure when installing Network Agent. All of the parameters are optional, except for EULA and SERVERADDRESS.
Parameters of Network Agent installation in non-interactive mode
MSI property |
Description |
Available values |
---|---|---|
EULA |
Acceptance of the terms of the License Agreement |
|
DONT_USE_ANSWER_FILE |
Read installation settings from response file |
|
INSTALLDIR |
Path to the Network Agent installation folder |
String value. |
SERVERADDRESS |
Administration Server address (required) |
String value. |
SERVERPORT |
Number of port for connection to Administration Server |
Numerical value. |
SERVERSSLPORT |
Number of the port for encrypted connection to Administration Server by using SSL protocol |
Numerical value. |
USESSL |
Whether to use SSL connection |
|
OPENUDPPORT |
Whether to open a UDP port |
|
UDPPORT |
UDP port number |
Numerical value. |
USEPROXY |
Whether to use a proxy server |
|
PROXYLOCATION (PROXYADDRESS:PROXYPORT)
|
Proxy address and number of port for connection to proxy server |
String value. |
PROXYLOGIN |
Account for connection to proxy server |
String value. |
PROXYPASSWORD |
Password of account for connection to proxy server (Do not specify any details of privileged accounts in the parameters of installation packages.) |
String value. |
GATEWAYMODE |
Connection gateway use mode |
|
GATEWAYADDRESS |
Connection gateway address |
String value. |
CERTSELECTION |
Method of receiving a certificate |
|
CERTFILE |
Path to the certificate file |
String value. |
VMVDI |
Enable dynamic mode for Virtual Desktop Infrastructure (VDI) |
|
LAUNCHPROGRAM |
Whether to start the Network Agent service after installation |
|
NAGENTTAGS |
Tag for Network Agent (has priority over the tag given in the response file) |
String value. |