Notices: This section not yet converted to new layout. Download stats are rolling back out.

This is not the latest version of Mozilla Thunderbird available.

Mozilla Thunderbird

52.0

Package test results are passing.

This package was approved as a trusted package on 4/10/2017.

Thunderbird is a free email application that’s easy to set up and customize – and it’s loaded with great features!

This package installs Thunderbird in the first language which matches this list:

  1. Install arguments override parameter if present, e.g. choco install Thunderbird -packageParameters "l=en-GB".
    To get a list of all available locales have a look at http://releases.mozilla.org/pub/thunderbird/releases/latest/README.txt.
  2. If Thunderbird is already installed: the same language as the already installed Thunderbird.
  3. The Windows system language where the Thunderbird package gets installed.
  4. If Thunderbird does not support the system language, it will fallback to “en-US”

To install Mozilla Thunderbird, run the following command from the command line or from PowerShell:

C:\> choco install thunderbird --version 52.0

To upgrade Mozilla Thunderbird, run the following command from the command line or from PowerShell:

C:\> choco upgrade thunderbird --version 52.0

Files

Hide
  • tools\LanguageChecksums
  • tools\helpers.ps1 Show
    function GetUninstallPath() {
      param(
        [Parameter(Mandatory = $true)]
        [string]$product
      )
      $regUninstallDir = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\'
      $regUninstallDirWow64 = 'HKLM:\SOFTWARE\Wow432Node\Microsoft\Windows\CurrentVersion\Uninstall\'
    
      $uninstallPaths = $(Get-ChildItem $regUninstallDir).Name
    
      if (Test-Path $regUninstallDirWow64) {
        $uninstallPaths += $(Get-ChildItem $regUninstallDirWow64).Name
      }
    
      $uninstallPath = $uninstallPaths -match "$product [\d\.]+ \([^\s]+ [a-zA-Z\-]+\)" | select -first 1
      return $uninstallPath
    }
    
    function GetLocale {
      param(
        [Parameter(Mandatory = $true)]
        [string]$localeUrl,
        [Parameter(Mandatory = $true)]
        [string]$product
      )
      $availableLocales = Get-WebContent $localeUrl 2>$null
    
      $packageParameters = $env:chocolateyPackageParameters
    
      $packageParameters = if ($packageParameters -ne $null) { $packageParameters } else { "" }
    
      $argumentMap = ConvertFrom-StringData $packageParameters
      $localeFromPackageParameters = $argumentMap.Item('l')
    
      $uninstallPath = GetUninstallPath -product $product
    
      $alreadyInstalledLocale = $uninstallPath -replace ".+\s([a-zA-Z\-]+)\)",'$1'
    
      $systemLocalizeAndCountry = (Get-Culture).Name
      $systemLocaleTwoLetter = (Get-Culture).TwoLetterISOLanguageName
      $fallbackLocale = 'en-US'
    
      $locales = $localeFromPackageParameters, $alreadyInstalledLocale, `
        $systemLocalizeAndCountry, $systemLocaleTwoLetter, $fallbackLocale
    
        foreach ($locale in $locales) {
          $localeMatch = $availableLocales -match "os=win&lang=$locale`"" | select -first 1
          if ($localeMatch -and $locale -ne $null) {
            break
          }
        }
    
        return $locale
    }
    
    function AlreadyInstalled() {
      param(
        [Parameter(Mandatory = $true)]
        [string]$product,
        [Parameter(Mandatory = $true)]
        [string]$version
      )
      $uninstallEntry = $(
        "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\$product $version*"
      )
      $uninstallEntryWow64 = $(
        "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\$product $version*"
      )
    
      if ((Test-Path $uninstallEntry) -or (Test-Path $uninstallEntryWow64)) {
        return $true
      }
    
      return $false
    }
    
    function Get-32bitOnlyInstalled() {
      param(
        [Parameter(Mandatory = $true)]
        [string]$product
      )
      $systemIs64bit = Get-ProcessorBits 64
    
      if (-Not $systemIs64bit) {
        return $false
      }
    
      $registryPaths = @(
        'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall'
        'HKLM:\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall'
      )
    
      $installedVersions = Get-ChildItem $registryPaths | ? { $_.Name -match "$product [\d\.]+ \(x(64|86)" }
    
      if (
        $installedVersions -match 'x86' `
        -and $installedVersions -notmatch 'x64' `
        -and $systemIs64bit
      ) {
        return $true
      }
    }
    
    function GetChecksums() {
      param(
        [Parameter(Mandatory = $true)]
        [string]$language,
        [Parameter(Mandatory = $true)]
        $checksumFile
      )
      Write-Debug "Loading checksums from: $checksumFile"
      $checksumContent = Get-Content $checksumFile
      $checksum32 = ($checksumContent -match "$language\|32") -split '\|' | select -last 1
      $checksum64 = ($checksumContent -match "$language\|64") -split '\|' | select -last 1
    
      return @{
        "Win32" = $checksum32
        "Win64" = $checksum64
      }
    }
    
  • tools\chocolateyUninstall.ps1 Show
    $ErrorActionPreference = 'Stop';
    
    $packageName = 'thunderbird'
    
    $uninstalled = $false
    [array]$key = Get-UninstallRegistryKey -SoftwareName 'Mozilla Thunderbird*'
    
    if ($key.Count -eq 1) {
      $key | % {
        $packageArgs = @{
          packageName = $packageName
          fileType    = 'exe'
          silentArgs  = '-ms'
          validExitCodes= @(0)
          file          = "$($_.UninstallString.Trim('"'))"
        }
    
        Uninstall-ChocolateyPackage @packageArgs
    
        Write-Warning "Auto Uninstaller may detect Mozilla Maintenance Service."
        Write-Warning "This should not be uninstalled if any other Mozilla product is installed."
      }
    } elseif ($key.Count -eq 0) {
      Write-Warning "$packageName has already been uninstalled by other means."
    } elseif ($key.Count -gt 1) {
      Write-Warning "$($key.Count) matches found!"
      Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
      Write-Warning "Please alert package maintainer the following keys were matched:"
      $key | % {Write-Warning "- $($_.DisplayName)"}
    }
    
  • tools\chocolateyInstall.ps1 Show
    $ErrorActionPreference = 'Stop'
    # This is the general install script for Mozilla products (Firefox and Thunderbird).
    # This file must be identical for all Choco packages for Mozilla products in this repository.
    $toolsPath = Split-Path $MyInvocation.MyCommand.Definition
    . $toolsPath\helpers.ps1
    
    $packageName = 'thunderbird'
    $softwareName = 'Mozilla Thunderbird'
    
    $allLocalesListURL = 'https://www.mozilla.org/en-US/thunderbird/all/'
    
    $alreadyInstalled = (AlreadyInstalled -product $softwareName -version '52.0')
    
    if ($alreadyInstalled -and ($env:ChocolateyForce -ne $true)) {
      Write-Output $(
        "Thunderbird is already installed. " +
        'No need to download an re-install again.'
      )
    } else {
    
      $locale = GetLocale -localeUrl $allLocalesListURL -product $softwareName
      $checksums = GetChecksums -language $locale -checksumFile "$toolsPath\LanguageChecksums"
    
      $packageArgs = @{
        packageName = $packageName
        fileType = 'exe'
        softwareName = "$softwareName*"
    
        Checksum = $checksums.Win32
        ChecksumType = 'sha512'
        Url = "https://download.mozilla.org/?product=thunderbird-52.0-SSL&os=win&lang=${locale}"
    
        silentArgs = '-ms'
        validExitCodes = @(0)
      }
    
      Install-ChocolateyPackage @packageArgs
    }
    

