Unpacking Software Livestream

Join our monthly Unpacking Software livestream to hear about the latest news, chat and opinion on packaging, software deployment and lifecycle management!

Learn More

Chocolatey Product Spotlight

Join the Chocolatey Team on our regular monthly stream where we put a spotlight on the most recent Chocolatey product releases. You'll have a chance to have your questions answered in a live Ask Me Anything format.

Learn More

Chocolatey Coding Livestream

Join us for the Chocolatey Coding Livestream, where members of our team dive into the heart of open source development by coding live on various Chocolatey projects. Tune in to witness real-time coding, ask questions, and gain insights into the world of package management. Don't miss this opportunity to engage with our team and contribute to the future of Chocolatey!

Learn More

Calling All Chocolatiers! Whipping Up Windows Automation with Chocolatey Central Management

Webinar from
Wednesday, 17 January 2024

We are delighted to announce the release of Chocolatey Central Management v0.12.0, featuring seamless Deployment Plan creation, time-saving duplications, insightful Group Details, an upgraded Dashboard, bug fixes, user interface polishing, and refined documentation. As an added bonus we'll have members of our Solutions Engineering team on-hand to dive into some interesting ways you can leverage the new features available!

Watch On-Demand
Chocolatey Community Coffee Break

Join the Chocolatey Team as we discuss all things Community, what we do, how you can get involved and answer your Chocolatey questions.

Watch The Replays
Chocolatey and Intune Overview

Webinar Replay from
Wednesday, 30 March 2022

At Chocolatey Software we strive for simple, and teaching others. Let us teach you just how simple it could be to keep your 3rd party applications updated across your devices, all with Intune!

Watch On-Demand
Chocolatey For Business. In Azure. In One Click.

Livestream from
Thursday, 9 June 2022

Join James and Josh to show you how you can get the Chocolatey For Business recommended infrastructure and workflow, created, in Azure, in around 20 minutes.

Watch On-Demand
The Future of Chocolatey CLI

Livestream from
Thursday, 04 August 2022

Join Paul and Gary to hear more about the plans for the Chocolatey CLI in the not so distant future. We'll talk about some cool new features, long term asks from Customers and Community and how you can get involved!

Watch On-Demand
Hacktoberfest Tuesdays 2022

Livestreams from
October 2022

For Hacktoberfest, Chocolatey ran a livestream every Tuesday! Re-watch Cory, James, Gary, and Rain as they share knowledge on how to contribute to open-source projects such as Chocolatey CLI.

Watch On-Demand

Downloads:

3,119,751

Downloads of v 31.1.0:

890

Last Update:

11 Sep 2014

Package Maintainer(s):

Software Author(s):

  • Mozilla

Tags:

Mozilla Firefox ESR

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

  • 1
  • 2
  • 3

31.1.0 | Updated: 11 Sep 2014

Downloads:

3,119,751

Downloads of v 31.1.0:

890

Maintainer(s):

Software Author(s):

  • Mozilla

Mozilla Firefox ESR 31.1.0

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

Legal Disclaimer: Neither this package nor Chocolatey Software, Inc. are affiliated with or endorsed by Mozilla. The inclusion of Mozilla trademark(s), if any, upon this webpage is solely to identify Mozilla goods or services and not for commercial purposes.

  • 1
  • 2
  • 3

Some Checks Have Failed or Are Not Yet Complete

Not All Tests Have Passed


Validation Testing Unknown


Verification Testing Unknown


Scan Testing Successful:

No detections found in any package files

Details
Learn More

Deployment Method: Individual Install, Upgrade, & Uninstall

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:

>

Deployment Method:

NOTE

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

1. Enter Your Internal Repository Url

