- package: tis-brave
- name: Brave
- version: 138.1.80.124-10
- categories: Internet
- maintainer: WAPT Team,Tranquil IT,Flavien Schelfaut (Loquidy),Jimmy PELÉ
- editor: Brave Software, Inc.
- licence: opensource_free,cpe:/a:mozilla:public_license_2.0,wapt_public
- locale: all
- target_os: windows
- impacted_process: brave,brave_vpn_helper
- architecture: x64
- signature_date:
- size: 135.15 Mo
- installed_size: 690.14 Mo
- homepage : https://brave.com/
package : tis-brave
version : 138.1.80.124-10
architecture : x64
section : base
priority : optional
name : Brave
categories : Internet
maintainer : WAPT Team,Tranquil IT,Flavien Schelfaut (Loquidy),Jimmy PELÉ
description : Brave is a free and open-source web browser developed by Brave Software, Inc. It blocks ads and website trackers, and provides a way for users to send cryptocurrency contributions in the form of Basic Attention Tokens to websites and content creators
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources : https://laptop-updates.brave.com/latest/winx64
installed_size : 690141109
impacted_process : brave,brave_vpn_helper
description_fr : Brave est un navigateur web gratuit et open-source développé par Brave Software, Inc. Il bloque les publicités et les traqueurs de sites web, et permet aux utilisateurs d'envoyer des contributions en crypto-monnaie sous la forme de jetons d'attention de base à des sites web et à des créateurs de contenu
description_pl : Brave to darmowa i otwarta przeglądarka internetowa opracowana przez Brave Software, Inc. Blokuje ona reklamy i elementy śledzące witryn internetowych, a także zapewnia użytkownikom możliwość wysyłania kryptowalut w postaci tokenów Basic Attention Token do witryn internetowych i twórców treści
description_de : Brave ist ein freier und quelloffener Webbrowser, der von Brave Software, Inc. entwickelt wurde. Er blockiert Werbung und Website-Tracker und bietet Nutzern die Möglichkeit, Kryptowährungsbeiträge in Form von Basic Attention Tokens an Websites und Inhaltsersteller zu senden
description_es : Brave es un navegador web gratuito y de código abierto desarrollado por Brave Software, Inc. Bloquea los anuncios y los rastreadores de sitios web, y permite a los usuarios enviar contribuciones en criptomoneda en forma de Basic Attention Tokens a sitios web y creadores de contenidos
description_pt : O Brave é um navegador web gratuito e de código aberto desenvolvido pela Brave Software, Inc. Bloqueia anúncios e rastreadores de sítios Web e fornece uma forma de os utilizadores enviarem contribuições em criptomoeda sob a forma de Basic Attention Tokens para sítios Web e criadores de conteúdos
description_it : Brave è un browser web gratuito e open-source sviluppato da Brave Software, Inc. Blocca gli annunci e i tracker dei siti web e offre agli utenti la possibilità di inviare contributi in criptovaluta sotto forma di Basic Attention Token a siti web e creatori di contenuti
description_nl : Brave is een gratis en open-source webbrowser ontwikkeld door Brave Software, Inc. Het blokkeert advertenties en website trackers, en biedt een manier voor gebruikers om cryptocurrency bijdragen in de vorm van Basic Attention Tokens te sturen naar websites en content creators
description_ru : Brave - свободный веб-браузер с открытым исходным кодом, разработанный компанией Brave Software, Inc. Он блокирует рекламу и трекеры сайтов, а также предоставляет пользователям возможность отправлять криптовалютные взносы в виде токенов Basic Attention Tokens на сайты и создателям контента
audit_schedule :
editor : Brave Software, Inc.
keywords : browser,navigateur,brave,chromium
licence : opensource_free,cpe:/a:mozilla:public_license_2.0,wapt_public
homepage : https://brave.com/
package_uuid : c1cf19d8-8330-49be-8d9b-af4f65859ecf
valid_from :
valid_until :
forced_install_on :
changelog : https://brave.com/latest/
min_os_version : 10.0
max_os_version :
icon_sha256sum : 0ac229cb58fe612c76230e09124cef96cff2272017a956f69f5f432c7ab63c99
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2025-07-23T20:01:06.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 : X1zpFG++4E9qzjgOrnq6HT8ly7OHGLM1o6X3z6lzGDnE0/13qGHvwGeT6VXnlJA8J2F7BaT/g6FEUuspRPwaFUQZwEqXTbT/dSTRiIRLWZqAYGfLzHKPKz2KGSI61MOVg/I7pUTDfRiOpUSyc657cdvVccA48H5vLshpRIxkcLVJFyl6KQQmICSuqH6e41axxJK9oTKS4SBui6dQW/bPRT5WJp7Z/gnWr7BGArU/+5igk4W5fTrwudQVbsoeRCwxnUQcamfn8nz6/s4BAUz3L1skhG35QcPwZuzKjGhKfQwSDkwy3IqaB0hsEwuoEHbziJI7Qn1FX11tliamGT61FQ==
# -*- coding: utf-8 -*-
from setuphelpers import *
app_uninstallkey = "BraveSoftware Brave-Browser"
app_scheduled_tasks = [] # "BraveSoftwareUpdateTaskMachineCore", "BraveSoftwareUpdateTaskMachineUA"
app_services = ["BraveElevationService", "BraveVpnService"] # , "brave", "bravem"
def install():
# Declaring local variables
package_version = control.version.split("-", 1)[0]
bin_name = glob.glob("brave_installer-*.exe")[0]
skip = False
if isdir(makepath(programfiles32, "BraveSoftware", "Brave-Browser", "Application")):
brave_app_path = makepath(programfiles32, "BraveSoftware", "Brave-Browser", "Application")
else:
brave_app_path = makepath(programfiles, "BraveSoftware", "Brave-Browser", "Application")
brave_bin_path = makepath(brave_app_path, "brave.exe")
def get_version_brave():
return get_file_properties(brave_bin_path)["ProductVersion"]
if windows_version() < WindowsVersions.Windows10:
# Uninstalling newer versions of the software
for to_uninstall in installed_softwares(name="^Brave$"):
if Version(to_uninstall["version"]) > Version(control.get_software_version()) or force:
print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
try:
killalltasks(control.get_impacted_process_list())
run(uninstall_cmd(to_uninstall["key"]))
wait_uninstallkey_absent(to_uninstall["key"])
except Exception as e:
print(e)
print("Remove failed: %s (%s)\nContinuing..." % (to_uninstall["name"], to_uninstall["version"]))
# Installing the package
if isfile(brave_bin_path):
if Version(get_version_brave()) >= Version(package_version):
if uninstall_key_exists(app_uninstallkey):
uninstallkey.append(app_uninstallkey)
skip = True
if (not skip) or force:
install_exe_if_needed(
bin_name,
silentflags="--install --silent --system-level --qn",
key=app_uninstallkey,
min_version=package_version,
)
# # Adding QuietUninstallString
# quiet_uninstall_string = installed_softwares(uninstallkey=app_uninstallkey)[0]["uninstall_string"] + " --force-uninstall --qn"
# register_uninstall(app_uninstallkey, quiet_uninstall_string=quiet_uninstall_string)
# Avoiding the usage by WAPT of the app built-in Uninstallstring
uninstallkey.remove(app_uninstallkey)
# Disabling application scheduled tasks
for task in get_all_scheduled_tasks():
if task.split("{")[0] in app_scheduled_tasks:
if task_exists(task):
try:
disable_task(task)
except:
print("Unable to disable the task: %s" % task)
# Changing default start mode of the application services
for service_name in app_services:
set_service_start_mode(service_name, "Manual")
# Disabling Google Chrome Auto-Update and Telemetry
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Policies\BraveSoftware\Brave", "DeviceAutoUpdateDisabled", 0)
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Policies\BraveSoftware\Brave", "MetricsReportingEnabled", 0)
# # Adding master preferences file (instead, we recommend that you to create a package like tis-brave-config)
# filecopyto("master_preferences", brave_app_path)
def uninstall():
if isdir(makepath(programfiles32, "BraveSoftware", "Brave-Browser", "Application")):
brave_app_path = makepath(programfiles32, "BraveSoftware", "Brave-Browser", "Application")
else:
brave_app_path = makepath(programfiles, "BraveSoftware", "Brave-Browser", "Application")
brave_bin_path = makepath(brave_app_path, "brave.exe")
# Uninstalling the package
if uninstall_key_exists(app_uninstallkey):
if not "msiexec" in " ".join(list(uninstall_cmd(app_uninstallkey))).lower():
versionsoft = get_file_properties(brave_bin_path)["ProductVersion"]
run(
'"%s" --uninstall --system-level --force-uninstall --qn'
% makepath(install_location(app_uninstallkey), versionsoft, "Installer", "setup.exe"),
accept_returncodes=[0, 19, 3010],
)
# def session_setup():
# # Needed on Brave ??
# swreporter_path = makepath(user_local_appdata, "BraveSoftware", "Brave-Browser", "User Data", "SwReporter")
# if isdir(swreporter_path):
# print("Removing: %s" % swreporter_path)
# remove_tree(swreporter_path)
# -*- coding: utf-8 -*-
from setuphelpers import *
def update_package():
# Declaring local variables
package_updated = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
download_dict = {
"windows-x64": "https://brave-browser-downloads.s3.brave.com/latest/brave_installer-x64.exe",
"windows-x86": "https://brave-browser-downloads.s3.brave.com/latest/brave_installer-ia32.exe",
"windows-arm64": "https://brave-browser-downloads.s3.brave.com/latest/brave_installer-arm64.exe",
}
download_url = download_dict[control.target_os + "-" + ensure_list(control.architecture)[0]]
latest_bin = download_url.split("/")[-1]
# Deleting binaries
for f in glob.glob("*.exe") + glob.glob("*.msi"):
print("Removing: %s" % f)
remove_file(f)
# 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)
else:
print("Binary is present: %s" % latest_bin)
# Changing version of the package
version = get_version_from_binary(latest_bin)
if Version(version, 4) > Version(control.get_software_version(), 4):
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()
# Validating or not update-package-sources
return package_updated
# # Changing version of the package and validating update-package-sources
# return complete_control_version(control, version)
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
d1d4285e9c96709202151fe9ea655bfed5c612cd6c010e51cf2c0f792c31b6e6 : WAPT/control
0ac229cb58fe612c76230e09124cef96cff2272017a956f69f5f432c7ab63c99 : WAPT/icon.png
78a8d330bcb8c556b4364b2858206edd8b186301c72cd32926fca2048ac35820 : brave_installer-x64.exe
35717f58b83a392d792d296bde6074eaf1e03a0205f7f1eb670e3d75054a8779 : luti.json
bb77cd5f67c79fd068d1b70cf0994404ee2142ac7f685f95e4019e1c8d5daf75 : setup.py
9320fe8e57dc3ac975bc4c846534c533ad85fda97375ac411ea14a4f36ff6d25 : update_package.py