tis-firefox-esr icon

Mozilla Firefox ESR

Silent install package for Mozilla Firefox ESR

128.11.0-109

  • package: tis-firefox-esr
  • name: Mozilla Firefox ESR
  • version: 128.11.0-109
  • categories: Internet
  • maintainer: WAPT Team,Tranquil IT,Jimmy PELÉ,Simon FONTENEAU
  • editor: Mozilla Foundation,Mozilla Corporation
  • licence: MPL 2.0
  • locale: fr
  • target_os: windows
  • impacted_process: firefox
  • architecture: x64
  • signature_date:
  • size: 66.61 Mo
  • installed_size: 220.64 Mo
  • homepage : https://www.mozilla.org/
  • conflicts :

package           : tis-firefox-esr
version           : 128.11.0-109
architecture      : x64
section           : base
priority          : optional
name              : Mozilla Firefox ESR
categories        : Internet
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Simon FONTENEAU
description       : Mozilla Firefox Extended Support Release (ESR) is an official version of Firefox developed for large organizations like universities and businesses that need to set up and maintain Firefox on a large scale
depends           : 
conflicts         : tis-firefox,tis-firefox-multi-esr,tis-firefox-multi
maturity          : PROD
locale            : fr
target_os         : windows
min_wapt_version  : 2.0
sources           : https://www.mozilla.org/firefox/all/#product-desktop-release
installed_size    : 220643328
impacted_process  : firefox
description_fr    : Mozilla Firefox Extended Support Release (ESR) est une version officielle de Firefox développée pour les grandes organisations comme les universités et les entreprises qui ont besoin de configurer et de maintenir Firefox à grande échelle
description_pl    : Mozilla Firefox Extended Support Release (ESR) to oficjalna wersja Firefoksa stworzona dla dużych organizacji, takich jak uniwersytety i firmy, które muszą skonfigurować i utrzymywać Firefoksa na dużą skalę
description_de    : Mozilla Firefox Extended Support Release (ESR) ist eine offizielle Version von Firefox, die für große Organisationen wie Universitäten und Unternehmen entwickelt wurde, die Firefox in großem Umfang einrichten und pflegen müssen
description_es    : Mozilla Firefox Extended Support Release (ESR) es una versión oficial de Firefox desarrollada para grandes organizaciones como universidades y empresas que necesitan configurar y mantener Firefox a gran escala
description_pt    : Mozilla Firefox Extended Support Release (ESR) é uma versão oficial do Firefox desenvolvida para grandes organizações como universidades e empresas que precisam de instalar e manter o Firefox em grande escala
description_it    : Mozilla Firefox Extended Support Release (ESR) è una versione ufficiale di Firefox sviluppata per le grandi organizzazioni, come le università e le aziende, che hanno bisogno di configurare e gestire Firefox su larga scala
description_nl    : Mozilla Firefox Extended Support Release (ESR) is een officiële versie van Firefox, ontwikkeld voor grote organisaties zoals universiteiten en bedrijven die Firefox op grote schaal moeten opzetten en onderhouden
description_ru    : Mozilla Firefox Extended Support Release (ESR) - это официальная версия Firefox, разработанная для крупных организаций, таких как университеты и предприятия, которым необходимо установить и поддерживать Firefox в больших масштабах
audit_schedule    : 
editor            : Mozilla Foundation,Mozilla Corporation
keywords          : web,browser,navigateur,firefox,mozilla
licence           : MPL 2.0
homepage          : https://www.mozilla.org/
package_uuid      : b7f5fce4-138d-4cd1-a8cb-666c0cec0555
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.mozilla.org/firefox/releases/
min_os_version    : 10
max_os_version    : 
icon_sha256sum    : 2dc82eade364831757e067169d0039e6e0c9b693f343ea9a62db709eb1942c9e
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-05-28T07:38:49.000000
signed_attributes : package,version,architecture,section,priority,name,categories,maintainer,description,depends,conflicts,maturity,locale,target_os,min_wapt_version,sources,installed_size,impacted_process,description_fr,description_pl,description_de,description_es,description_pt,description_it,description_nl,description_ru,audit_schedule,editor,keywords,licence,homepage,package_uuid,valid_from,valid_until,forced_install_on,changelog,min_os_version,max_os_version,icon_sha256sum,signer,signer_fingerprint,signature_date,signed_attributes
signature         : ZkW0BzctWmH2VJF2Hho2BG06An+7yepNkl+JHu8Hj78+cNttZynCrBQpgp5jPsbahRwAtZOuzi5XJ3Fsny7/zPz7tLB0BmGACsbm/lIf6cQH+hsFzegYb6Dlz2owWPdHQrMBaoDxH2MEAK9MMtqgphD1iHXl7X5D+911T6okiv0VBnKQwA5auKcAwYW5M+BueL5nLhzS5nBAClSLGNLPxvCqZhWS7zMwc642ck2UWBj7fstSH2x1ihLp9tH3yO7XMfgBVYrQ/IdcDDtOt+1LlcSQOVJ3tRSKetwUcwECQH+H4ZSPQtTo+0HpoL26vrlnfG7qN7PjiCTqvj3v/zifjw==

