
firefox-portable-specific-version
Silent install package for firefox-portable-specific-version
0-4
- package: tis-firefox-portable-specific-version-template
- name: firefox-portable-specific-version
- version: 0-4
- locale: all
- target_os: windows
- architecture: all
- signature_date:
- size: 7.56 Ko
package : tis-firefox-portable-specific-version-template
version : 0-4
architecture : all
section : base
priority : optional
name : firefox-portable-specific-version
categories :
maintainer :
description : This package is a portable firefox installation which is used to launch specific version
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
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 : a28f8ea9-06f8-487e-90c8-a9948cd16470
valid_from :
valid_until :
forced_install_on :
changelog :
min_os_version :
max_os_version :
icon_sha256sum : 9a45ebf166bf2813013c8fecccebb44b98b445a1a272afc8bbe29881b50709ae
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-08-11T18:00:19.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 : ogdDmp3+BeqS6GvYu0F39lExrd598UnyAGg1OBX8DiKQPCP4Bwo4kISR4TrwZS4p7q4hIabpaDWbbkhevh6HpnMpN3KxrWGiOmmVIFtsaVrVpzjkspHsDz+20+kvW6O7yhhMyWomUwdqdy1gXlDIGxvgPSM5lWgz03xKM7rRUW5fHldhWSNKIkgVfi+m2XNqVx6DpTCjTsQJpiNJjp9UM8IPeHcH8RLmGUC2ph+Gs3dFYj6ifXNg3pqFq+zgp2wzw3jcGw7tP5r81bLEwzHktzQ3jRIq1mqv0Hmskn4OR+7zrhlyiep4vUy8auVKHA/94QHtkwb1mDqg6pCxGmm0tg==
# -*- coding: utf-8 -*-
from setuphelpers import *
def install():
app_name = control.package.split('-',1)[1]
app_dir = makepath(programfiles32, app_name)
app_path = makepath(app_dir, "firefox.exe")
icon_path = makepath(common_desktop(), f"{app_name}.ico")
policies_folder = makepath(app_dir, "distribution")
policies_json = "policies.json"
# Installing software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir) :
remove_tree(app_dir)
with open(makepath(app_name,'defaults','pref','settings.js'),'w') as f :
f.write('pref("browser.policies.alternateGPO", "");')
copytree2(app_name,app_dir)
# Copy policies.json
if not isdir(policies_folder):
mkdirs(policies_folder)
filecopyto(policies_json, policies_folder)
filecopyto("icon.ico", icon_path)
cmd_path = makepath(system32(), "cmd.exe")
launch_firefox = f' /C "set XPCSHELL_TEST_PROFILE_DIR=1 && start "" "{app_path}" -P {app_name}"'
create_desktop_shortcut(app_name, cmd_path, launch_firefox, icon=icon_path)
create_programs_menu_shortcut(app_name, cmd_path, launch_firefox, icon=icon_path)
def uninstall():
app_name = control.package.split('-',1)[1]
app_dir = makepath(programfiles32, app_name)
# Uninstalling software
killalltasks(ensure_list(control.impacted_process))
if isdir(app_dir):
remove_tree(app_dir)
remove_desktop_shortcut(app_name)
remove_programs_menu_shortcut(app_name)
def session_setup():
app_name = control.package.split('-',1)[1]
app_dir = makepath(programfiles32, app_name)
app_path = makepath(app_dir, "firefox.exe")
# Create firefox user profile
run(f'"{app_path}" -CreateProfile {app_name}')
# -*- coding: utf-8 -*-
from setuphelpers import *
from setupdevhelpers import *
import waptguihelper
def update_package():
if params.get("running_as_luti", False):
return True
# Declaring local variables
if 'template' in control.package:
control.package = waptguihelper.input_dialog("set package name", "You can redefine the package name", control.package.replace('-template',''))
control.set_software_version(waptguihelper.input_dialog("set_version", "You can define version of package", control.version))
control.save_control_to_wapt()
app_name = control.package.split('-',1)[1]
if isdir(app_name):
remove_tree(app_name)
if isdir("tempo"):
remove_tree("tempo")
# Get download URL
bin_firefox_install = waptguihelper.filename_dialog('Select EXE firefox installer',"c:\\", "","EXE Files|*.exe")
unzip_with_7zip(bin_firefox_install, "tempo")
copytree2(makepath('tempo','core'),app_name)
remove_tree('tempo')
if not isfile('icon.ico'):
filecopyto(waptguihelper.filename_dialog('Select Ico for shortcut',"c:\\", "","ICO Files|*.ico"),'icon.ico')
if not isfile('policies.json'):
filecopyto(waptguihelper.filename_dialog('Select policies.json ',basedir, "","Json Files|*.json"),'policies.json')
# Validating update-package-sources
return True
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
ec00ef8f8329c1037410580a0f12ea14587f7038a0a198c31d8ed409db6f28cd : WAPT/control
9a45ebf166bf2813013c8fecccebb44b98b445a1a272afc8bbe29881b50709ae : WAPT/icon.png
da9cb268b2476905948fa9d9a6fba3940f6a147b4ff639a3dba96a8443543f35 : luti.json
dc32fec56275745268df259f4986fa54b8d22db91003c68b62ec99e89f8b7665 : policies-template.json
47106781e095a7b88039973ad1240542a91feb1df101c603c2101269ad5b0854 : setup.py
d9f6174929b8196f965ef1c7161f46cf9c778f131f3da9f3fe306bfdebd8cdee : update_package.py