tis-pale-moon icon

Pale Moon

Silent install package for Pale Moon

34.2.0-1

Preprod packages are packages built on LUTI. They remain in PREPROD usually for 5 days, after which a second VirusTotal scan is performed to verify that the status has not changed.
If the package passes this last check, it is promoted to PROD and published on the store.

  • package: tis-pale-moon
  • name: Pale Moon
  • version: 34.2.0-1
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: http://www.palemoon.org/licensing.shtml
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 36.29 Mo
  • homepage : https://www.palemoon.org/download.shtml

package           : tis-pale-moon
version           : 34.2.0-1
architecture      : x64
section           : base
priority          : optional
name              : Pale Moon
categories        : 
maintainer        : WAPT Team,Tranquil IT,Amel FRADJ
description       : Pale Moon is an Open Source Web browser based on Goanna
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : 
target_os         : windows
min_wapt_version  : 
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Pale Moon est un navigateur Web Open Source basé sur Goanna
description_pl    : Pale Moon to przeglądarka internetowa o otwartym kodzie źródłowym oparta na Goannie
description_de    : Pale Moon ist ein Open-Source-Webbrowser, der auf Goanna basiert
description_es    : Pale Moon es un navegador web de código abierto basado en Goanna
description_pt    : O Pale Moon é um navegador Web de código aberto baseado no Goanna
description_it    : Pale Moon è un browser web open source basato su Goanna
description_nl    : Pale Moon is een Open Source webbrowser gebaseerd op Goanna
description_ru    : Pale Moon - веб-браузер с открытым исходным кодом, основанный на Goanna
audit_schedule    : 
editor            : 
keywords          : 
licence           : http://www.palemoon.org/licensing.shtml
homepage          : https://www.palemoon.org/download.shtml
package_uuid      : b57d9116-6a58-45c0-bdad-6abf5bde4849
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 3c29b8f8956d43f432aefcc3c7342f9f3f211b8d4548b90298276a9c1d29dec5
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2026-04-07T07:03:04.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         : fovRX7PTgYH1l68ydnTZbFpsBIsdv0GlWx0P9/JJrxRGqaKoq9T3dNs65jjIDcKUh1d3+BTg7mzhuotAuBFQdOUrThaHVqduJmA2TKRTEyL5mxJC0H5oqhO2rvMi9VHvvdpa27QG3LrmMB8XsIhTNRe3i1V4XgPfz+daQZk9pL63QdNjtUInWkxn1ZR69Z+DRHKSPnShbJTyp47+46GBND6My9E/idQ04gWz5vFOqn2FTAGgnpCrzOlein0y+6p5fxqW2H3xEKU0zFXZImtmHs1LUygTCaljG4dK4tlu6Ycp91kq4gy8cUeseMzzkA07Kx+DboFBYT900DPiCwHkjw==

# -*- coding: utf-8 -*-
from setuphelpers import *

r"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
{
   "key":"Pale Moon 33.3.0 (x64 en-US)",
   "name":"Pale Moon 33.3.0 (x64 en-US)",
   "version":"33.3.0",
   "install_date":"",
   "install_location":"C:\\Program Files\\Pale Moon",
   "uninstall_string":"\"C:\\Program Files\\Pale Moon\\uninstall\\helper.exe\"",
   "publisher":"Moonchild Productions",
   "system_component":0,
   "win64":true
  }

"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls


def install():
    # Declaring local variables
    bin_name = glob.glob('palemoon-*.exe')[0]
    # Récupérer la version depuis l'objet control
    version = control.get_software_version()

    # Construire dynamiquement la clé de registre avec la version récupérée
    key = f'Pale Moon {version} (x64 en-US)'
    # Installing the software
    
    install_exe_if_needed(bin_name,
        silentflags='/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-',
        key=key,
        min_version=control.get_software_version(),
    )




# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import glob
import re



def update_package():
    # Declaring local variables
    package_updated = False
    
    proxies = get_proxies_from_wapt_console()
    if not proxies:
        proxies = get_proxies()

  
    # URL de base pour Pale Moon
    data = requests.head('https://www.palemoon.org/download.php?mirror=us&bits=64&type=installer',allow_redirects=True,proxies=proxies)
    download_url = data.url  
    latest_bin = download_url.split("/")[-1]
    # Utilisez une expression régulière pour extraire la version
    match = re.search(r'(\d+\.\d+\.\d+)', latest_bin)
    if match:
        version = match.group(0)
    else:
        version = ''

    print(version)    
            
            

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


    # Deleting outdated binaries
    for f in glob.glob('*.exe'):
        if f != latest_bin:
            remove_file(f)

           
    
    # Mettre à jour le package
    control.set_software_version(version)
    control.save_control_to_wapt()    
        

01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
9c6782b45fbdaaeccc3ec1af9669f5106361c9bef49c341a3aaaeebdda54843b : WAPT/control
3c29b8f8956d43f432aefcc3c7342f9f3f211b8d4548b90298276a9c1d29dec5 : WAPT/icon.png
3539e6d5d23c91c2a443f1b9b89ce656c77683cf838fee9244a26834f007d3c2 : luti.json
0f3853f9073cd1f701053e42a497d5d767a49a4492e32d8937605e35562126bd : palemoon-34.2.0.win64.installer.exe
3d52ef10dd4a26257bfabeaa7350c3b135780fc09e64ea400b845530900a75cc : setup.py
9a0fef679efa8d03ce8083c8fa24c14c4a2b3ab8002439ddfd6dadd4a459a544 : update_package.py