Installing from Command Line

Available Parameters

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

NameDescription
/silentSet this parameter to run the installation without user interaction, displaying any graphical user interface, or progress indicators.
/passiveSet 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.
/uninstallSet 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.

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 an SQL Server using SQL Server Authentication.

cmd
Copy

Example 2

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

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

cmd
Copy

Example 3

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

cmd
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard