- package: tis-brave
- name: Brave
- version: 139.1.81.135-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: x86
- signature_date:
- size: 121.36 Mo
- installed_size: 690.14 Mo
- homepage : https://brave.com/
package : tis-brave
version : 139.1.81.135-10
architecture : x86
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 : 7be35021-3858-460a-b617-7d1243c238ae
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-08-13T20:02: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 : meBDwAm4/IjsDsit/mQ11XIP6Fg/XJnCV55IhLE+cwpQTSqBjxpMUIBANa3tSkIwchfe/0CpiHShOTW2LqI5jPUb6zfSmteFe82hMVkfZix7XqGxR7IBEfUYHEy+pKZcQwFxPNw2TR+zmntQY7QVL56zh8PgrPPzsK8NpoU7bYAJBk18ED1y/dtEHipN7LuH00hYvM2R6zjy7Rk7IV/S9sUeKItX4S53GWRP/Cpr9ebBlBrmjtRblbzEFQ/V3qhVNek+C1LmFP581H93ryNh1BLdiagFbMWegFm7X6BIgu1L3GSN0dunWwnVL3cg+yGvY3PSN4Jbuum0nRLwzt+nzg==
# -*- 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", "ComponentUpdatesEnabled", 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
df520c67afd9fa4c44b2d3531bea4b9bf42febd5303791e6a6635a5aa8b87ec3 : WAPT/control
0ac229cb58fe612c76230e09124cef96cff2272017a956f69f5f432c7ab63c99 : WAPT/icon.png
d32c5169c7cf9eeffcd6be54cfed94a181a62e93f0df17a5827f713a6a12e06e : brave_installer-ia32.exe
d2f2b6b7c959a04313ca9ac41c685ba5c94ae5a8f2911e1369a34c534232bfda : luti.json
a263cb1123ea0d5630bb65f79251f1bd279b08e7f78d0745a5a58490e88628a6 : setup.py
9320fe8e57dc3ac975bc4c846534c533ad85fda97375ac411ea14a4f36ff6d25 : update_package.py