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,804,979

Downloads of v 31.5.0:

6,620

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,804,979

Downloads of v 31.5.0:

6,620

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.3.1 33498 Wednesday, October 9, 2024 Approved
Mozilla Firefox 128.3.0 21503 Tuesday, October 1, 2024 Approved
Mozilla Firefox 115.15.0 26568 Saturday, September 14, 2024 Approved
Mozilla Firefox 115.14.0 39816 Tuesday, August 6, 2024 Approved
Mozilla Firefox 115.13.0 31393 Tuesday, July 9, 2024 Approved
Mozilla Firefox 115.12.0 29953 Tuesday, June 11, 2024 Approved
Mozilla Firefox 115.11.0 29479 Tuesday, May 14, 2024 Approved
Mozilla Firefox 115.10.0 27797 Tuesday, April 16, 2024 Approved
Mozilla Firefox 115.9.1 20136 Friday, March 22, 2024 Approved
Mozilla Firefox 115.9.0 22170 Tuesday, March 19, 2024 Approved
Mozilla Firefox 115.8.0 33539 Tuesday, February 20, 2024 Approved
Mozilla Firefox 115.7.0 29594 Tuesday, January 23, 2024 Approved
Mozilla Firefox 115.6.0 31593 Tuesday, December 19, 2023 Approved
Mozilla Firefox 115.5.0 33167 Tuesday, November 21, 2023 Approved
Mozilla Firefox 115.4.0 29975 Tuesday, October 24, 2023 Approved
Mozilla Firefox 115.3.1 25833 Thursday, September 28, 2023 Approved
Mozilla Firefox 115.3.0 9654 Tuesday, September 26, 2023 Approved
Mozilla Firefox 102.15.1 19727 Tuesday, September 12, 2023 Approved
Mozilla Firefox 102.15.0 20217 Tuesday, August 29, 2023 Approved
Mozilla Firefox 102.14.0 28005 Tuesday, August 1, 2023 Approved
Mozilla Firefox 102.13.0 34784 Tuesday, July 4, 2023 Approved
Mozilla Firefox 102.12.0 26648 Tuesday, June 6, 2023 Approved
Mozilla Firefox 102.11.0 27055 Tuesday, May 9, 2023 Approved
Mozilla Firefox 102.10.0 31564 Tuesday, April 11, 2023 Approved
Mozilla Firefox 102.9.0 36797 Tuesday, March 14, 2023 Approved
Mozilla Firefox 102.8.0 35684 Tuesday, February 14, 2023 Approved
Mozilla Firefox 102.7.0 34315 Wednesday, January 18, 2023 Approved
Mozilla Firefox 102.6.0 34624 Tuesday, December 13, 2022 Approved
Mozilla Firefox 102.5.0 33079 Tuesday, November 15, 2022 Approved
Mozilla Firefox 102.4.0 35715 Tuesday, October 18, 2022 Approved
Mozilla Firefox 102.3.0 33023 Tuesday, September 20, 2022 Approved
Mozilla Firefox 91.13.0 30307 Tuesday, August 23, 2022 Approved
Mozilla Firefox 91.12.0 31836 Tuesday, July 26, 2022 Approved
Mozilla Firefox 91.11.0 31784 Tuesday, June 28, 2022 Approved
Mozilla Firefox 91.10.0 30290 Tuesday, May 31, 2022 Approved
Mozilla Firefox 91.9.1 17387 Friday, May 20, 2022 Approved
Mozilla Firefox 91.9.0 23568 Tuesday, May 3, 2022 Approved
Mozilla Firefox 91.8.0 32717 Tuesday, April 5, 2022 Approved
Mozilla Firefox 91.7.1 32169 Monday, March 14, 2022 Approved
Mozilla Firefox 91.7.0 16730 Tuesday, March 8, 2022 Approved
Mozilla Firefox 91.6.1 12400 Saturday, March 5, 2022 Approved
Mozilla Firefox 91.6.0 34637 Tuesday, February 8, 2022 Approved
Mozilla Firefox 91.5.1 22490 Thursday, January 27, 2022 Approved
Mozilla Firefox 91.5.0 27586 Tuesday, January 11, 2022 Approved
Mozilla Firefox 91.4.1 25869 Thursday, December 16, 2021 Approved
Mozilla Firefox 91.4.0 17671 Tuesday, December 7, 2021 Approved
Mozilla Firefox 91.3.0 32583 Tuesday, November 2, 2021 Approved
Mozilla Firefox 78.15.0.20211014 23565 Thursday, October 14, 2021 Approved
Mozilla Firefox 78.15.0.20211011 11470 Monday, October 11, 2021 Approved
Mozilla Firefox 78.15.0 16182 Tuesday, October 5, 2021 Approved
Mozilla Firefox 78.14.0 40585 Tuesday, September 7, 2021 Approved
Mozilla Firefox 78.13.0 31961 Tuesday, August 10, 2021 Approved
Mozilla Firefox 78.12.0 25288 Tuesday, July 13, 2021 Approved
Mozilla Firefox 78.11.0 34885 Tuesday, June 1, 2021 Approved
Mozilla Firefox 78.10.1 23967 Tuesday, May 4, 2021 Approved
Mozilla Firefox 78.10.0 17401 Monday, April 19, 2021 Approved
Mozilla Firefox 78.9.0 25527 Tuesday, March 23, 2021 Approved
Mozilla Firefox 78.8.0 24806 Tuesday, February 23, 2021 Approved
Mozilla Firefox 78.7.1 17506 Friday, February 5, 2021 Approved
Mozilla Firefox 78.7.0 13603 Tuesday, January 26, 2021 Approved
Mozilla Firefox 78.6.1 17991 Wednesday, January 6, 2021 Approved
Mozilla Firefox 78.6.0 17059 Tuesday, December 15, 2020 Approved
Mozilla Firefox 78.5.0 23400 Tuesday, November 17, 2020 Approved
Mozilla Firefox 78.4.1 13293 Monday, November 9, 2020 Approved
Mozilla Firefox 78.4.0 20462 Tuesday, October 20, 2020 Approved
Mozilla Firefox 78.3.1 20622 Thursday, October 1, 2020 Approved
Mozilla Firefox 78.3.0 15645 Tuesday, September 22, 2020 Approved
Mozilla Firefox 68.12.0 43122 Tuesday, August 25, 2020 Approved
Mozilla Firefox 68.11.0 33787 Tuesday, July 28, 2020 Approved
Mozilla Firefox 68.10.0 19845 Tuesday, June 30, 2020 Approved
Mozilla Firefox 68.9.0 19585 Tuesday, June 2, 2020 Approved
Mozilla Firefox 68.8.0 19387 Tuesday, May 5, 2020 Approved
Mozilla Firefox 68.7.0 19643 Tuesday, April 7, 2020 Approved
Mozilla Firefox 68.6.1 6518 Friday, April 3, 2020 Approved
Mozilla Firefox 68.6.0 21260 Tuesday, March 10, 2020 Approved
Mozilla Firefox 68.5.0 33163 Tuesday, February 11, 2020 Approved
Mozilla Firefox 68.4.2 26137 Monday, January 20, 2020 Approved
Mozilla Firefox 68.4.1 19467 Wednesday, January 8, 2020 Approved
Mozilla Firefox 68.4.0 5320 Tuesday, January 7, 2020 Approved
Mozilla Firefox 68.3.0 27075 Tuesday, December 3, 2019 Approved
Mozilla Firefox 68.2.0 42866 Tuesday, October 22, 2019 Approved
Mozilla Firefox 60.9.0 50986 Wednesday, September 4, 2019 Approved
Mozilla Firefox 60.8.0 44244 Tuesday, July 9, 2019 Approved
Mozilla Firefox 60.7.2 16461 Thursday, June 20, 2019 Approved
Mozilla Firefox 60.7.1 4953 Tuesday, June 18, 2019 Approved
Mozilla Firefox 60.7.0 19120 Wednesday, May 22, 2019 Approved
Mozilla Firefox 60.6.2 14936 Monday, May 6, 2019 Approved
Mozilla Firefox 60.6.1 26619 Friday, March 22, 2019 Approved
Mozilla Firefox 60.6.0 6052 Tuesday, March 19, 2019 Approved
Mozilla Firefox 60.5.1 24294 Wednesday, February 13, 2019 Approved
Mozilla Firefox 60.5.0 13817 Tuesday, January 29, 2019 Approved
Mozilla Firefox 60.4.0 26467 Tuesday, December 11, 2018 Approved
Mozilla Firefox 60.3.0 37745 Tuesday, October 23, 2018 Approved
Mozilla Firefox 60.2.2 22276 Wednesday, October 3, 2018 Approved
Mozilla Firefox 60.2.1 24555 Saturday, September 22, 2018 Approved
Mozilla Firefox 60.2.0 39208 Thursday, September 6, 2018 Approved
Mozilla Firefox ESR 60.0 40328 Wednesday, May 9, 2018 Approved
Mozilla Firefox 52.9.0 1544 Tuesday, June 26, 2018 Approved
Mozilla Firefox 52.8.1 496 Thursday, June 7, 2018 Approved
Mozilla Firefox 52.8.0 1876 Saturday, May 12, 2018 Approved
Mozilla Firefox ESR 52.7.4 3091 Monday, May 7, 2018 Approved
Mozilla Firefox ESR 52.7.3 23582 Tuesday, March 27, 2018 Approved
Mozilla Firefox ESR 52.7.2 13979 Friday, March 16, 2018 Approved
Mozilla Firefox ESR 52.7.1 3402 Wednesday, March 14, 2018 Approved
Mozilla Firefox ESR 52.7.0 2472 Tuesday, March 13, 2018 Approved
Mozilla Firefox ESR 52.6.0 47217 Tuesday, January 23, 2018 Approved
Mozilla Firefox ESR 52.5.3 16650 Thursday, December 28, 2017 Approved
Mozilla Firefox ESR 52.5.2 12544 Friday, December 8, 2017 Approved
Mozilla Firefox ESR 52.5.0.20171115 16782 Wednesday, November 15, 2017 Approved
Mozilla Firefox ESR 52.5.0 1881 Tuesday, November 14, 2017 Approved
Mozilla Firefox ESR 52.4.1 12877 Tuesday, October 10, 2017 Approved
Mozilla Firefox ESR 52.4.0 5011 Thursday, September 28, 2017 Approved
Mozilla Firefox ESR 52.3.0 15387 Tuesday, August 8, 2017 Approved
Mozilla Firefox ESR 52.2.1 16408 Friday, June 30, 2017 Approved
Mozilla Firefox ESR 52.2.0 7963 Wednesday, June 14, 2017 Approved
Mozilla Firefox ESR 52.1.2 8990 Friday, May 19, 2017 Approved
Mozilla Firefox ESR 52.1.1 2958 Friday, May 5, 2017 Approved
Mozilla Firefox ESR 52.1.0 4025 Wednesday, April 19, 2017 Approved
Mozilla Firefox ESR 52.0.2 3323 Thursday, March 30, 2017 Approved
Mozilla Firefox ESR 52.0.1 2301 Saturday, March 18, 2017 Approved
Mozilla Firefox ESR 52.0 2016 Wednesday, March 8, 2017 Approved
Mozilla Firefox ESR 45.8.0 1767 Tuesday, March 7, 2017 Approved
Mozilla Firefox ESR 45.7.0 2927 Thursday, February 2, 2017 Approved
Mozilla Firefox ESR 45.5.1 3882 Thursday, December 1, 2016 Approved
Mozilla Firefox ESR 45.3.0 7354 Thursday, September 1, 2016 Approved
Mozilla Firefox ESR 45.2.0 2394 Tuesday, July 19, 2016 Approved
Mozilla Firefox ESR 38.5.2 4016 Tuesday, January 5, 2016 Approved
Mozilla Firefox ESR 38.2.0.2015081001 516 Tuesday, August 11, 2015 Approved
Mozilla Firefox ESR 38.2.0 488 Tuesday, August 11, 2015 Approved
Mozilla Firefox ESR 38.1.1 2087 Tuesday, August 11, 2015 Approved
Mozilla Firefox ESR 38.1.0 615 Friday, July 10, 2015 Approved
Mozilla Firefox ESR 31.5.0 6620 Thursday, February 26, 2015 Approved
Mozilla Firefox ESR 31.2.0 4377 Thursday, November 6, 2014 Approved
Mozilla Firefox ESR 31.1.0 862 Thursday, September 11, 2014 Approved
Mozilla Firefox ESR 24.2.0.20140209 1068 Sunday, February 9, 2014 Exempted
Mozilla Firefox ESR 24.2.0 733 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