Installation from a command line

EEI Server installation using the command line

important

Important

Make sure that you fulfilled the requirements before proceeding with the EEI Server installation. We recommend that you do not install the ESET PROTECT Server and EEI Server on the same machine.

warning

Warning

For installation purposes, use only the user that is created without the Two Factor Authentication option enabled. Otherwise, an error can occur during the installation process.

Immediately after executing the installation command, the command line can be used again, which may seem to you that the application was installed instantly or the installation failed immediately. However, the installation continues in the background.

Installation using a clean new database takes about two minutes. If the database has already been used with EEI Server before, the installation takes more time to finish.

Attribute

Description

Required

Default value

APPDIR

Used to set directory under which application should be installed.

-

By default, the path is "C:\Program Files (x86)\ESET\Enterprise Inspector Server\" for 32-bit OS and "C:\Program Files\ESET\Enterprise Inspector Server" for 64-bit

P_DATABASEHOST

Set the hostname of Database Server.

-

"localhost"

P_DATABASEPORT

Set the port number Database Server operates on.

-

"3306"

P_DATABASEUSER

The user that should be used to modify the database.

-

"root"

P_DATABASEPASSWORD

Password to be used to connect to the database. Even if the database allows users not to use a password, the EEI installer does not allow users without passwords due to security reasons.

yes

-

P_PORTFORSECUREWEB

The port is used for secure connection to the EEI Server frontend.

-

"443"

P_PORTFORWEB

The port is used for standard connection to the EEI Server frontend.

-

"80"

P_PORTFORAGENTS

The port on which the EEI Server is supposed to listen for events reported by Agents.

-

"8093"

P_DATABASENAME

Name of the database which is created for the EEI Server by the installer.

-

"enterpriseinspectordb"

P_ERAHOST

Hostname of ESET PROTECT.

-

"localhost

P_ERAPORT

The port on which ESET PROTECT is configured to listen.

-

"2223"

P_ERAUSER

Name of user used to connect to ESET PROTECT.

-

"Administrator"

P_ERAPASSWORD

Password of the user used to connect to ESET PROTECT

yes

-

P_PATH_OF_CERT_FOR_AGENT

An absolute path, on target PC, as for now we don't support URLs. Mounted remote drives like \\store03 should work

yes

-

P_PATH_OF_CERT_FOR_WEB

An absolute path, on target PC, as for now we don't support URLs. Mounted remote drives like \\store03 should work

yes

-

P_PATH_OF_CERT_AUTH

An absolute path, on target PC, as for now we don't support URLs. Mounted remote drives like \\store03 should work of the user used to connect to ESET PROTECT. It's required if you want to install Agent with Server assisted certification installation.

-

-

P_PASSWORD_OF_CERT_FOR_AGENT

Password of the certificate, if it was entered during the creation process.

-

-

P_PASSWORD_OF_CERT_FOR_WEB

Password of the certificate, if it was entered during the creation process.

-

-

P_DELETE_EXISTING_DB

In the case of installation: If set to "1", and database of a provided name already exists, then this database is deleted and recreated.

In the case of uninstalling: If set to "1", deletes existing application database after removing all files. Does not require providing the database name.

Do not use with reinstall and update.

-

"0"

P_ISTELEMETRYACCEPTED

It is used to enable EEI to send systems telemetry to ESET. It is enabled if different than 0.

-

"1"

P_IS_SERVER_ASSISTED_ERA_CERT_AUTH

It causes the installer to download the ESET PROTECT certificate from ERA Server. It is enabled if different than 0.

-

-

P_PATH_OF_ERA_CERT_AUTH

An absolute path, on target PC, as for now we don't support URLs. Mounted remote drives works. It can be used when ESET PROTECT certificate authority cannot be downloaded from ESET PROTECT by server assisted option.

-

-

P_DATABASETYPE

Choose what type of SQL database you want to use. MySQL or MSSQL

-

MySQL

P_ENABLE_RULES_WITH_SEVERITY_ABOVE

Built-in rules will be marked as disabled if their severity score is not at least given value.

-

39

P_DETECTIONS_STORAGE_DAYS

Number of days after which detections will be removed from a database

-

93

P_EVENT_STORAGE_DAYS

Number of days after which events will be removed from a database

-

7

P_DATA_COLLECTION_LEVEL

Level of data collection allows set type of data stored in a database.

0(Detections only): This mode saves only detections. events and processes not related with detection are discard

1(Most data): This mode saves detections and all processes.

2(All data): This mode saves detections, events and, all processes.

-

0

Sample command to install EEI Server in silent mode using default parameters:

example

Example

msiexec /i eei_server_nt32_ENU.msi /qn /l*vx! _.txt P_ISTELEMETRYACCEPTED=1 P_PATH_OF_CERT_FOR_AGENT="C:\repo\Component\Products\EnterpriseInspector\Src\test\http_server\certs\localhost.pfx" P_PATH_OF_CERT_FOR_WEB="C:\repo\Component\Products\EnterpriseInspector\Src\test\http_server\certs\localhost.pfx" P_PATH_OF_CERT_AUTH="C:\repo\Component\Products\EnterpriseInspector\Src\test\http_server\certs\ca_store\ca.cert.der;C:\repo\Component\Products\EnterpriseInspector\Src\test\http_server\certs\ca_store\intermediate.cert.der" P_DATABASEPASSWORD="Aa123" P_ERAPASSWORD="qqqq" P_PASSWORD_OF_CERT_FOR_AGENT="!eset2@" P_PASSWORD_OF_CERT_FOR_WEB="!eset2@"

note

Note

All parameters in this example have to be used in one line in the command prompt.