MailStore Client Deployment

Revision as of 16:47, 13 December 2010 by Vivian (talk | contribs)

Using a software distribution system, MailStore Client can be distributed among the users' computers automatically. To be able to do so, the distribution system must be able to execute MailStore Client's setup program without requiring any input or confirmations.

Using Group Policies


In addition to being installed manually, MailStore Client can also be distributed to all user computers using Active Directory. Once the distribution process is set up successfully, MailStore Client will be installed automatically when the user logs on. This process runs in the background and requires no action on part of the user. Immediately after the distribution, the user can start and use MailStore Client as usual. A shortcut icon on the desktop is created automatically.

Example: Setting up distribution in Windows Server 2003

  • Download MailStore Client in .msi format from the MailStore website
  • Save MailStore Client in a directory on the server that is released and accessible to all users of the domain.
  • Open the Group Policy Management Console. If this is not available, download the installation routine under
  • Install the console.
  • Open the group policy management console of the Windows server
  • Right-click on the administrative folder Group Policy Objects, select New and create a new group policy object called MailStore Deployment.
    Tech client 01.png
  • Highlight the new object and click on Edit. Expand User Configuration and Software Settings and right-click on Software installation. Select New and Package...
    Tech client 02.png
  • Select an MSI package. Please keep in mind that the path for the file must be entered in UNC notation (e.g. \\Server\Setup\MailStoreClientsetup...) and that the users of the domain have to have read-access to this directory share.
  • In the following dialog window, select Advanced and click OK.
    Tech client 03.png
  • On the next screen, please select the settings as shown below:
    Tech client 04.png
  • Click on OK to confirm all settings. The group policy should look similar to the one shown below:
    Tech client 05.png
  • Close the group policy editor. The group policy is now configured and can be linked to the corresponding user objects. Linking is done using organizational units (OU).
  • Highlight the organizational unit (OU) which contains the desired user objects, right-click on the OU (DE_Viersen in the example below) and select the option Link an Existing GPO. In the dialog window Select GPO, highlight MailStore Deployment and click on OK.
    Tech client 06.png
  • The group policy is now available and becomes active the next time users log on to the Windows client.


With group policies, the MailStore Client software on the user machines can be updated automatically. This becomes necessary if MailStore Server is updated because the server can only be accessed by clients with the same software version. To edit an existing MailStore deployment group policy so that an automatic update of the clients can be performed, please proceed as follows:

  • Open the existing group policy MailStore Deployment. Create a new package and select the updated MailStore Client MSI file. In the following dialog window, select Advanced and click on OK. Please select the settings as shown below:
    Tech client 07.png
  • In the Updates tab, click on Add and select the software to be updated. Choose the settings as shown below and click on OK and confirm by clicking on OK again.
    Tech client 08.png
  • The group policy should look similar to the one in the following graphic:
    Tech client 09.png

MailStore Client will be updated the next time users log on to their Windows workstations.

To avoid complications when installing software using group policies, the following settings for the MailStore Deployment group policy should be adjusted as well:

  • Activate Computer Configuration/Administrative Templates/System/Scripts\Run logon scripts synchronously
  • Activate Configuration/Administrative Templates/System/Logon\Always wait for the network at computer startup and logon


Installation of Group Policy Template

Configuring MailStore Client

It is possible to set up the hostname or IP-Address of your MailStore Server and whether the MailStore Client should automatically login to your MailStore Server.

Ms client settings 01 en.png
  • Use Autologon to MailStore Server
    Enables or disables the AutoLogon function
  • Server Name:
    In case AutoLogon is enabled, you should also tell the MailStore Client to which server it should connect. The format can either be the hostname or an IP-Address. If MailStore Server is listening on other that the default ports, it is required to add the port information to the hostname or IP-Address in the format :port.


Per Gruppenrichtlinie verteilte Installation

Ebenso wie die Verteilung kann auch die Deinstallation der Softwarepakete über Gruppenrichtlinien erfolgen. Gehen Sie hierzu wie folgt vor:

  • Öffnen Sie die Gruppenrichtlinien-Verwaltungskonsole Ihres Windows-Servers.
  • Erweitern Sie den Verwaltungsordner Gruppenrichtlinienobjekte.
  • Klicken Sie mit der rechten Maustaste auf das für die Softwareverteilung von MailStore erstellte Gruppenrichtlinien-Objekt wählen Sie bearbeiten
  • Erweitern Sie Benutzerkonfiguration | Softwareeinstellungen | Softwareinstallation
  • Klicken Sie mit der rechten Maustaste im Detailbereich auf das zu entfernende Paket und wählen Sie Alle Aufgaben -> Entfernen...
  • Im folgenden Auswahldialog wählen Sie Software sofort von Benutzern und Computern deinstallieren und schließen Sie die Auswahl mit OK ab
  • Schließen Sie alle offenen Fenster und beenden Sie den Gruppenrichtlinieneditor
  • Die Deinstallation der Software erfolgt während der nächsten Anmeldung des Benutzers am Server

Without using Group Policies


The silent installation of MailStore Client requires the regular setup program, which can be downloaded from the MailStore website. The request for the silent installation is made to the command line. For example:

 MailStoreClientSetup.exe /SP- /SILENT /SUPPRESSMSGBOXES /LOG="log.txt" /NOCANCEL

The command line used in this example will execute a setup which does not require any input or confirmations yet displays the current status of the installation on the screen. To hide the installation progress, simply exchange /SILENT with /VERYSILENT: