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: All arguments are case sensitive. The Packages column indicates which Metadefender Core package(s) each command line switch is available for: either 1, 4, 8, 12, 16, or ALL.

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

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 that command line options were changed with the release of Metadefender Core 3.7 (which was then branded as Metascan 3.7). Command line options from earlier versions are no longer applicable. For example, “Repair Metascan” is no longer supported

Feature options

The features below can be added by using the ADDLOCAL command line option, as described in the table above.

Note: Entries in the Feature Name column are case-sensitive. T he Packages column indicates which Metadefender Core package(s) each command line switch is available for: either 1, 4, 8, 12, 16, or ALL.

Feature Name

Description

Package

RamdrvSupport

RAM Drive

ALL

Docs

Documentation

ALL

MetascanClient

Metascan Client

ALL

ClamwinEng

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 Defense scan engine

8, 12, 16, 20

TGSoftEng

Vir.IT eXplorer 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

CyrenEng

Cyren scan engine

12, 16, 20

VirusBlokAdaEng

VirusBlokAda scan engine

16, 20

EmsisoftEng

Emsisoft scan engine

16, 20

ZillyaEng

Zillya! 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

AntiyEng

Antiy scan engine

20