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:

2,936,839

Downloads of v 31.5.0:

6,630

Last Update:

26 Feb 2015

Package Maintainer(s):

Software Author(s):

  • Mozilla

Tags:

browser mozilla firefox

Mozilla Firefox ESR

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

  • 1
  • 2
  • 3

31.5.0 | Updated: 26 Feb 2015

Downloads:

2,936,839

Downloads of v 31.5.0:

6,630

Maintainer(s):

Software Author(s):

  • Mozilla

Mozilla Firefox ESR 31.5.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 Passed

Details

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.5.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.5.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.5.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.5.0'
end

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


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

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


package { 'firefoxesr':
  ensure   => '31.5.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 19 Mar 2015.

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.5.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.6.0 32375 Tuesday, January 7, 2025 Approved
Mozilla Firefox 128.5.2 27539 Thursday, December 12, 2024 Approved
Mozilla Firefox 128.5.1 23165 Friday, November 29, 2024 Approved
Mozilla Firefox 128.5.0 11023 Tuesday, November 26, 2024 Approved
Mozilla Firefox 128.4.0 35164 Tuesday, October 29, 2024 Approved
Mozilla Firefox 128.3.1 34052 Wednesday, October 9, 2024 Approved
Mozilla Firefox 128.3.0 21536 Tuesday, October 1, 2024 Approved
Mozilla Firefox 115.15.0 26793 Saturday, September 14, 2024 Approved
Mozilla Firefox 115.14.0 40073 Tuesday, August 6, 2024 Approved
Mozilla Firefox 115.13.0 33708 Tuesday, July 9, 2024 Approved
Mozilla Firefox 115.12.0 29982 Tuesday, June 11, 2024 Approved
Mozilla Firefox 115.11.0 29509 Tuesday, May 14, 2024 Approved
Mozilla Firefox 115.10.0 27902 Tuesday, April 16, 2024 Approved
Mozilla Firefox 115.9.1 20671 Friday, March 22, 2024 Approved
Mozilla Firefox 115.9.0 22200 Tuesday, March 19, 2024 Approved
Mozilla Firefox 115.8.0 34230 Tuesday, February 20, 2024 Approved
Mozilla Firefox 115.7.0 29707 Tuesday, January 23, 2024 Approved
Mozilla Firefox 115.6.0 31631 Tuesday, December 19, 2023 Approved
Mozilla Firefox 115.5.0 33781 Tuesday, November 21, 2023 Approved
Mozilla Firefox 115.4.0 29994 Tuesday, October 24, 2023 Approved
Mozilla Firefox 115.3.1 25851 Thursday, September 28, 2023 Approved
Mozilla Firefox 115.3.0 9670 Tuesday, September 26, 2023 Approved
Mozilla Firefox 102.15.1 19776 Tuesday, September 12, 2023 Approved
Mozilla Firefox 102.15.0 20228 Tuesday, August 29, 2023 Approved
Mozilla Firefox 102.14.0 28025 Tuesday, August 1, 2023 Approved
Mozilla Firefox 102.13.0 34794 Tuesday, July 4, 2023 Approved
Mozilla Firefox 102.12.0 26663 Tuesday, June 6, 2023 Approved
Mozilla Firefox 102.11.0 27084 Tuesday, May 9, 2023 Approved
Mozilla Firefox 102.10.0 31584 Tuesday, April 11, 2023 Approved
Mozilla Firefox 102.9.0 36810 Tuesday, March 14, 2023 Approved
Mozilla Firefox 102.8.0 35703 Tuesday, February 14, 2023 Approved
Mozilla Firefox 102.7.0 34328 Wednesday, January 18, 2023 Approved
Mozilla Firefox 102.6.0 34637 Tuesday, December 13, 2022 Approved
Mozilla Firefox 102.5.0 33097 Tuesday, November 15, 2022 Approved
Mozilla Firefox 102.4.0 35735 Tuesday, October 18, 2022 Approved
Mozilla Firefox 102.3.0 33039 Tuesday, September 20, 2022 Approved
Mozilla Firefox 91.13.0 30325 Tuesday, August 23, 2022 Approved
Mozilla Firefox 91.12.0 31856 Tuesday, July 26, 2022 Approved
Mozilla Firefox 91.11.0 31796 Tuesday, June 28, 2022 Approved
Mozilla Firefox 91.10.0 30307 Tuesday, May 31, 2022 Approved
Mozilla Firefox 91.9.1 17400 Friday, May 20, 2022 Approved
Mozilla Firefox 91.9.0 23582 Tuesday, May 3, 2022 Approved
Mozilla Firefox 91.8.0 32731 Tuesday, April 5, 2022 Approved
Mozilla Firefox 91.7.1 32182 Monday, March 14, 2022 Approved
Mozilla Firefox 91.7.0 16755 Tuesday, March 8, 2022 Approved
Mozilla Firefox 91.6.1 12410 Saturday, March 5, 2022 Approved
Mozilla Firefox 91.6.0 34649 Tuesday, February 8, 2022 Approved
Mozilla Firefox 91.5.1 22508 Thursday, January 27, 2022 Approved
Mozilla Firefox 91.5.0 27605 Tuesday, January 11, 2022 Approved
Mozilla Firefox 91.4.1 25887 Thursday, December 16, 2021 Approved
Mozilla Firefox 91.4.0 17689 Tuesday, December 7, 2021 Approved
Mozilla Firefox 91.3.0 32598 Tuesday, November 2, 2021 Approved
Mozilla Firefox 78.15.0.20211014 23587 Thursday, October 14, 2021 Approved
Mozilla Firefox 78.15.0.20211011 11490 Monday, October 11, 2021 Approved
Mozilla Firefox 78.15.0 16199 Tuesday, October 5, 2021 Approved
Mozilla Firefox 78.14.0 40602 Tuesday, September 7, 2021 Approved
Mozilla Firefox 78.13.0 31970 Tuesday, August 10, 2021 Approved
Mozilla Firefox 78.12.0 25302 Tuesday, July 13, 2021 Approved
Mozilla Firefox 78.11.0 34903 Tuesday, June 1, 2021 Approved
Mozilla Firefox 78.10.1 23975 Tuesday, May 4, 2021 Approved
Mozilla Firefox 78.10.0 17414 Monday, April 19, 2021 Approved
Mozilla Firefox 78.9.0 25542 Tuesday, March 23, 2021 Approved
Mozilla Firefox 78.8.0 24827 Tuesday, February 23, 2021 Approved
Mozilla Firefox 78.7.1 17521 Friday, February 5, 2021 Approved
Mozilla Firefox 78.7.0 13624 Tuesday, January 26, 2021 Approved
Mozilla Firefox 78.6.1 18007 Wednesday, January 6, 2021 Approved
Mozilla Firefox 78.6.0 17078 Tuesday, December 15, 2020 Approved
Mozilla Firefox 78.5.0 23422 Tuesday, November 17, 2020 Approved
Mozilla Firefox 78.4.1 13309 Monday, November 9, 2020 Approved
Mozilla Firefox 78.4.0 20475 Tuesday, October 20, 2020 Approved
Mozilla Firefox 78.3.1 20642 Thursday, October 1, 2020 Approved
Mozilla Firefox 78.3.0 15660 Tuesday, September 22, 2020 Approved
Mozilla Firefox 68.12.0 43138 Tuesday, August 25, 2020 Approved
Mozilla Firefox 68.11.0 33805 Tuesday, July 28, 2020 Approved
Mozilla Firefox 68.10.0 19865 Tuesday, June 30, 2020 Approved
Mozilla Firefox 68.9.0 19601 Tuesday, June 2, 2020 Approved
Mozilla Firefox 68.8.0 19408 Tuesday, May 5, 2020 Approved
Mozilla Firefox 68.7.0 19666 Tuesday, April 7, 2020 Approved
Mozilla Firefox 68.6.1 6540 Friday, April 3, 2020 Approved
Mozilla Firefox 68.6.0 21278 Tuesday, March 10, 2020 Approved
Mozilla Firefox 68.5.0 33181 Tuesday, February 11, 2020 Approved
Mozilla Firefox 68.4.2 26154 Monday, January 20, 2020 Approved
Mozilla Firefox 68.4.1 19480 Wednesday, January 8, 2020 Approved
Mozilla Firefox 68.4.0 5333 Tuesday, January 7, 2020 Approved
Mozilla Firefox 68.3.0 27095 Tuesday, December 3, 2019 Approved
Mozilla Firefox 68.2.0 42890 Tuesday, October 22, 2019 Approved
Mozilla Firefox 60.9.0 51006 Wednesday, September 4, 2019 Approved
Mozilla Firefox 60.8.0 44260 Tuesday, July 9, 2019 Approved
Mozilla Firefox 60.7.2 16484 Thursday, June 20, 2019 Approved
Mozilla Firefox 60.7.1 4969 Tuesday, June 18, 2019 Approved
Mozilla Firefox 60.7.0 19137 Wednesday, May 22, 2019 Approved
Mozilla Firefox 60.6.2 14956 Monday, May 6, 2019 Approved
Mozilla Firefox 60.6.1 26643 Friday, March 22, 2019 Approved
Mozilla Firefox 60.6.0 6071 Tuesday, March 19, 2019 Approved
Mozilla Firefox 60.5.1 24310 Wednesday, February 13, 2019 Approved
Mozilla Firefox 60.5.0 13834 Tuesday, January 29, 2019 Approved
Mozilla Firefox 60.4.0 26488 Tuesday, December 11, 2018 Approved
Mozilla Firefox 60.3.0 37763 Tuesday, October 23, 2018 Approved
Mozilla Firefox 60.2.2 22292 Wednesday, October 3, 2018 Approved
Mozilla Firefox 60.2.1 24575 Saturday, September 22, 2018 Approved
Mozilla Firefox 60.2.0 39230 Thursday, September 6, 2018 Approved
Mozilla Firefox ESR 60.0 40361 Wednesday, May 9, 2018 Approved
Mozilla Firefox 52.9.0 1577 Tuesday, June 26, 2018 Approved
Mozilla Firefox 52.8.1 515 Thursday, June 7, 2018 Approved
Mozilla Firefox 52.8.0 1895 Saturday, May 12, 2018 Approved
Mozilla Firefox ESR 52.7.4 3102 Monday, May 7, 2018 Approved
Mozilla Firefox ESR 52.7.3 23599 Tuesday, March 27, 2018 Approved
Mozilla Firefox ESR 52.7.2 13999 Friday, March 16, 2018 Approved
Mozilla Firefox ESR 52.7.1 3417 Wednesday, March 14, 2018 Approved
Mozilla Firefox ESR 52.7.0 2490 Tuesday, March 13, 2018 Approved
Mozilla Firefox ESR 52.6.0 47238 Tuesday, January 23, 2018 Approved
Mozilla Firefox ESR 52.5.3 16665 Thursday, December 28, 2017 Approved
Mozilla Firefox ESR 52.5.2 12563 Friday, December 8, 2017 Approved
Mozilla Firefox ESR 52.5.0.20171115 16798 Wednesday, November 15, 2017 Approved
Mozilla Firefox ESR 52.5.0 1912 Tuesday, November 14, 2017 Approved
Mozilla Firefox ESR 52.4.1 12889 Tuesday, October 10, 2017 Approved
Mozilla Firefox ESR 52.4.0 5029 Thursday, September 28, 2017 Approved
Mozilla Firefox ESR 52.3.0 15407 Tuesday, August 8, 2017 Approved
Mozilla Firefox ESR 52.2.1 16428 Friday, June 30, 2017 Approved
Mozilla Firefox ESR 52.2.0 7980 Wednesday, June 14, 2017 Approved
Mozilla Firefox ESR 52.1.2 9009 Friday, May 19, 2017 Approved
Mozilla Firefox ESR 52.1.1 3001 Friday, May 5, 2017 Approved
Mozilla Firefox ESR 52.1.0 4046 Wednesday, April 19, 2017 Approved
Mozilla Firefox ESR 52.0.2 3347 Thursday, March 30, 2017 Approved
Mozilla Firefox ESR 52.0.1 2323 Saturday, March 18, 2017 Approved
Mozilla Firefox ESR 52.0 2034 Wednesday, March 8, 2017 Approved
Mozilla Firefox ESR 45.8.0 1861 Tuesday, March 7, 2017 Approved
Mozilla Firefox ESR 45.7.0 2944 Thursday, February 2, 2017 Approved
Mozilla Firefox ESR 45.5.1 3898 Thursday, December 1, 2016 Approved
Mozilla Firefox ESR 45.3.0 7379 Thursday, September 1, 2016 Approved
Mozilla Firefox ESR 45.2.0 2410 Tuesday, July 19, 2016 Approved
Mozilla Firefox ESR 38.5.2 4032 Tuesday, January 5, 2016 Approved
Mozilla Firefox ESR 38.2.0.2015081001 544 Tuesday, August 11, 2015 Approved
Mozilla Firefox ESR 38.2.0 504 Tuesday, August 11, 2015 Approved
Mozilla Firefox ESR 38.1.1 2104 Tuesday, August 11, 2015 Approved
Mozilla Firefox ESR 38.1.0 629 Friday, July 10, 2015 Approved
Mozilla Firefox ESR 31.5.0 6630 Thursday, February 26, 2015 Approved
Mozilla Firefox ESR 31.2.0 4396 Thursday, November 6, 2014 Approved
Mozilla Firefox ESR 31.1.0 881 Thursday, September 11, 2014 Approved
Mozilla Firefox ESR 24.2.0.20140209 1082 Sunday, February 9, 2014 Exempted
Mozilla Firefox ESR 24.2.0 749 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