tis-firefox

115.0.2-108
Mozilla Firefox is a free and open-source web browser
136624 downloads
Download
See build result See VirusTotal scan
tis-firefox icon
  • package : tis-firefox
  • name : Mozilla Firefox
  • version : 115.0.2-108
  • categories : Internet
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
  • installed_size :
  • editor : Mozilla Foundation,Mozilla Corporation
  • licence : MPL 2.0
  • signature_date : 2023-07-12T10:27:17.932206
  • size : 58.89 Mo
  • locale : fr
  • target_os : windows
  • impacted_process : firefox
  • architecture : x64
  • Homepage : https://www.mozilla.org/
  • Conflicts :
package           : tis-firefox
version           : 115.0.2-108
architecture      : x64
section           : base
priority          : optional
name              : Mozilla Firefox
categories        : Internet
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ
description       : Mozilla Firefox is a free and open-source web browser
depends           : 
conflicts         : tis-firefox-esr,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    : 
impacted_process  : firefox
description_fr    : Mozilla Firefox est un navigateur web gratuit et open source
description_pl    : Mozilla Firefox to darmowa i open-source'owa przeglądarka internetowa
description_de    : Mozilla Firefox ist ein kostenloser und quelloffener Webbrowser
description_es    : Mozilla Firefox es un navegador web gratuito y de código abierto
description_pt    : Mozilla Firefox é um navegador web gratuito e de código aberto
description_it    : Mozilla Firefox è un browser web gratuito e open-source
description_nl    : Mozilla Firefox is een gratis en open-source webbrowser
description_ru    : Mozilla 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      : 41b30f85-e9a1-4217-9047-bf2da3158569
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://www.mozilla.org/en-US/firefox/releases/
min_os_version    : 6.1
max_os_version    : 
icon_sha256sum    : 2dc82eade364831757e067169d0039e6e0c9b693f343ea9a62db709eb1942c9e
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : p+qb112NgOH0UdTLydqVvdsPVfeIGKpo5ysQvwNAmRzBr2zyJDMpsCzTsgV6iZYvI6goperEVlfMxNuLsy/JgJQ+nKKUwnIe4M5iugBQSiwyxz9tSN4BcDWC1+r0VZxLGVN/TC2SukpJY/IZZkxXMwK1YAzJFnZhK8v8p+bgkCCDTOIq7tzJXr1l2RbhgwbkqOU26susjPgTl64P1TBucQOeVeFVTBx3Hz7wok20f9xogqZ0VbetJYmYLzD9vx8ryHYEQ1vRYXJ4xLahXcgwWp+BAAXOQaomoomfNcB87Bm2HBkiyZT2BZ+flBiHH2QL6g9t7ZAyfi3UtSGJbL8GhA==
signature_date    : 2023-07-12T10:27:17.932206
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
# -*- 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 (%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 "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 requests


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-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 = download_url.split("/")[-4]

    # Downloading latest binaries
    print("Latest %s version is: %s" % (app_name, version))
    print("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)

    # 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
09c9e6c495f044c6f24d5eec30f462ff1343cc6081a5dbeeccd8775ed1261d3e : setup.py
 : __pycache__
2d0fb5280d5fa4ca925dd18664dafc94c8a2838770828f82f6b7e44c05b8141e : update_package.py
2dc82eade364831757e067169d0039e6e0c9b693f343ea9a62db709eb1942c9e : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
0b5272752dbbdc485c0887ac00ccd40cfb0c462f3b0880e935d823ff651ebacb : luti.json
e80eadabff533eb8dc5a61cc7fe67c6d20035301c7a0567794bb8332910ab204 : Firefox_Setup_115.0.2.exe
524d9f9ca9443a0b588d9af20a20d2f21e6a08bb2ca0428a3ccad9e74d06e4c9 : WAPT/control