Downloads of v 45.2.0:


Last Update:

19 Jul 2016

Package Maintainer(s):

Software Author(s):

  • Mozilla


browser mozilla firefox

Mozilla Firefox ESR

This is not the latest version of Mozilla Firefox ESR available.

45.2.0 | Updated: 19 Jul 2016



Downloads of v 45.2.0:


Software Author(s):

  • Mozilla

Mozilla Firefox ESR 45.2.0

This is not the latest version of Mozilla Firefox ESR available.

All Checks are Passing

2 Passing Test

Validation Testing Passed

Verification Testing Passed


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


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


To uninstall Mozilla Firefox ESR, run the following command from the command line or from PowerShell:


NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to

4. Choose your deployment method:

choco upgrade firefoxesr -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:

choco upgrade firefoxesr -y --source="'STEP 3 URL'"

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0

Exit $exitCode

- name: Ensure firefoxesr installed
    name: firefoxesr
    state: present
    version: 45.2.0
    source: STEP 3 URL

See docs at

Coming early 2020! Central Managment Reporting available now! More information...

chocolatey_package 'firefoxesr' do
  action    :install
  version  '45.2.0'
  source   'STEP 3 URL'

See docs at

    Name: firefoxesr,
    Version: 45.2.0,
    Source: STEP 3 URL

Requires Otter Chocolatey Extension. See docs at

cChocoPackageInstaller firefoxesr
   Name     = 'firefoxesr'
   Ensure   = 'Present'
   Version  = '45.2.0'
   Source   = 'STEP 3 URL'

Requires cChoco DSC Resource. See docs at

package { 'firefoxesr':
  provider => 'chocolatey',
  ensure   => '45.2.0',
  source   => 'STEP 3 URL',

Requires Puppet Chocolatey Provider module. See docs at

salt '*' chocolatey.install firefoxesr version="45.2.0" source="STEP 3 URL"

See docs at

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator doc on 19 Jul 2016.


This package installs Firefox ESR

# 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.

$packageName = 'Firefox'
$fileType = 'exe'
$version = '45.2.0'

$allLocalesListURL = ''

# ---------------- Function definitions ------------------

function GetUninstallPath () {
  $regUninstallDir = 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\'
  $regUninstallDirWow64 = 'HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\'

  $uninstallPaths = $(Get-ChildItem $regUninstallDir).Name

  if (Test-Path $regUninstallDirWow64) {
    $uninstallPaths += $(Get-ChildItem $regUninstallDirWow64).Name

  $uninstallPath = $uninstallPaths -match
    "Mozilla Firefox [\d\.]+ \([^\s]+ [a-zA-Z\-]+\)" | Select -First 1
  return $uninstallPath

function GetLocale() {

  $availableLocales = (New-Object System.Net.WebClient).DownloadString($allLocalesListURL)

  # --- Get locale from installArgs if specified

  $packageParameters = $env:chocolateyPackageParameters

  $packageParameters = if ($packageParameters -ne $null) { $packageParameters } else { "" }
  $argumentMap = ConvertFrom-StringData $packageParameters
  $localeFromPackageParameters = $argumentMap.Item('l')

  # ---

  # --- Get already installed locale if available

  $uninstallPath = GetUninstallPath($null)

  $alreadyInstalledLocale = $uninstallPath -replace ".+\s([a-zA-Z\-]+)\)", '$1'

  # ---

  # --- Other locales

  $systemLocaleAndCountry = (Get-Culture).Name
  $systemLocaleTwoLetter = (Get-Culture).TwoLetterISOLanguageName
  $fallbackLocale = 'en-US'

  # ---

  $locales = $localeFromPackageParameters, $alreadyInstalledLocale, `
    $systemLocaleAndCountry, $systemLocaleTwoLetter, $fallbackLocale

  foreach ($locale in $locales) {
    $localeMatch = $availableLocales -match "os=win&lang=$locale`"" | Select -First 1
    if ($localeMatch -and $locale -ne $null) {

  return $locale

function AlreadyInstalled($version) {
  $uninstallEntry = $(
    "HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla " +
    "Firefox ${version}*"
  $uninstallEntryWow64 = $(
    "HKLM:\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Mozilla " +
    "Firefox ${version}*"

  if ((Test-Path $uninstallEntry) -or (Test-Path $uninstallEntryWow64)) {
    return $true

  return $false

function Get-32bitOnlyInstalled {
  $systemIs64bit = Get-ProcessorBits 64
  if (-Not $systemIs64bit) {
    return $false

  $registryPaths = @(

  $installedVersions = Get-ChildItem $registryPaths | Where-Object {
    $_.Name -match 'Mozilla Firefox [\d\.]+ \(x(64|86)'

  if (
    $installedVersions -match 'x86' `
    -and $installedVersions -notmatch 'x64' `
    -and $systemIs64bit
  ) {
    return $true

# ----------------------------------

$alreadyInstalled = AlreadyInstalled($version)

if (Get-32bitOnlyInstalled) {
  Write-Host $(
    'Detected the 32-bit version of Firefox on a 64-bit system. ' +
    'This package will continue to install the 32-bit version of Firefox ' +
    'unless the 32-bit version is uninstalled.'

if ($alreadyInstalled) {
  Write-Host $(
    "Firefox $version is already installed. " +
    'No need to download an re-install again.'
} else {

  $locale = GetLocale

  $url = "${version}esr-SSL&os=win&lang=${locale}"
  $url64 = "${version}esr-SSL&os=win64&lang=${locale}"
  $silentArgs = '-ms'

  if ((Get-32bitOnlyInstalled) -or (Get-ProcessorBits 32)) {
    Install-ChocolateyPackage $packageName $fileType $silentArgs $url
  } else {
    Install-ChocolateyPackage $packageName $fileType $silentArgs $url $url64


Log in or click on link to see number of positives.

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.

Version Downloads Last Updated Status
Mozilla Firefox 78.3.1 19653 Thursday, October 1, 2020 Approved
Mozilla Firefox 78.3.0 14876 Tuesday, September 22, 2020 Approved
Mozilla Firefox 68.12.0 40854 Tuesday, August 25, 2020 Approved
Mozilla Firefox 68.11.0 30859 Tuesday, July 28, 2020 Approved
Mozilla Firefox 68.10.0 19589 Tuesday, June 30, 2020 Approved
Mozilla Firefox 68.9.0 19307 Tuesday, June 2, 2020 Approved
Mozilla Firefox 68.8.0 19184 Tuesday, May 5, 2020 Approved
Mozilla Firefox 68.7.0 17200 Tuesday, April 7, 2020 Approved
Mozilla Firefox 68.6.1 6313 Friday, April 3, 2020 Approved

This package has no dependencies.

Discussion for the Mozilla Firefox ESR Package

Ground Rules:

  • This discussion is only about Mozilla Firefox ESR and the Mozilla Firefox ESR 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 Firefox ESR, 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