AnyDesk
Paquet d’installation silencieuse pour AnyDesk
								
								9.6.4-16
								
							
							
                                   
                                       
                                           Utilities
                                       
                                   
                                
								
							
                               
                                   
                                       Utilities
                                   
                               
							
							
						
                                    Les paquets PREPROD sont des paquets construits via LUTI.
                                    Ils restent généralement 5 jours en PREPROD, après quoi un scan VirusTotal est effectué.
                                    
                                    Si le paquet réussit ce dernier contrôle, il est promu en PROD et publié sur le store.
                                
- package: tis-anydesk
 - name: AnyDesk
 - version: 9.6.4-16
 - categories: Utilities
 - maintainer: WAPT Team,Tranquil IT,Bertrand Lemoigne,Gaëtan Segat,Jimmy PELÉ,Clément BAZIRET
 - editor: AnyDesk Software GmbH
 - licence: proprietary_free,wapt_public
 - locale: all
 - target_os: windows
 - impacted_process: AnyDesk
 - architecture: all
 - signature_date:
 - size: 7.90 Mo
 - installed_size: 4.04 Mo
 - homepage : https://anydesk.com
 
package           : tis-anydesk
version           : 9.6.4-16
architecture      : all
section           : base
priority          : optional
name              : AnyDesk
categories        : Utilities
maintainer        : WAPT Team,Tranquil IT,Bertrand Lemoigne,Gaëtan Segat,Jimmy PELÉ,Clément BAZIRET
description       : AnyDesk is a remote desktop application distributed by AnyDesk Software GmbH. The proprietary software provides platform-independent remote access to personal computers and other devices running the host application
depends           : 
conflicts         : 
maturity          : PREPROD
locale            : all
target_os         : windows
min_wapt_version  : 2.3
sources           : https://anydesk.com/downloads
installed_size    : 4038720
impacted_process  : AnyDesk
description_fr    : AnyDesk est une application de bureau à distance distribuée par AnyDesk Software GmbH. Le logiciel propriétaire fournit un accès à distance indépendant de la plate-forme aux ordinateurs personnels et autres appareils exécutant l'application hôte
description_pl    : AnyDesk to aplikacja zdalnego pulpitu dystrybuowana przez AnyDesk Software GmbH. To autorskie oprogramowanie zapewnia niezależny od platformy zdalny dostęp do komputerów osobistych i innych urządzeń z uruchomioną aplikacją hosta
description_de    : AnyDesk ist eine Remote-Desktop-Anwendung, die von der AnyDesk Software GmbH vertrieben wird. Die proprietäre Software bietet einen plattformunabhängigen Fernzugriff auf Personalcomputer und andere Geräte, auf denen die Host-Anwendung läuft
description_es    : AnyDesk es una aplicación de escritorio remoto distribuida por AnyDesk Software GmbH. El software propietario proporciona acceso remoto independiente de la plataforma a ordenadores personales y otros dispositivos que ejecutan la aplicación host
description_pt    : AnyDesk é uma aplicação de ambiente de trabalho remoto distribuída pela AnyDesk Software GmbH. O software proprietário fornece acesso remoto independente de plataforma a computadores pessoais e outros dispositivos que executam a aplicação anfitriã
description_it    : AnyDesk è un'applicazione di desktop remoto distribuita da AnyDesk Software GmbH. Il software proprietario fornisce accesso remoto indipendente dalla piattaforma a personal computer e altri dispositivi che eseguono l'applicazione host
description_nl    : AnyDesk is een toepassing voor bureaublad op afstand, gedistribueerd door AnyDesk Software GmbH. De bedrijfseigen software biedt platformonafhankelijke toegang op afstand tot pc's en andere apparaten waarop de hosttoepassing wordt uitgevoerd
description_ru    : AnyDesk - приложение для удаленного рабочего стола, распространяемое компанией AnyDesk Software GmbH. Проприетарное программное обеспечение обеспечивает платформонезависимый удаленный доступ к персональным компьютерам и другим устройствам, на которых установлено хост-приложение
audit_schedule    : 
editor            : AnyDesk Software GmbH
keywords          : anydesk,remote,desktop,application,remote,access,personal,computers,computer
licence           : proprietary_free,wapt_public
homepage          : https://anydesk.com
package_uuid      : 5285d18c-3784-479d-875e-c172e62fadc3
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://download.anydesk.com/changelog.txt
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 61e27edac9e3eeb15cdea6114a0bc2f09a150e39add65fde398c03cd322aab0e
signer            : test
signer_fingerprint: b82fc8ef4a4475c0f69ac168176c2bfc58f572eb716c4eadd65e4785c155dd8e
signature_date    : 2025-10-30T15:06:24.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         : Uba25SSJ3VqOOh20H34Xkg24rArxAl9l5CjXuQy3dqFlBeKvwrWjwtsW+TDrKuFhZ/3FAseuolU+SzrHSfjl6MDQAFKPuaO42BTs96SoLcZhFB0vpiRkXL1QidPiF33868yPYK7ZXr81uGsYthy9eIczgffpYhppgyccbvUulhQk7xaSOiw2b00ipuJxeuySf6P0eZaajR8Ps6pWfoJkPQx9tVqxcZ6CrOxT6tzkwHDTzQBW6ceJIftQwjTMZzr9ttotRopEjezAJk4iPl1yfpsooPi7RHxoN5CmOU7pWlliDIiJuMBdvGfx4zcXjrFZ6tLM9f+WxF0ppqlGfvxoqQ==
                        # -*- coding: utf-8 -*-
