Silent Installation of Mail Express Server

The Mail Express Server installer supports silent installation, maintenance, and removal. Installation proceeds without any prompts or visual indications to the user. The installer logging functionality may be used to verify the outcome and diagnose potential issues.

To initiate a silent installation use the /S command-line parameter and provide additional parameters as described in Installation Command-Line Parameters.

The sections below provide information on the required and optional command line parameters for each of the main functions or paths in the installer.

New Installation Using an Internal Evaluation Database

This path will instruct the installer to install the Mail Express Server and the internal SQL Server 2008 R2 Express database instance, initialize the database, and set it for use by the Mail Express Server. This database instance is intended for evaluation purposes. Production environments should use an external SQL Server 2008 R2 database.

This option is only applicable when the Mail Express Server is not already installed.

Required Parameters

Optional Parameters

  • /DatabaseType=”INTERNAL”

  • /AdminUsername=”<username>”

  • /AdminPassword=”<password>”

  • /AdminEmail=”<email>”

 

  • /S

  • /debug

  • /logfile=”<file>”

  • /InstallDirectory=”<path>”

  • /AttachmentDirectory=”<path>”

  • /StartMenuGroup=”<group>”

  • /SkipPrereqCheck

  • /SkipDBUtilFirewallUpdate

  • /SkipDesktopShortcut

  • /SkipStartService

  • /SkipSQLServerPrereqCheck

  • /SkipSQLServerInstall

  • /SkipSQLServerSettings

  • /SkipSQLServerCreateDB

  • /SkipSQLServerCreateDBUser

  • /SkipSQLServerCreateSchema

  • /SkipValidateSQLServerPassword

New Installation Creating a New External Database and Database User

This option installs the Mail Express Server and creates a database and database user on an external SQL Server database instance.

This option is only applicable when the Mail Express Server is not already installed.

Required Parameters

Optional Parameters

  • /DatabaseType=”EXTERNAL_SQLSERVER”

  • /ExternalDatabaseMode=”CREATE”

  • /AdminUsername=”<username>”

  • /AdminPassword=”<password>”

  • /AdminEmail=”<email>”

  • /DatabaseServerName=”<server>”

  • /AuthenticationType=”<type>”

  • /LoginName=”<username>” if /AuthenticationType=”SQLSERVER”

  • /LoginPassword=”<username>” if /AuthenticationType=”SQLSERVER”

  • /DBOAuthenticationType=”<type>”

  • /DBOLoginName=”<username>”

  • /DBOPassword=”<password>” if /DBOAuthenticationType=”SQLSERVER”

  • /S

  • /debug

  • /logfile=”<file>”

  • /InstallDirectory=”<path>”

  • /AttachmentDirectory=”<path>”

  • /StartMenuGroup=”<group>”

  • /SkipPrereqCheck

  • /SkipDBUtilFirewallUpdate

  • /SkipDesktopShortcut

  • /SkipStartService

  • /SkipSQLServerCreateDB

  • /SkipSQLServerCreateDBUser

  • /SkipSQLServerCreateSchema

  • /SkipValidateSQLServerPassword

  • /DatabasePort=”<port>”

  • /DatabaseInstanceName=”<instance name>”

  • /DatabaseName=”<database name>”

New Installation Using an Existing Database and Database User

This option installs the Mail Express Server and uses an existing database and database user on an external SQL Server database instance.

This option is only applicable when the Mail Express Server is not already installed.

Required Parameters

Optional Parameters

  • /DatabaseType=”EXTERNAL_SQLSERVER”

  • /ExternalDatabaseMode=”EXISTING”

  • /AdminUsername=”<username>”

  • /AdminPassword=”<password>”

  • /AdminEmail=”<email>”

  • /DatabaseServerName=”<server>”

  • /AuthenticationType=”<type>”

  • /LoginName=”<username>” if /AuthenticationType=”SQLSERVER”

  • /LoginPassword=”<username>” if /AuthenticationType=”SQLSERVER”

  • /S

  • /debug

  • /logfile=”<file>”

  • /InstallDirectory=”<path>”

  • /AttachmentDirectory=”<path>”

  • /StartMenuGroup=”<group>”

  • /SkipPrereqCheck

  • /SkipDBUtilFirewallUpdate

  • /SkipDesktopShortcut

  • /SkipStartService

  • /SkipSQLServerCreateSchema

  •  /SkipValidateSQLServerPassword

  • /DatabasePort=”<port>”

  • /DatabaseInstanceName=”<instance name>”

  • /DatabaseName=”<database name>”

Reinstall

This path will instruct the installer to reinstall the Mail Express Server software.

This path is only applicable when the Mail Express Server is already installed and its version is the same as the installer.

Required Parameters

Optional Parameters

  • /InstallerOperation=REINSTALL

  • /S

  • /debug

  • /logfile=”<file>”

  • /SkipPrereqCheck

  • /SkipDBUtilFirewallUpdate

  • /SkipDesktopShortcut

  • /SkipStartService

Upgrade

This option upgrades an existing installation of the Mail Express Server software and associated database.

This option is only applicable when an older version of the Mail Express Server is currently installed.

Required Parameters

Optional Parameters

  • /InstallerOperation=UPGRADE

  • /S

  • /debug

  • /logfile=”<file>”

  • /AuthenticationType=”<type>”

  • /LoginName=”<username>” if /AuthenticationType=”SQLSERVER”

  • /LoginPassword=”<username>” if /AuthenticationType=”SQLSERVER”

  • /SkipPrereqCheck

  • /SkipDBUtilFirewallUpdate

  • /SkipDesktopShortcut

  • /SkipStartService

  • /SkipSQLServerCreateSchema

Uninstall

This option removes an existing installation of the Mail Express Server software.

This option is only applicable when the Mail Express Server is already installed.

Required Parameters

Optional Parameters

  • /InstallerOperation=UNINSTALL

  • /S

  • /debug

  • /logfile=”<file>”

  • /SkipSQLServerUninstall

Modify the Database Configuration

This option modifies the database settings currently in use by the Mail Express Server.

This path is only applicable when the Mail Express Server is already installed and its version is the same as the installer.

Required Parameters

Optional Parameters

  • /InstallerOperation=DATABASE

  • /DatabaseServerName=”<server>”

  • /S

  • /debug

  • /logfile=”<file>”

  • /DatabasePort=”<port>”

  • /DatabaseInstanceName=”<instance name>”

  • /DatabaseName=”<database name>”

  • /AuthenticationType=”<type>”

  • /LoginName=”<username>” if /AuthenticationType=”SQLSERVER”

  • /LoginPassword=”<username>” if /AuthenticationType=”SQLSERVER”