(this should look similar to https://community.chocolatey.org/api/v2/)


2. Setup Your Environment

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

2. Get the package into your environment

  • 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 https://community.chocolatey.org/api/v2/. 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. Copy Your Script

choco upgrade firefoxesr -y --source="'INTERNAL REPO URL'" --version="'31.1.0'" [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="'INTERNAL REPO URL'" --version="'31.1.0'" 
$exitCode = $LASTEXITCODE

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

Exit $exitCode

- name: Install firefoxesr
  win_chocolatey:
    name: firefoxesr
    version: '31.1.0'
    source: INTERNAL REPO URL
    state: present

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.


chocolatey_package 'firefoxesr' do
  action    :install
  source   'INTERNAL REPO URL'
  version  '31.1.0'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


cChocoPackageInstaller firefoxesr
{
    Name     = "firefoxesr"
    Version  = "31.1.0"
    Source   = "INTERNAL REPO URL"
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'firefoxesr':
  ensure   => '31.1.0',
  provider => 'chocolatey',
  source   => 'INTERNAL REPO URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


4. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Package Approved

This package was approved by moderator ferventcoder on 02 Feb 2017.

Description

This package installs Firefox ESR


tools\chocolateyInstall.ps1
# ---------------- 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($installArguments) {

    $availableLocales = Get-Content "$env:TEMP\chocolatey\Firefox\availableLocales.html"

    # --- Get locale from installArgs if specified

    $argumentMap = ConvertFrom-StringData $installArguments
    $localeFromInstallArgs = $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 = $localeFromInstallArgs, $alreadyInstalledLocale, $systemLocaleAndCountry, $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($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
    } else {
        return $false
    }
}

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




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

$urlFile = 'https://www.mozilla.org/en-US/firefox/organizations/all/'
$filePath = "$env:TEMP\chocolatey\$packageName"

try {
        $alreadyInstalled = AlreadyInstalled($version)

    if ($alreadyInstalled) {
        Write-Host "Firefox $version is already installed."
    } else {


        if (-not (Test-Path $filePath)) {
            New-Item -ItemType directory -Path $filePath
        }

        Get-ChocolateyWebFile 'locales list for Firefox' "$env:TEMP\chocolatey\$packageName\availableLocales.html" $urlFile

        $locale = GetLocale($installArguments)

        $url = "https://download.mozilla.org/?product=firefox-${version}esr&os=win&lang=${locale}"

        Install-ChocolateyPackage $packageName $fileType '-ms' $url
    }

} catch {
  Write-ChocolateyFailure $packageName $($_.Exception.Message)
  throw 
}

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.

Add to Builder Version Downloads Last Updated Status
Mozilla Firefox 128.11.0 30609 Tuesday, May 27, 2025 Approved
Mozilla Firefox 128.10.1 18101 Sunday, May 18, 2025 Approved
Mozilla Firefox 128.10.0 24453 Tuesday, April 29, 2025 Approved
Mozilla Firefox 128.9.0 27019 Tuesday, April 1, 2025 Approved
Mozilla Firefox 128.8.1 13892 Thursday, March 27, 2025 Approved
Mozilla Firefox 128.8.0 27472 Tuesday, March 4, 2025 Approved
Mozilla Firefox 128.7.0 31089 Tuesday, February 4, 2025 Approved
Mozilla Firefox 128.6.0 33484 Tuesday, January 7, 2025 Approved
Mozilla Firefox 128.5.2 27932 Thursday, December 12, 2024 Approved
Mozilla Firefox 128.5.1 23320 Friday, November 29, 2024 Approved
Mozilla Firefox 128.5.0 11036 Tuesday, November 26, 2024 Approved
Mozilla Firefox 128.4.0 35480 Tuesday, October 29, 2024 Approved
Mozilla Firefox 128.3.1 34645 Wednesday, October 9, 2024 Approved
Mozilla Firefox 128.3.0 21552 Tuesday, October 1, 2024 Approved
Mozilla Firefox 115.15.0 26996 Saturday, September 14, 2024 Approved
Mozilla Firefox 115.14.0 40257 Tuesday, August 6, 2024 Approved
Mozilla Firefox 115.13.0 36312 Tuesday, July 9, 2024 Approved
Mozilla Firefox 115.12.0 30002 Tuesday, June 11, 2024 Approved
Mozilla Firefox 115.11.0 29575 Tuesday, May 14, 2024 Approved
Mozilla Firefox 115.10.0 28533 Tuesday, April 16, 2024 Approved
Mozilla Firefox 115.9.1 20734 Friday, March 22, 2024 Approved
Mozilla Firefox 115.9.0 22231 Tuesday, March 19, 2024 Approved
Mozilla Firefox 115.8.0 34960 Tuesday, February 20, 2024 Approved
Mozilla Firefox 115.7.0 29818 Tuesday, January 23, 2024 Approved
Mozilla Firefox 115.6.0 31660 Tuesday, December 19, 2023 Approved
Mozilla Firefox 115.5.0 34545 Tuesday, November 21, 2023 Approved
Mozilla Firefox 115.4.0 30013 Tuesday, October 24, 2023 Approved
Mozilla Firefox 115.3.1 25863 Thursday, September 28, 2023 Approved
Mozilla Firefox 115.3.0 9684 Tuesday, September 26, 2023 Approved
Mozilla Firefox 102.15.1 19825 Tuesday, September 12, 2023 Approved
Mozilla Firefox 102.15.0 20240 Tuesday, August 29, 2023 Approved
Mozilla Firefox 102.14.0 28037 Tuesday, August 1, 2023 Approved
Mozilla Firefox 102.13.0 34809 Tuesday, July 4, 2023 Approved
Mozilla Firefox 102.12.0 26763 Tuesday, June 6, 2023 Approved
Mozilla Firefox 102.11.0 27110 Tuesday, May 9, 2023 Approved
Mozilla Firefox 102.10.0 31598 Tuesday, April 11, 2023 Approved
Mozilla Firefox 102.9.0 36827 Tuesday, March 14, 2023 Approved
Mozilla Firefox 102.8.0 35717 Tuesday, February 14, 2023 Approved
Mozilla Firefox 102.7.0 34343 Wednesday, January 18, 2023 Approved
Mozilla Firefox 102.6.0 34653 Tuesday, December 13, 2022 Approved
Mozilla Firefox 102.5.0 33114 Tuesday, November 15, 2022 Approved
Mozilla Firefox 102.4.0 35743 Tuesday, October 18, 2022 Approved
Mozilla Firefox 102.3.0 33047 Tuesday, September 20, 2022 Approved
Mozilla Firefox 91.13.0 30336 Tuesday, August 23, 2022 Approved
Mozilla Firefox 91.12.0 31867 Tuesday, July 26, 2022 Approved
Mozilla Firefox 91.11.0 31810 Tuesday, June 28, 2022 Approved
Mozilla Firefox 91.10.0 30320 Tuesday, May 31, 2022 Approved
Mozilla Firefox 91.9.1 17411 Friday, May 20, 2022 Approved
Mozilla Firefox 91.9.0 23600 Tuesday, May 3, 2022 Approved
Mozilla Firefox 91.8.0 32746 Tuesday, April 5, 2022 Approved
Mozilla Firefox 91.7.1 32197 Monday, March 14, 2022 Approved
Mozilla Firefox 91.7.0 16776 Tuesday, March 8, 2022 Approved
Mozilla Firefox 91.6.1 12422 Saturday, March 5, 2022 Approved
Mozilla Firefox 91.6.0 34719 Tuesday, February 8, 2022 Approved
Mozilla Firefox 91.5.1 22527 Thursday, January 27, 2022 Approved
Mozilla Firefox 91.5.0 27615 Tuesday, January 11, 2022 Approved
Mozilla Firefox 91.4.1 25905 Thursday, December 16, 2021 Approved
Mozilla Firefox 91.4.0 17699 Tuesday, December 7, 2021 Approved
Mozilla Firefox 91.3.0 32614 Tuesday, November 2, 2021 Approved
Mozilla Firefox 78.15.0.20211014 23611 Thursday, October 14, 2021 Approved
Mozilla Firefox 78.15.0.20211011 11519 Monday, October 11, 2021 Approved
Mozilla Firefox 78.15.0 16221 Tuesday, October 5, 2021 Approved
Mozilla Firefox 78.14.0 40615 Tuesday, September 7, 2021 Approved
Mozilla Firefox 78.13.0 31988 Tuesday, August 10, 2021 Approved
Mozilla Firefox 78.12.0 25319 Tuesday, July 13, 2021 Approved
Mozilla Firefox 78.11.0 34922 Tuesday, June 1, 2021 Approved
Mozilla Firefox 78.10.1 23997 Tuesday, May 4, 2021 Approved
Mozilla Firefox 78.10.0 17429 Monday, April 19, 2021 Approved
Mozilla Firefox 78.9.0 25557 Tuesday, March 23, 2021 Approved
Mozilla Firefox 78.8.0 24847 Tuesday, February 23, 2021 Approved
Mozilla Firefox 78.7.1 17536 Friday, February 5, 2021 Approved
Mozilla Firefox 78.7.0 13632 Tuesday, January 26, 2021 Approved
Mozilla Firefox 78.6.1 18025 Wednesday, January 6, 2021 Approved
Mozilla Firefox 78.6.0 17094 Tuesday, December 15, 2020 Approved
Mozilla Firefox 78.5.0 23442 Tuesday, November 17, 2020 Approved
Mozilla Firefox 78.4.1 13321 Monday, November 9, 2020 Approved
Mozilla Firefox 78.4.0 20498 Tuesday, October 20, 2020 Approved
Mozilla Firefox 78.3.1 20657 Thursday, October 1, 2020 Approved
Mozilla Firefox 78.3.0 15678 Tuesday, September 22, 2020 Approved
Mozilla Firefox 68.12.0 43160 Tuesday, August 25, 2020 Approved
Mozilla Firefox 68.11.0 33825 Tuesday, July 28, 2020 Approved
Mozilla Firefox 68.10.0 19876 Tuesday, June 30, 2020 Approved
Mozilla Firefox 68.9.0 19622 Tuesday, June 2, 2020 Approved
Mozilla Firefox 68.8.0 19427 Tuesday, May 5, 2020 Approved
Mozilla Firefox 68.7.0 19690 Tuesday, April 7, 2020 Approved
Mozilla Firefox 68.6.1 6554 Friday, April 3, 2020 Approved
Mozilla Firefox 68.6.0 21293 Tuesday, March 10, 2020 Approved
Mozilla Firefox 68.5.0 33194 Tuesday, February 11, 2020 Approved
Mozilla Firefox 68.4.2 26167 Monday, January 20, 2020 Approved
Mozilla Firefox 68.4.1 19495 Wednesday, January 8, 2020 Approved
Mozilla Firefox 68.4.0 5348 Tuesday, January 7, 2020 Approved
Mozilla Firefox 68.3.0 27115 Tuesday, December 3, 2019 Approved
Mozilla Firefox 68.2.0 42906 Tuesday, October 22, 2019 Approved
Mozilla Firefox 60.9.0 51021 Wednesday, September 4, 2019 Approved
Mozilla Firefox 60.8.0 44272 Tuesday, July 9, 2019 Approved
Mozilla Firefox 60.7.2 16504 Thursday, June 20, 2019 Approved
Mozilla Firefox 60.7.1 4982 Tuesday, June 18, 2019 Approved
Mozilla Firefox 60.7.0 19150 Wednesday, May 22, 2019 Approved
Mozilla Firefox 60.6.2 14970 Monday, May 6, 2019 Approved
Mozilla Firefox 60.6.1 26654 Friday, March 22, 2019 Approved
Mozilla Firefox 60.6.0 6082 Tuesday, March 19, 2019 Approved
Mozilla Firefox 60.5.1 24324 Wednesday, February 13, 2019 Approved
Mozilla Firefox 60.5.0 13844 Tuesday, January 29, 2019 Approved
Mozilla Firefox 60.4.0 26501 Tuesday, December 11, 2018 Approved
Mozilla Firefox 60.3.0 37772 Tuesday, October 23, 2018 Approved
Mozilla Firefox 60.2.2 22305 Wednesday, October 3, 2018 Approved
Mozilla Firefox 60.2.1 24586 Saturday, September 22, 2018 Approved
Mozilla Firefox 60.2.0 39240 Thursday, September 6, 2018 Approved
Mozilla Firefox ESR 60.0 40376 Wednesday, May 9, 2018 Approved
Mozilla Firefox 52.9.0 1607 Tuesday, June 26, 2018 Approved
Mozilla Firefox 52.8.1 536 Thursday, June 7, 2018 Approved
Mozilla Firefox 52.8.0 1914 Saturday, May 12, 2018 Approved
Mozilla Firefox ESR 52.7.4 3116 Monday, May 7, 2018 Approved
Mozilla Firefox ESR 52.7.3 23618 Tuesday, March 27, 2018 Approved
Mozilla Firefox ESR 52.7.2 14013 Friday, March 16, 2018 Approved
Mozilla Firefox ESR 52.7.1 3433 Wednesday, March 14, 2018 Approved
Mozilla Firefox ESR 52.7.0 2501 Tuesday, March 13, 2018 Approved
Mozilla Firefox ESR 52.6.0 47254 Tuesday, January 23, 2018 Approved
Mozilla Firefox ESR 52.5.3 16684 Thursday, December 28, 2017 Approved
Mozilla Firefox ESR 52.5.2 12578 Friday, December 8, 2017 Approved
Mozilla Firefox ESR 52.5.0.20171115 16816 Wednesday, November 15, 2017 Approved
Mozilla Firefox ESR 52.5.0 1926 Tuesday, November 14, 2017 Approved
Mozilla Firefox ESR 52.4.1 12904 Tuesday, October 10, 2017 Approved
Mozilla Firefox ESR 52.4.0 5050 Thursday, September 28, 2017 Approved
Mozilla Firefox ESR 52.3.0 15424 Tuesday, August 8, 2017 Approved
Mozilla Firefox ESR 52.2.1 16444 Friday, June 30, 2017 Approved
Mozilla Firefox ESR 52.2.0 7991 Wednesday, June 14, 2017 Approved
Mozilla Firefox ESR 52.1.2 9026 Friday, May 19, 2017 Approved
Mozilla Firefox ESR 52.1.1 3013 Friday, May 5, 2017 Approved
Mozilla Firefox ESR 52.1.0 4062 Wednesday, April 19, 2017 Approved
Mozilla Firefox ESR 52.0.2 3371 Thursday, March 30, 2017 Approved
Mozilla Firefox ESR 52.0.1 2331 Saturday, March 18, 2017 Approved
Mozilla Firefox ESR 52.0 2046 Wednesday, March 8, 2017 Approved
Mozilla Firefox ESR 45.8.0 1899 Tuesday, March 7, 2017 Approved
Mozilla Firefox ESR 45.7.0 2959 Thursday, February 2, 2017 Approved
Mozilla Firefox ESR 45.5.1 3921 Thursday, December 1, 2016 Approved
Mozilla Firefox ESR 45.3.0 7401 Thursday, September 1, 2016 Approved
Mozilla Firefox ESR 45.2.0 2433 Tuesday, July 19, 2016 Approved
Mozilla Firefox ESR 38.5.2 4056 Tuesday, January 5, 2016 Approved
Mozilla Firefox ESR 38.2.0.2015081001 557 Tuesday, August 11, 2015 Approved
Mozilla Firefox ESR 38.2.0 525 Tuesday, August 11, 2015 Approved
Mozilla Firefox ESR 38.1.1 2120 Tuesday, August 11, 2015 Approved
Mozilla Firefox ESR 38.1.0 641 Friday, July 10, 2015 Approved
Mozilla Firefox ESR 31.5.0 6657 Thursday, February 26, 2015 Approved
Mozilla Firefox ESR 31.2.0 4412 Thursday, November 6, 2014 Approved
Mozilla Firefox ESR 31.1.0 890 Thursday, September 11, 2014 Approved
Mozilla Firefox ESR 24.2.0.20140209 1104 Sunday, February 9, 2014 Exempted
Mozilla Firefox ESR 24.2.0 764 Friday, February 7, 2014 Exempted

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