tis-anydesk icon

AnyDesk

Silent install package for AnyDesk

9.6.0-16

  • package: tis-anydesk
  • name: AnyDesk
  • version: 9.6.0-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.98 Mo
  • installed_size: 4.04 Mo
  • homepage : https://anydesk.com

package           : tis-anydesk
version           : 9.6.0-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          : PROD
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      : d3ebd30a-f893-4280-9c08-c0c2754dcc83
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : https://download.anydesk.com/changelog.txt
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 61e27edac9e3eeb15cdea6114a0bc2f09a150e39add65fde398c03cd322aab0e
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-08-31T08:02:35.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         : ymItc8r6M2hiAIlQ27JfXTuEqMvObv2HTgj6ej2/BSEO8xvQK4aiNcFFSV9FNCH0z8qrwp+viRXBj6s8fTopQymCPjrRQSNlgI1rGT2nLmRTmoeMnpc2Qq0c3NWig15LoBxISZU/unAQCrKf8/9I4YKnijeZfVKYKmsppe8FFAjll8TH2X/FrDs8bnYVOdcJZp3I58y4ySSDxweKfihhaskVEWa4Nba56UuBRtV4P103d1VaiQjKfzp4p2alaDYiF88i+hNaOeZGMxr2+Jp5YywoOzyAIfKac1VTZojGdT+rbR/n9yMLk2Y5dSoYb+tcpn3toFdGPjjlCyQRDpPk4Q==

# -*- 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

88f529d2dacb4842ce822c546f9bbdbfdd0641ee482f628be89ec23ce3d794f8 : AnyDesk.exe
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
fc04b368ac505da9b49ea1af4002909afca91b874cfd348c9d4e68ebc209ae02 : WAPT/changelog.txt
2e491bd38f7fe012b6f657c3c41b8690c0199e61cc79724c827bc1e30baf4ed4 : WAPT/control
61e27edac9e3eeb15cdea6114a0bc2f09a150e39add65fde398c03cd322aab0e : WAPT/icon.png
95f7580d1f4356dd16fe146d19329e0249d5f2c8d474ea821bedbfdf07682d08 : 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