tis-ccleaner
6.30.11385-32
CCleaner est un programme gratuit à usage personnel. Il est utilisé pour nettoyer les fichiers potentiellement indésirables et les entrées de registre invalides d'un ordinateur
9229 téléchargements
Voir le résultat de la construction Voir l'analyse de VirusTotal
Description
- package : tis-ccleaner
- name : CCleaner
- version : 6.30.11385-32
- categories : Utilities,System and network
- maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Jordan ARNAUD
- installed_size : 146286100
- editor : Piriform
- licence : proprietary_restricted,wapt_public
- signature_date : 2024-11-18T13:00:56.000000
- size : 82.75 Mo
- locale : all
- target_os : windows
- impacted_process : CCleaner,CCleaner64,CCleanerBugReport,CCleanerPerformanceOptimizerService,CCleanerReactivator,CCUpdate
- architecture : all
- Page d'accueil : https://www.ccleaner.com
control
package : tis-ccleaner
version : 6.30.11385-32
architecture : all
section : base
priority : optional
name : CCleaner
categories : Utilities,System and network
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Jordan ARNAUD
description : CCleaner is a free program for personal use. It is used to clean potentially unwanted files and invalid registry entries from a computer
depends :
conflicts :
maturity : PROD
locale : all
target_os : windows
min_wapt_version : 2.3
sources : https://www.ccleaner.com/ccleaner/builds
installed_size : 146286100
impacted_process : CCleaner,CCleaner64,CCleanerBugReport,CCleanerPerformanceOptimizerService,CCleanerReactivator,CCUpdate
description_fr : CCleaner est un programme gratuit à usage personnel. Il est utilisé pour nettoyer les fichiers potentiellement indésirables et les entrées de registre invalides d'un ordinateur
description_pl : CCleaner to darmowy program do użytku osobistego. Służy do czyszczenia potencjalnie niechcianych plików i nieprawidłowych wpisów rejestru z komputera
description_de : CCleaner ist ein kostenloses Programm für den persönlichen Gebrauch. Es wird verwendet, um potenziell unerwünschte Dateien und ungültige Registrierungseinträge von einem Computer zu entfernen
description_es : CCleaner es un programa gratuito para uso personal. Se utiliza para limpiar archivos potencialmente no deseados y entradas de registro no válidas de un ordenador
description_pt : O CCleaner é um programa gratuito para uso pessoal. É utilizado para limpar ficheiros potencialmente indesejados e entradas de registo inválidas de um computador
description_it : CCleaner è un programma gratuito per uso personale. Viene utilizzato per pulire i file potenzialmente indesiderati e le voci di registro non valide dal computer
description_nl : CCleaner is een gratis programma voor persoonlijk gebruik. Het wordt gebruikt om potentieel ongewenste bestanden en ongeldige registervermeldingen van een computer te verwijderen
description_ru : CCleaner - бесплатная программа для персонального использования. Она предназначена для очистки компьютера от потенциально нежелательных файлов и недействительных записей реестра
audit_schedule :
editor : Piriform
keywords : cleaner,ccleaner,disk,cleanup
licence : proprietary_restricted,wapt_public
homepage : https://www.ccleaner.com
package_uuid : 15839212-c56e-48d7-a3d9-adbbff6f0b6a
valid_from :
valid_until :
forced_install_on :
changelog : https://www.ccleaner.com/ccleaner/version-history
min_os_version : 5.1
max_os_version :
icon_sha256sum : e178a6e3cb2f5123bbba384661c37d867c4b7a0308ee8bb6a43576e03e3ff4a8
signer : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date : 2024-11-18T13:00:56.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 : pl5FEwWeKEP+5rdvjlal4t6JhQg1Nx8Kp7rs2/nkv884I7YnXXBki1OGpjSECfcZWboyNDMGNYDhwIXdNrKaKw08Gn3VAI0p57uiD3oP3WU8CYPMLbD8hWekJJoBfhcEXVhCISRZvsrfJ0SktPjJ+81FjgpEIfVIGjyMz4UCtaSwuXSuGzPFTNF2g7MPWTbDtkHBPGS1UgiL8lQ+4sVaAFoHLPWGp3YjMY8Z1+am+4K3aU337TU4Y3geCdGz9SiO93ldIWID/0GSH5tMfCQUtHwrtotcbxEao3UDKL4kC8LgLwov6uOiTQn/yLyMbPnHNc0tJpGZzBwSC3E3uz4irg==
Setup.py
# -*- coding: utf-8 -*-
from setuphelpers import *
"""
Usable WAPT package functions: install(), uninstall(), session_setup(), audit(), update_package()
"""
# Declaring global variables - Warnings: 1) WAPT context is only available in package functions; 2) Global variables are not persistent between calls
sub_bin_name = "ccsetup_%s_slim.exe"
silent_inst_arg = "/S"
uninstall_key = "CCleaner"
app_path = makepath(programfiles, "CCleaner")
conf_file_path = makepath(programfiles, "CCleaner", "ccleaner.ini")
schtasks_to_disable = [r"CCleaner Update", r"CCleanerSkipUAC", r"CCleanerSkipUAC - Système"]
list_recycle_bin_context_menu = ["Exécuter CCleaner", "Ouvrir CCleaner...", "Run CCleaner", "Open CCleaner..."]
def install():
# Initializing variables
package_version = control.version.split("-")[0]
short_package_version = "%s.%s" % (package_version.split(".")[0], package_version.split(".")[1])
app_name = control.name
# Installing the package
install_exe_if_needed(
"ccsetup_%s_slim.exe" % package_version,
silentflags="/S",
key="CCleaner",
min_version=short_package_version,
)
# Removing Shortcut
remove_desktop_shortcut(app_name)
# Disabling CCleaner Scheduled Tasks
for task in schtasks_to_disable:
if task_exists(task):
try:
disable_task(task)
except:
print("Unable to disable the task: %s" % task)
# Disable service
set_service_start_mode("CCleanerPerformanceOptimizerService", "Disabled")
# Removing global configuration file
if isfile(conf_file_path):
remove_file(conf_file_path)
# Disable CCleaner Telemetry
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)QuickClean", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)QuickCleanIpm", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)SoftwareUpdater", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)SoftwareUpdaterIpm", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)GetIpmForTrial", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)HealthCheck", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)HealthCheckCommentsConfused", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)HealthCheckCommentsDislike", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)HealthCheckCommentsHate", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)HealthCheckCommentsLike", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)HealthCheckCommentsLove", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)HealthCheckCommentsOkay", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)HealthCheckIpm", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)HealthCheckVersion", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)AlphaIntegration", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)TrialOnboarding", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)ShowRenewDialog", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)ShowRenewButton", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)REU", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)Survey-Uninstall", "false")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)AU2", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)DriverScanInterval", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)PE", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)PerformanceOptimizer", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)DriverScanInterval", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)ShowRenewButton", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)ShowRenewDialog", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)SPERDI", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)SRDI", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)CountryCheckInterval", "0")
registry_set(HKEY_LOCAL_MACHINE, r"SOFTWARE\Piriform\CCleaner", "(Cfg)PENP", "0")
# Remove CCleaner from Recycle Bin context menu
for menu in list_recycle_bin_context_menu:
if reg_key_exists(HKEY_LOCAL_MACHINE, r"SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\%s" % menu):
registry_deletekey(
HKEY_LOCAL_MACHINE, r"SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\%s\command" % menu, "", force=True
)
registry_deletekey(HKEY_LOCAL_MACHINE, r"SOFTWARE\Classes\CLSID\{645FF040-5081-101B-9F08-00AA002F954E}\shell\%s" % menu, "", force=True)
def session_setup():
print("Configuring: minimum intrusion and base parameters")
# Language part
lang_code_string = "%s" % get_language_code()
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "Language", lang_code_string)
# Telemetry part
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "AutoICS", "0")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "CheckTrialOffer", "0")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "Monitoring", "0")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "HelpImproveCCleaner", "0")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "SystemMonitoring", "0")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "UpdateAuto", "0")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "UpdateCheck", "0")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "UpdateNotify", "0")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "RunICS", "0")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "SystemMonitoring", "0")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "PrefsPrivacyShowOffers1stParty", "0")
if reg_value_exists(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "Brandover"):
registry_delete(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "Brandover")
if reg_value_exists(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "CookiesToSave"):
cookies_saved = registry_readstring(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "CookiesToSave")
default_cookies_saved = "*.piriform.com|facebook.com|google.com|www.google.com|yahoo.com"
if default_cookies_saved in cookies_saved:
cookies_saved = cookies_saved.replace(default_cookies_saved, "")
if cookies_saved.startswith("|"):
cookies_saved = cookies_saved[1:]
registry_setstring(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "CookiesToSave", cookies_saved)
# CCleaner part
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "BackupPrompt", "0")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "DefaultDetailedView", "2")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "ShowCleanWarning", "False")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "ShowCookiesCleanWarning", "False")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "ShowGoogleChromeCleanWarning", "False")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "ShowSpotifyCleanSuspendedWarning", "False")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "DelayTemp", "0")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "HideWarnings", "1")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "SkipUAC", "0")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "HideWarnings", "1")
# registry_set(HKEY_CURRENT_USER,r'SOFTWARE\Piriform\CCleaner','JumplistTasks','1')
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "UpdateAuto", "0")
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "AP", 0)
# Removing CCleaner Autorun from user registry
registry_delete(HKEY_CURRENT_USER, r"SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "CCleaner Smart Cleaning")
# Applications part, add what you wanna clean by default
registry_set(HKEY_CURRENT_USER, r"SOFTWARE\Piriform\CCleaner", "(App)Game Explorer", "True")
update_package.py
# -*- coding: utf-8 -*-
from setuphelpers import *
import bs4 as BeautifulSoup
def update_package():
# Declaring local variables
result = False
proxies = get_proxies()
if not proxies:
proxies = get_proxies_from_wapt_console()
app_name = control.name
url = "https://www.ccleaner.com/fr-fr/ccleaner/builds"
# Getting latest version from official sources
print("URL used is: %s" % url)
for bs_search in bs_find_all(url, "h3", proxies=proxies):
version = bs_search.string.split("(v")[1].split(")")[0]
latest_bin = "ccsetup_%s_slim.exe" % version
download_url = "https://bits.avcdn.net/productfamily_CCLEANER/insttype_SLIM/platform_WIN_PIR/installertype_ONLINE/build_RELEASE"
break
print("Latest %s version is: %s" % (app_name, version))
print("Download URL is: %s" % download_url)
# Downloading latest binaries
if not isfile(latest_bin):
print("Downloading: %s" % latest_bin)
wget(download_url, latest_bin, proxies=proxies)
# Checking version from file
version_from_file = get_version_from_binary(latest_bin)
if not version.startswith((version_from_file).split(".0")[0]) and version_from_file != "":
print("Changing version to the version number of the binary (from: %s to: %s)" % (version, version_from_file))
os.rename(latest_bin, "ccsetup_%s_slim.exe" % version_from_file)
version = version_from_file
else:
print("Binary file version correspond to online version")
# Changing version of the package
if Version(version) > Version(control.get_software_version()):
print("Software version updated (from: %s to: %s)" % (control.get_software_version(), Version(version)))
result = True
control.version = "%s-%s" % (Version(version), control.version.split("-", 1)[-1])
# control.set_software_version(version)
control.save_control_to_wapt()
# Deleting outdated binaries
remove_outdated_binaries(version)
# Validating or not update-package-sources
return result
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
4e1419aa17f8851adbc9aa41ecf0c7a218dbfa3e2063859f641e66af157800aa : WAPT/changelog.txt
b1e61154098131e00ee552fa9184a03e17ba233ac108516d639dd7049bfbf547 : WAPT/control
e178a6e3cb2f5123bbba384661c37d867c4b7a0308ee8bb6a43576e03e3ff4a8 : WAPT/icon.png
6dfcbd822a67d276f0da3a89d8296901476f06b926b9199fc94776e5e85778fa : ccsetup_6.30.11385_slim.exe
f27b8b437918a5886d3d6a857c17b5cbe2fc28a887f8d2a1ac8413e91f5086b5 : luti.json
4b4211976690e0aca73ac22c4c4610dae62ad9fa8a10f1f0abc4f67b1b48c246 : setup.py
c57c99d85f11bc8d7dd05ecf7e3069c8fdea525d7cb19bb1e77986e67e544faf : update_package.py