tis-adwcleaner
8.3-4
AdwCleaner is a free software program that allows you to detect and clean unwanted software such as adware, toolbars, browser hijackers and potentially unwanted programs.
3455 downloads
View on


Description
- package : tis-adwcleaner
- version : 8.3-4
- architecture : all
- categories : Utilities
- maintainer : WAPT Team,Tranquil IT,Kenan KILICARSLAN
- description : AdwCleaner is a free software program that allows you to detect and clean unwanted software such as adware, toolbars, browser hijackers and potentially unwanted programs.
- locale : all
- target_os : windows
- min_wapt_version : 1.7
- sources : https://downloads.malwarebytes.com/file/adwcleaner
- installed_size :
- impacted_process : adwcleaner.exe
- description_fr : AdwCleaner est un logiciel gratuit qui permet de détecter et de nettoyer des logiciels indésirables comme les programmes publicitaires ou publiciels (adwares), les barres d'outils de navigateur internet (toolbars), les programmes qui détournent la page de démarrage du navigateur internet (browser hijackers) et les programmes potentiellement indésirables
- description_pl :
- description_de :
- description_es :
- description_pt :
- description_it :
- description_nl :
- description_ru :
- editor : Malwarebytes
- licence : propriétaire
- signature_date : 2021-12-21T16:47:39.278289
- Homepage : https://fr.malwarebytes.com/adwcleaner/
Setup.py
# -*- coding: utf-8 -*-
from setuphelpers import *
import platform,json
# registry key(s) where WAPT will find how to remove the application(s)
uninstallkey = []
bin_name = 'adwcleaner.exe'
destdir = makepath(programfiles32,'adwcleaner')
app_bin_path = makepath(destdir,bin_name)
label = 'ADW Cleaner.lnk'
def install():
print('installing adwcleaner')
killalltasks('adwcleaner.exe')
mkdirs(destdir)
filecopyto(bin_name,app_bin_path)
create_user_desktop_shortcut(label,app_bin_path)
def uninstall():
print('uninstalling adwcleaner')
killalltasks('adwcleaner.exe')
if isdir(destdir):
remove_tree(destdir)
remove_user_desktop_shortcut(label)
def update_package():
print('Download/Update package content from upstream binary sources')
# Initializing variables
# Getting proxy informations from WAPT settings
proxy = {}
if platform.system()=='Windows' and isfile(makepath(user_local_appdata(),'waptconsole','waptconsole.ini')):
proxywapt = inifile_readstring(makepath(user_local_appdata(),'waptconsole','waptconsole.ini'),'global','http_proxy')
if proxywapt :
proxy = {'http':proxywapt,'https':proxywapt}
# download binary
if isfile(bin_name):
print("removing old binary !")
remove_file(bin_name)
print("downloading binary")
dl_url = 'https://downloads.malwarebytes.com/file/adwcleaner'
wget(dl_url,bin_name,proxies=proxy)
version = get_version_from_binary(bin_name)
# Incrementing version of the package
control.version = '%s-%s'%(version,int(control.version.split('-')[-1])+1)
control.save_control_to_wapt()
print('Changing package version to: %s in WAPT\\control' % control.version)