Installing from Command Line

Available Parameters

Info

All names are case-sensitive. Mistyped or non-existent parameters will be ignored.

Name

Description

/silent

Set this parameter to run the installation without user interaction, displaying any graphical user interface, or progress indicators.

/passive

Set this parameter to run the installation without user interaction, and displaying a graphical user interface only with a progress bar.

/log <log_path>

Set this parameter to change where the install exe (bundle) will write log messages.

/uninstall

Set this parameter to perform an uninstallation of MetaDefender Managed File Transfer™.

InstallFolder=<folder_path>

Set where MetaDefender Managed File Transfer™ should be installed . Default is "C:\Program Files\OPSWAT\MetaDefender Managed File Transfer"

CompleteUninstall=<option>

Set to 1 or yes to perform a complete uninstallation of MetaDefender Managed File Transfer™. Default: no.

CleanInstall=<option>

Set to 1 or yes to perform a clean installation of MetaDefender Managed File Transfer™. Default: no.

DbServer=<server_address>

Set the SQL Server address to install MetaDefender Managed File Transfer™ databases to . A non-default port can be specified. For example: 192.168.0.100,10000

DbDomain=<domain>

Set the domain to be used when connecting to SQL Server with Windows Authentication.

DbUser=<userame>

Set the username to be used when connecting to SQL Server.

DbPassword=<password>

Set the password to be used when connecting to SQL Server.

DbBackupSchedule=<option>

Set whether database backup should be performed to ensure recovery from errors during major changes. Make sure you backup the database manually if you choose never or skip

Options:

  • always (default): Database backup is always created before major changes

  • never: Database backup is never performed. This setting is remembered after installation.

  • skip: Database backup is never performed. After a successful installation Always will be set.

Info

Avoid using the /silent and /passive parameters together, as only the last one specified will be applied.

Examples

Example 1

Install MetaDefender Managed File Transfer™ silently to the path C:\Program Files\OPSWAT\MetaDefender Managed File Transfer.

metadefender-managed-file-transfer.exe /silent InstallFolder="C:\Program Files\OPSWAT\MetaDefender Managed File Transfer"

Example 2

Install MetaDefender Managed File Transfer™ silently to an SQL Server using SQL Server Authentication.

metadefender-managed-file-transfer.exe /silent DbServer="192.168.16.100" DbUser="sa" DbPassword="password"

Example 3

Install MetaDefender Managed File Transfer™ silently to an SQL Server using Windows Authentication.

Info

The Windows authentication user must have "Logon as a Service" rights.

metadefender-managed-file-transfer.exe /silent DbServer="192.168.16.100" DbDomain="domain" DbUser="sa" DbPassword="password"

Example 4

Install MetaDefender Managed File Transfer™ and skip database backups when it would be required.

metadefender-managed-file-transfer.exe DbBackupSchedule=skip