MailEnable Installer and automated software deployment


SUMMARY

How to complete a silent install of MailEnable.

DETAIL

MailEnable has a command line option available for a silent install. This is done by running the installation program with the /s command line option. This works for all versions of the installer. No dialog or prompt will be shown when doing this. By default the installer will set the program and email data location to the C:\Program Files (x86)\Mail Enable directory. If you want to set the install location you can do this by setting the following registry keys before the install:

[HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Mail Enable\Mail Enable]
"Program Directory"="C:\\Program Files (x86)\\Mail Enable"
"Configuration Directory"="C:\\Program Files (x86)\\Mail Enable\\CONFIG"
"Mail Root"="C:\\Program Files (x86)\\Mail Enable\\POSTOFFICES"

Other options you would like to set for new installations could be done by editing the Windows registry. Some locations for these can be found elsewhere in the knowledgebase or developer documentation.  

MailEnable Installer Overview
The MailEnable installer (meinstaller.exe) is an application that is installed with MailEnable and allows you to redo some installation steps. The utility can also be used interactively or by command line. You may wish to do this to reset permissions, passwords of the Windows accounts used by the services, and other items. If you run the MEInstaller.exe application with no parameters it will display a list of components that can be installed. The MEInstaller.exe application will also accept an array of command line parameters. These are outlined as follows:

MEInstaller Password Component [Action] [DEBUG]
To pass any parameters to the MEInstaller application, the first two parameters are mandatory. These contain a password and the name of the component that is to be installed/uninstalled, etc. Some examples are:

meinstaller.exe password NETWEBMAIL /S

meinstaller.exe password HARDEN IME_SYSTEM

Password Parameter
The password is used to update or create the service accounts that MailEnable requires (the IME_USER and IME_ADMIN accounts). The MailEnable installation will automatically generate a password when MailEnable is installed. Ensure that any
password used here adheres to any machine based policy with respect to minimum password length, alphanumeric etc. As mentioned earlier, the password parameter must be specified irrespective of the component that is being installed.

Component Parameter
The component parameter determines which module or system component should be installed or configured. These are outlined as follows:

STANDARD - This option is called to configure the core components. This includes creating accounts and setting permissions on MailEnable components and directories. You must supply the password parameter when installing this component.
GENERAL - Shutsdown the MailEnable COM+ Packages. The COM+ packages are used as core components of web mail and web administration. This option is only used to attempt to release/free the libraries so that they can be updated.
NETWEBMAIL - This option installs, registers and configures the MailEnable web mail component libraries. You must supply the password parameter when installing this component.
NETWEBADMIN - This option installs, registers and configures the MailEnable web administration component libraries. You must supply the password parameter when installing this component.
AV - This option installs and configures the registry keys associated with antivirus. It re-generates the list of antivirus applications that can be used by MailEnable.
ANTISPAM - This is a system option to re-generate the registry keys for anti-spam open relay databases
MMC - MailEnable Microsoft Management Console snap-ins and resource libraries. This option will clean the registry and re-register these components. This option should only be called if there are registration problems with the MMC. This is only used for versions of MailEnable earlier than version 7.

Action Parameter
The action parameter determines what operation is to be performed on the Component specified in the parameter list.

A list of available parameters values follows:

{None} Install a named component
/U This option uninstalls a named component
/S Silently install the named component
/AUTO Installs all Components of a comma delimited list of Component Names read from the following registry key:
KeyRoot: SOFTWARE\Mail Enable\Mail Enable\Installation
Value Name: Auto
Value Type: REG_SZ



Product:MailEnable (ME-1.X ME-2.X Pro-Any Pro-1.X Pro-2.X Ent-Any Ent-1.X Ent-2.X)
Article:ME020471
Module:Installer
Keywords:command,line,install,installation,automate,automatic,software,installer,deploy,deployment
Class:HOWTO: Product Instructions
Revised:Monday, July 7, 2025
Author:
Publisher:MailEnable