Installing Metadefender Core Using the Command Line
Note: Installing Metadefender Core from the command line requires Windows Installer 3.0 or higher.
Command line options
Important: Command line options for Metadefender Core 3.7 and later are different than the command line options available for versions 3.6 or older. Older command line options will not work with versions 3.7 or later.
The following command line options are available with Metadefender Core.
Note:
The Packages column indicates which Metadefender Core package(s) each command line switch is available for: either 1, 4, 8, 12, 16, or ALL. All arguments are case sensitive. “Repair Metascan” is currently not supported for Metadefender Core version 3.7.
Command Line Option |
Description |
Example |
Packages |
/install |
Install Metadefender Core |
C:\Metadefender_Core.exe /install |
ALL |
/uninstall |
Uninstall Metadefender Core and delete all files installed by Metadefender Core |
C:\Metadefender_Core.exe /uninstall |
ALL |
/log <log-file-name> |
Create installation log file |
C:\Metadefender_Core.exe /log C:\omsinst.log |
ALL |
/silent |
Run Metadefender Core installation silently |
C:\Metadefender_Core.exe /silent |
ALL |
INSTALLLOCATION=<install-path> |
Sets the install location for Metadefender Core |
c:\Metadefender_Core.exe /i c:\Metascan.msi INSTALLLOCATION="c:\Metascan" |
ALL |
ADDLOCAL=<comma-separated-feature-list> |
Install selected features only. Please see table below for list of features. |
c:\Metadefender_Core.exe ADDLOCAL="RamdrvSupport, EsetEng,CaEng" |
ALL |
SERVICESTOPPED=1 |
Install Metadefender Core with the Metadefender Core Windows service in a stopped state. This will install Metadefender Core with automatic engine updates turned off. Not officially documented yet. |
C:\Metadefender_Core.exe SERVICESTOPPED=1 |
ALL |
REST=0 |
This will avoid IIS Express, the webserver and all features that rely on the webserver to work. This includes all REST APIs, Web Management Console, Mail Agent, & Metascan Client. |
C:\Metadefender_Core.exe REST=0
|
ALL |
UPDATEOFF=0 |
This installs Metadefender Core with automatic engine updates turned off. Not officially documented yet. |
C:\Metadefender_Core.exe UPDATEOFF=1 |
ALL |
Note: Entries in the Feature Name column are case-sensitive.
Feature Name |
Description |
Package |
RamdrvSupport |
RAM Drive |
ALL |
RestSvcE |
Metascan REST Server |
ALL |
Docs |
Documentation |
ALL |
MetascanClient |
Metascan Client |
ALL |
ClamavEng |
ClamAV scan engine |
ALL |
AhnlabEng |
Ahnlab scan engine |
4, 8, 12, 16, 20 |
AviraEng |
Avira scan engine |
4, 8, 12, 16, 20 |
EsetEng |
ESET scan engine |
4, 8, 12, 16, 20 |
CaEng |
Total Defensescan engine |
8, 12, 16, 20 |
ZillyaEng |
Zillya! scan engine |
8, 12, 16, 20 |
QuickhealEng |
Quick Heal scan engine |
8, 12, 16, 20 |
BitDefenderEng |
BitDefender scan engine |
8, 12, 16, 20 |
IkarusEng |
Ikarus scan engine |
12, 16, 20 |
IncaEng |
nProtect scan engine |
12, 16, 20 |
K7Eng |
K7 scan engine |
12, 16, 20 |
AVGEng |
AVG scan engine |
12, 16, 20 |
VirusBlokAdaEng |
VirusBlokAda scan engine |
16, 20 |
EmsisoftEng |
Emsisoft scan engine |
16, 20 |
FriskEng |
F-Prot scan engine |
16, 20 |
KasperskyEng |
Kaspersky scan engine |
16, 20 |
McAfeeEng |
McAfee scan engine |
20 |
NanoEng |
NanoAV scan engine |
20 |
SophosEng |
Sophos scan engine |
20 |
TGSoftEng |
Vir.IT eXplorer scan eigne |
20 |