tis-pale-moon icon

Pale Moon

Silent install package for Pale Moon

34.0.1-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.0.1-1
  • maintainer: WAPT Team,Tranquil IT,Amel FRADJ
  • licence: http://www.palemoon.org/licensing.shtml
  • target_os: windows
  • architecture: x64
  • signature_date:
  • size: 36.19 Mo
  • homepage : https://www.palemoon.org/download.shtml

package           : tis-pale-moon
version           : 34.0.1-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      : 740a4fde-f7f2-4df2-b78e-aaae87624269
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-01-22T09:56:46.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         : cykTInTJdbuR2LcJu5RZ8j4epMPFuwa0CsIJCDgI2BQJ1BUKRpDGww81J6bkIXx4RbQKm3gud3ioqV7RxhjIvTXJzdjTXLW00kl+WisAOC+kgHqmU1JZWFDkK+312SxNBUzV02q68jkD6bMz3y5OnbqfpFXViMejMfKD8VWj3jk0MqWg51bqLYYU5loan4DyOUpZKK4bnCGNYiaRNxgHXbKAkKoZw1ypa+4blTffEi+jq1FSGPqRCwbaY0umNCjf/B3rxz4/q3XT1S+kDMAnHOqHw7tzcfr/E9EDlpU+s53UM8YITDnPswKv4wl3VouAZxwohNz/bB1Rbq5MK5FAJA==

# -*- 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
5ccd4af0616942636fcc0b0900a8d5c115f795a7db85fd0111e93a1114840944 : WAPT/control
3c29b8f8956d43f432aefcc3c7342f9f3f211b8d4548b90298276a9c1d29dec5 : WAPT/icon.png
eabde550798df4ae0c19379a948b9b4be7faac24118e87eb7421bbcc86f423b8 : luti.json
0ba74fe20822b714b60e0b781a3b5252833c98f95e93a7552099cd7b71c95f1b : palemoon-34.0.1.win64.installer.exe
3d52ef10dd4a26257bfabeaa7350c3b135780fc09e64ea400b845530900a75cc : setup.py
9a0fef679efa8d03ce8083c8fa24c14c4a2b3ab8002439ddfd6dadd4a459a544 : update_package.py