Deploy Thunderbird with MSI installers
IT admins can pre-configure Thunderbird installations for automated deployment on Windows using the MSI installers provided by Thunderbird.

MSI Installers

Thunderbird offers MSI installers per locale and per release channel for 64bit Windows systems to help system administrators customize and deploy Thunderbird in their environments. The MSI installer is a wrapper of the full installer.exe that allows customizations e. g. through the use of an MST file prior to deploying through standard Windows deployment tools such as Active Directory or Microsoft System Center Configuration Manager.
Visit our Systems and Languages download page and choose your preferred language to download a Windows MSI 64-bit installer for the Thunderbird release update channel. We also offer localized MSI installers for the Thunderbird Beta and Thunderbird Daily update channels (note that Thunderbird Daily is an unstable testing and development platform not intended for production environments; make sure to back up important data regularly!).

MSI configuration options for automated deployment

MSI transforms (MSTs) for the Thunderbird MSI installers can be created or edited using the tool of your choice (MS Orca or other) to customize the installation. This article describes the options available.

Thunderbird custom MSI options

Thunderbird provides a number of custom MSI options for convenient automated installation. These options can be used alongside the msiexec common options supported by Thunderbird MSI installers. There are several ways of applying Thunderbird custom MSI options for automated deployment, for example via direct MSI editing, creating transform configurations (.mst), or command line. More details on these methods can be found below. Here's the list of Thunderbird custom MSI options:
  • Set an application folder path: INSTALL_DIRECTORY_PATH="path" path (quoted string): Absolute folder path specifying the complete install location. This folder does not need to exist already (but it can). If INSTALL_DIRECTORY_NAME is set, then this setting will be ignored.
  • Set an application folder name: INSTALL_DIRECTORY_NAME="name" name (quoted string): Name of the installation directory to create within Program Files folder. For example, if INSTALL_DIRECTORY_NAME is set to "Thunderbird Release", then the installation path will be something like "C:\Program Files\Thunderbird Release". The Program Files path used will be the correct one for the architecture of the application being installed and the locale/configuration of the machine; this setting is mainly useful to keep you from having to worry about those differences. If this is set, then INSTALL_DIRECTORY_PATH will be ignored.
  • Create a taskbar shortcut: TASKBAR_SHORTCUT=true|false
    Set to false to disable pinning a shortcut to the taskbar. true by default. This feature only works on Windows 7 and 8; it isn’t possible to create taskbar pins from the installer on later Windows versions.
  • Create a desktop shortcut: DESKTOP_SHORTCUT=true|false Set to false to disable creating a shortcut on the desktop. true by default.
  • Create a start menu shortcut: START_MENU_SHORTCUT=true|false Set to false to disable creating a Start menu shortcut. true by default.
  • Disable the maintenance service: INSTALL_MAINTENANCE_SERVICE=true|false Set to false to disable installing the Mozilla Maintenance Service. This will effectively prevent users from installing Thunderbird updates if they do not have write permissions to the installation directory. true by default.
  • Disable removing distribution subfolder: REMOVE_DISTRIBUTION_DIR=true|false Set to false to disable removing the distribution subfolder from an existing installation that’s being paved over. By default this is true and the folder is removed. The default folder path of the distribution subfolder is "C:\Program Files\Mozilla Thunderbird\distribution\".
  • Prevent rebooting: PREVENT_REBOOT_REQUIRED=true|false Set to true to keep the installer from taking actions that would require rebooting the machine to complete, normally because files are in use. This should not be needed under normal circumstances unless you’re paving over a copy of Thunderbird that was running while the installer was trying to run, and setting this option in that case may result in an incomplete installation. false by default.
  • Bundle extensions: OPTIONAL_EXTENSIONS=true|false Set to false to disable installing any bundled extensions that are present. true by default.
  • Application files extraction directory: EXTRACT_DIR="directory" Extract the application files to the given directory and exit without actually running the installer. Of course, this means all other options will be ignored.

MSIEXEC command line options

The command line options for msiexec.exe (the Windows component responsible for installing, uninstalling, and otherwise working with MSI files) are documented here and also by the output of the /? option. Our MSI packages, because they wrap an installer.exe and do not really use the MSI framework, do not support many of the command line options available to msiexec. This document lists the msiexec options that are supported and unsupported for use with our MSI packages.

Supported MSIEXEC options

  • /i or /package
    Installs the product.
  • /L or /log
    Generates an MSI log file. All of this option's configuration parameters are supported.
  • /m
    Generates an SMS status .mif file.
    Without having a copy of Systems Management Server I've been unable to test this, but it should work.
  • /q, /quiet, and /passive
    Sets the UI mode. The full UI option (/qf) is accepted but ignored, because we have no full UI.
  • /norestart, /forcerestart, and /promptrestart
    The default behavior is always /norestart, but the other options behave as expected.
  • /?, /h, /help, /y, /z Options that do not operate on a package file.
  • CUSTOM_OPTION=VALUE
    Configuration via command line options is supported for all custom MSI options provided by Thunderbird (i. e. those with UPPERCASE_NAMES).

Unsupported MSIEXEC options

  • /f
    Repairs the product.
  • /a
    Administrative installation.
  • /x or /uninstall
    Uninstalls the product.
  • /j along with /t, /g, and /c
    Advertises the product.
  • /n
    Specifies a particular instance of the product.
  • /p or /update
    Applies a patch (.msp) file.

Example configuration

Here’s an example of a valid .mst file to help understand how options can be changed along with the MSI directory for mozilla central:
Logging can be configured on the MSI to help troubleshoot installation issues.

Ways of using Thunderbird custom options with MSI installers

There are several ways to use Thunderbird's default MSI file with your preferred configuration of custom options exposed in the MSI:

By using an external MSI editor (e.g. ORCA)

  1. 1.
    File > Open... and select the Thunderbird MSI to be edited.
  2. 2.
    Find the Property table and select it.
  3. 3.
    Change the values for the CUSTOM_OPTIONS you want to set.
  4. 4.
    From ORCA, select File > Save as... and save your modified MSI installer.
Note that this will invalidate the MSI file's signature; if you need the file to be signed, you'll have to sign it again using your organization's certificate.

By using a transform (.mst) configuration

  1. 1.
    Use Orca to open the Thunderbird MSI.
  2. 2.
    Select Transform > New Transform from the menu bar.
  3. 3.
    Change the values for the CUSTOM_OPTIONS you want to set.
  4. 4.
    Select Transform > Generate Transform to save your changes as a transform (.mst) file.
  5. 5.
    Run:
    1
    msiexec /i “Thunderbird.msi” TRANSFORMS=”custom.mst”
    Copied!

By using command line options

  1. 1.
    Rename the Thunderbird MSI file as default.msi
  2. 2.
    Move the file in a C:\MSI directory
  3. 3.
    Specify the desired CUSTOM_OPTIONS in the command line and run:
    1
    msiexec.exe /i "c:\MSI\default.msi"
    2
    INSTALL_DIRECTORY_PATH="C:\Thunderbird\" TASKBAR_SHORTCUT=false
    3
    DESKTOP_SHORTCUT=false INSTALL_MAINTENANCE_SERVICE=false /quiet`
    Copied!
All Thunderbird custom MSI options (the UPPERCASE_OPTIONS) can be used in the command line alongside the supported common options provided by msiexec (like /i and /quiet in the above example).
Last modified 9mo ago