1.3 Unattended command line installation
With the unattended installation of the command line (hereinafter referred to as “silent installation”) there are further possibilities for configuring IKARUS anti.virus.
IMPORTANT: This kind of installation is possible only with the MSI installers of the IKARUS anti.virus software and is intended exclusively for advanced users and system administrators. Downloads can be found at:
https://www.ikarussecurity.com/en/private-customers/ikarus-anti-virus/#downloads-antivirus
In order to perform a silent installation of IKARUS anti.virus, a CMD window opened with administrative privileges is needed.
The correct syntax for the silent installation is:
msiexec /q /l* SetupLog.txt /i SetupProject.msi PROPERTY=VALUE
The parameter /l* SetupLog.txt
is for the log file of the setup and can be omitted.
Instead of SetupProject.msi
also an absolute path can be provided (e.g. C:setupsetup.msi
). If no absolute path is provided, the current folder in the CMD window must be the one containing the setup file. The syntax of PROPERTY=VALUE
is very important. PROPERTY
must be written in capital letters. Furthermore no whitespaces are allowed (e.g. PROPERTY=VALUE
). The order of the properties is not important.
An example for a valid and correct syntax is: msiexec.exe /q /l* setuplog.txt /i SetupProject.msi ACCEPTLICENSEAGREEMENT="yes"USEPROXY="yes" PROXY="127.0.0.1:8080"
The following properties are currently supported for the silent installation.
(Default values, if property is not set, are written in bold letters).
Mandatory:
The only mandatory property for the silent installation is accepting the license agreements.
ACCEPTLICENSEAGREEMENT (yes)
– Has to be accepted.
Anti.virus-Settings:
Proxy:
USEPROXY (yes/no)
– Uses the defined proxy server
PROXY (Host:Port)
– Defined proxy server
Dependencies:
Port= 1 … 65535
USEPROXY=yes -> PROXY must be set
PROXY is set, USEPROXY not set -> USEPROXY=yes
Protection:
WSYSTEM (yes/no)
– Enable system protection
WEMAIL (yes/no)
– Enable mail protection
WSPAM (yes/no)
– Enable anti-spam protection
UPDATE (yes/no)
– Enable automatic updates
Scan scheduling:
Remark: The default values in bold are only valid if at least one of the following properties is provided. If none are provided, no scheduled scan profile will be created.
AUTOSCAN (yes/no)
– Enable automatic scheduled scan
SCANTYPE (quick/standard/full)
– Scan type for the automatic scan
DAILY (yes)
– Interval for automatic scan
WEEKLY (0-6)
– Interval for automatic scan (0 = Sunday, 5 = default)
MONTHLY (1-31)
– Interval for automatic scan
SCANHOUR (xx:xx)
– Time for automatic scan (17:00 = default)
Dependencies:
- Choose one of the scan intervals (
DAILY, WEEKLY, MONTHLY
)
DAILY
accepts only “yes
“, other parameters lead to an error message
- If one of the properties is provided, the other will be assigned default values. E.g.:
SCANTYPE="standard"
AUTOSCAN="yes"
WEEKLY="5"
SCANHOUR="17:00"
Existing files:
The following existing files can be provided for the silent installation. If not provided, the setup will use the default ones.
The files can be provided independently from each other.
CONFIG (path) |
Path to an existing guardx.conf. E.g.: CONFIG=”C:mydir” If provided, the properties of “Anti.virus-Settings” will be ignored. |
VDB (path) |
Path to an existing t3sigs.vdb. E.g.: VDB=”C:mydir” |
T3 (path) |
Path to an existing t3.dll. E.g.: T3=”C:mydir” |
T3_W64 (path) |
Path to an existing t3_w64.dll. E.g.: T3_W64=”C:mydir” |
SDB (path) |
Path to an existing antispam.sdb. E.g.: SDB=”C:mydir” |
Installation behaviour:
The following properties can change the behaviour during and after the installation.
INSTALLFOLDER (path) |
Install path for the installation. If not provided, default one will be used. Automatically ends with anti.virus. E.g.: “C:myfolder” will be used as “C:myfolderanti.virus” for installation. |
UPDATENOW (yes/no) |
Perform an update after the setup is finished. |
LICENSE (path) |
Absolute path to the license file. E.g.: LICENSE=”C:mydirlicense.ikkey” |
CLOSEOUTLOOK (yes/no) |
Determines whether Outlook should be closed automatically if opened during the installation. Remark: There will be no user interaction. |
Error messages:
If the installation fails, the cause for it can be determined from the created log file.
To determine whether the installation failed because of a wrong property syntax, you should look in the log file for “Error 0x80004005”.
E.g.: If the user agreements have not been accepted, you would find the following line in the log files:
“Error 0x80004005: In order to install IKARUS anti.virus you must accept the license agreement. Please provide the property ACCEPTLICENSEAGREEMENT="yes"
in order to install the product.”
Additional information regarding the silent installation:
https://msdn.microsoft.com/en-us/library/aa367988(VS.85).aspx