Virus Scan Results

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Dependencies

Package Maintainer(s)

Software Author(s)

  • Mozilla

Copyright

Mozilla. All rights reserved.

Tags

Release Notes

https://www.mozilla.org/en-US/thunderbird/notes/

Version History

Version Downloads Last updated Status
Mozilla Thunderbird 60.6.1 44634 Monday, March 25, 2019 approved
Mozilla Thunderbird 60.6.0 7883 Wednesday, March 20, 2019 approved
Mozilla Thunderbird 60.5.3 11475 Tuesday, March 5, 2019 approved
Mozilla Thunderbird 60.5.2 7854 Tuesday, February 26, 2019 approved
Mozilla Thunderbird 60.5.1.20190217 8936 Sunday, February 17, 2019 approved
Mozilla Thunderbird 60.5.1 4437 Thursday, February 14, 2019 approved
Mozilla Thunderbird 60.5.0 10478 Wednesday, January 30, 2019 approved
Mozilla Thunderbird 60.4.0 15057 Friday, December 21, 2018 approved
Mozilla Thunderbird 60.3.3 8886 Tuesday, December 11, 2018 approved
Show More

Discussion for the Mozilla Thunderbird Package

Ground rules:

  • This discussion is only about Mozilla Thunderbird and the Mozilla Thunderbird package. If you have feedback for Chocolatey, please contact the google group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Mozilla Thunderbird, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.

comments powered by Disqus
Chocolatey.org uses cookies to enhance the user experience of the site.
Ok