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: x86
  • signature_date:
  • size: 31.07 Mo
  • homepage : https://www.palemoon.org/download.shtml

package           : tis-pale-moon
version           : 34.0.1-1
architecture      : x86
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      : 9df737fe-a01e-41a8-9a0c-486ea2555086
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-22T10:01:40.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         : auYxWIMxugogFlgtefopBJM6XNkWrPgwnVxl2jh935d3mU6L9I0fVz7vdj+MIU8q1goz+g4cbNvuFKvQnc+fWlDBicR5p0UxZE8ZsWCsYHQ5T08iKTmFppRxI8i1qqqREYVRVxLRUP6En7cqRe2SkO+beL5jYJLjUVQ+t4AvUkrgD/c7jkrynouGBYWYnfdZL1FxdC1RdGjmUzgCTnTMXQJHcr3/NI5mWBaGaJR23un7C2DLptZHrvefQZqPxqOrOR4Y3EgA0Yl1C10wap2cS88SqVHKPop4ai/COOkt8QqBNS54jBPjpExxkVbe3IoJetnD+nAK7XHqCqgDEY5AxQ==

# -*- 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} (x86 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=32&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
ddd426a786124aaf50e7f31e326f6e0bdc35ab32e8bd591039ed36ffe146ff09 : WAPT/control
3c29b8f8956d43f432aefcc3c7342f9f3f211b8d4548b90298276a9c1d29dec5 : WAPT/icon.png
2142273a715fd11ca8ab4d8273ac10f501c0a31ab1a3de22a88d80cf8b1b97c8 : luti.json
2e0aa613a9939f0546eb5113b04578fbbe87d1226b7dbe8fe1e1ca839cfb5e3f : palemoon-34.0.1.win32.installer.exe
d84efd7edb5da7180eb2e1db7093f679a5dab0ae217d2d823faf4b5bde2359aa : setup.py
c477ea86865f4d48258cd3d5c26cd86bd4f634a1243febab4c86281241690ddd : update_package.py