from setuphelpers import *
import time
# Installation procedures:
# https://support.anydesk.com/knowledge/use-cases-for-the-command-line-interface
# https://support.anydesk.com/knowledge/command-line-interface-for-windows
# You are free to comment/uncomment `install_options` to personnalize installation
app_name = "AnyDesk"
app_dir = makepath(programfiles32, app_name)
app_path = makepath(app_dir, "AnyDesk.exe")
install_options = [
    f'--install "{app_dir}"',
    # "--start-with-win",
    "--create-shortcuts",
    "--create-desktop-icon",
    "--remove-first",
    "--silent",
    # "--update-manually",
    "--update-disabled",
    # "--update-auto",
]
app_uninstallkey = "AnyDesk"
def get_soft_version(key):
    return key["version"].split(" ")[-1]
def install():
    bin_name = glob.glob("AnyDesk*.exe")[0]
    install_exe_if_needed(
        bin_name,
        silentflags=" ".join(install_options),
        key=app_uninstallkey,
        min_version=control.get_software_version(),
        get_version=get_soft_version,
    )
    # Creating shortcuts manually since the installer is unable to...
    if "--create-shortcuts" in install_options:
        create_programs_menu_shortcut(app_name, app_path)
    if "--create-desktop-icon" in install_options:
        create_desktop_shortcut(app_name, app_path)
    # Adding QuietUninstallString
    register_uninstall(app_uninstallkey, quiet_uninstall_string='"%s" --silent --remove' % app_path)
    # Changing default start mode of the application services
    killalltasks(control.get_impacted_process_list())
    try:
        run(f'"{app_path}" --stop-service')
    except:
        time.sleep(60)
        run_notfatal(f'"{app_path}" --stop-service')
    
    # Changing default service start mode of the application
    if control.package.startswith('tis-'):
        set_service_start_mode("AnyDesk", "Manual")
def session_setup():
    remove_user_desktop_shortcut(app_name)
def uninstall():
    # Remove remaining files
    remove_desktop_shortcut(app_name)
    remove_programs_menu_shortcut(app_name)
    if isdir(app_dir):
        killalltasks(ensure_list(control.impacted_process))
        if not installed_softwares(app_uninstallkey):
            try:
                remove_tree(app_dir)
            except:
                print(f"Unable to remove: {app_dir}")
        print(f"{app_dir} remains")
                            # -*- 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()
    url = "https://anydesk.com/fr/downloads/windows"
    download_url = "https://download.anydesk.com/AnyDesk.exe"
    latest_bin = download_url.split("/")[-1]
    version = bs_find(url, "div", "class", "d-block").text
    version = version.split(" ")[0].split("v")[1]
    # Deleting binaries
    remove_outdated_binaries("*")
    # 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)
    # Checking version from file
    if get_os_name() == "Windows" and "windows" in control.target_os.lower():
        version_from_file = get_version_from_binary(latest_bin)
        if Version(version_from_file, 2) == Version(version, 2):
            print("INFO: Binary file version corresponds to online version")
        else:
            error("ERROR: Binary file version do NOT corresponds to online version")
    # Changing version of the package
    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 update-package-sources
    return package_updated
                            d2a7b55fd4a1114751f1fcd2b55366d37e5dab9621f2c5428ec95997e57878a1 : AnyDesk.exe
01ca7fe94636e5a08fcb73849d3b5df25d51e2c82f4dd1a08f01798b25899819 : WAPT/certificate.crt
fc04b368ac505da9b49ea1af4002909afca91b874cfd348c9d4e68ebc209ae02 : WAPT/changelog.txt
6c3d87505f8af557f1ccec1ca7c4df04a1d2bad58c9e44fe7108b86790f049e0 : WAPT/control
61e27edac9e3eeb15cdea6114a0bc2f09a150e39add65fde398c03cd322aab0e : WAPT/icon.png
c237766dffcfa89bf48834bf9fb9a9bcc3bc741d7b9702a3b15719b98928af60 : luti.json
c4afe9a637248d1301681c3999b4359cc5068db2d3882c6547bf1eb58773ce54 : setup.py
d31b6b967ca9ffc86427625971cf187b7fabafe88d8876f4eabb8beef37cce61 : update_package.py
                        
                            
                                https://download.anydesk.com/changelog.txt
                            
                            
                                
                    7.1.11.0-12
===
- Creating shortcuts manually since the installer is unable to...
- Simplifying update_package
- Improving all aspects of the package
- No longer start-with-win by default
- stop-service after install