# -*- coding: UTF-8 -*-
from setuphelpers import *
import time


def install():
    bin_name = glob.glob("Firefox_Setup_*.exe")[0]

    # Translating locale
    for lang in ["fr", "en-US", "es-ES", "de", "it"]:
        if control.locale in lang:
            locale = lang
    app_uninstallkey = "Mozilla Firefox %s ESR (%s %s)" % (control.get_software_version(), control.architecture, locale)

    # Uninstalling others versions
    for uninstall in installed_softwares(name="Mozilla Firefox"):
        if not control.architecture in uninstall["name"] or not "ESR" in uninstall["name"]:
            print("Removing: %s" % (uninstall["name"]))
            killalltasks(control.get_impacted_process_list())
            run(uninstall_cmd(uninstall["key"]))
            time.sleep(15)  # Required for Firefox

    # Installing the software
    install_exe_if_needed(
        bin_name,
        silentflags="/S /PreventRebootRequired=false /TaskbarShortcut=false /DesktopShortcut=false /StartMenuShortcut=true /MaintenanceService=false /RegisterDefaultAgent=false /RemoveDistributionDir=false /OptionalExtensions=false",
        key=app_uninstallkey,
        min_version=control.get_software_version(),
    )

    # Making sure that Mozilla Maintenance Service is not installed
    for uninstall in installed_softwares(name="Mozilla Maintenance Service"):
        print("Removing: %s" % (uninstall["name"]))
        run(uninstall_cmd(uninstall["key"]))

    # Adding Minimal configuration for Firefox you may use the package "tis-config-firefox" for further options
    if not isfile(makepath(programfiles, "Mozilla Firefox", "distribution", "policies.json")):
        registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Policies\Mozilla\Firefox", "DisableAppUpdate", 1, REG_DWORD)
        registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Policies\Mozilla\Firefox", "DisableTelemetry", 1, REG_DWORD)

# -*- coding: UTF-8 -*-
from setuphelpers import *
import json
import requests
import waptlicences

def update_package():
    # Declaring local variables
    package_updated = False
    proxies = get_proxies()
    if not proxies:
        proxies = get_proxies_from_wapt_console()
    app_name = control.name
    arch_dict = {"x64": "win64", "x86": "win", "all": "win"}
    lang = control.locale

    # Translating locale
    if "en" in lang:
        lang = "en-US"
    if "es" in lang:
        lang = "es-ES"

    # Getting latest version from official sources
    download_url = requests.head(
        "https://download.mozilla.org/?product=firefox-esr-latest-ssl&os=%s&lang=%s" % (arch_dict[control.architecture], lang), proxies=proxies
    ).headers["Location"]
    latest_bin = download_url.rsplit("/", 1)[1].replace("%20", "_")
    version = latest_bin.split("_")[-1].split("esr")[0]
    version_from_api = (
        json.loads(wgets("https://product-details.mozilla.org/1.0/firefox_versions.json", proxies=proxies))
        .get("FIREFOX_ESR_NEXT", "0")
        .replace("esr", "")
    )
    if Version(version_from_api) > version:
        download_url = download_url.replace(version, version_from_api)
        version = version_from_api
        latest_bin = download_url.rsplit("/", 1)[1].replace("%20", "_")

    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_name, version))
    print("Download download_url is: %s" % download_url)
    if not isfile(latest_bin):
        print("Downloading: %s" % latest_bin)
        wget(download_url, latest_bin, proxies=proxies)
    else:
        print("Binary is present: %s" % latest_bin)

    # Check signature bin
    expected_issuer = 'Mozilla Corporation'
    sign_name = waptlicences.check_msi_signature(latest_bin)[0]
    if sign_name != expected_issuer:
        error('Bad issuer %s != %s ' % (sign_name,expected_issuer))

    # Changing version of the package
    if Version(version) > Version(control.get_software_version()):
        print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
        package_updated = True
    else:
        print("Software version up-to-date (%s)" % Version(version))
    control.set_software_version(version)
    control.save_control_to_wapt()

    # Deleting outdated binaries
    remove_outdated_binaries(version)

    # Validating or not update-package-sources
    return package_updated

6adca2e85c67e26a839d0ac9c93e55601284a9cee3e4044185dcc197edbe16a3 : Firefox_Setup_128.11.0esr.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
86d85c822b2eb2a871b4058802723a3164c6cf412b300e05cf598df067d3c32d : WAPT/changelog.txt
a5c874bd5623bb87dc67585c0fdbb78afa2a460330e78ae644fffa83efca6e4d : WAPT/control
2dc82eade364831757e067169d0039e6e0c9b693f343ea9a62db709eb1942c9e : WAPT/icon.png
1d0633f6a6b990c5bd5ef828920873ab851c0cc74d0a4b6ef3ae66e7048bd41e : luti.json
c5770f8033eb9903d708ee81487f8960cdd0c6ee4640dd8d434af27adb87361b : setup.py
c065a1df16349c7cd7bbbbc6039bc6159d3d2d322d827a2147ff9b9eb5aadef5 : update_package.py

https://www.mozilla.org/firefox/releases/
102.1.0-109

failover on ESR online version check 
symplifying code
adding installed_size
min_wapt_version  : 2.0