tis-disable-wapttray

1.1-6
No longer launch the WAPT system tray icon on startup
1580 downloads
Download
See build result See VirusTotal scan
tis-disable-wapttray icon
  • package : tis-disable-wapttray
  • name : Disable WAPT Tray
  • version : 1.1-6
  • categories : System and network
  • maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT
  • installed_size :
  • editor : Tranquil IT
  • licence :
  • signature_date : 2022-08-31T13:02:46.310758
  • size : 6.40 Ko
  • locale : all
  • target_os : windows
  • impacted_process :
  • architecture : all
  • Conflicts :
package           : tis-disable-wapttray
version           : 1.1-6
architecture      : all
section           : base
priority          : optional
name              : Disable WAPT Tray
categories        : System and network
maintainer        : WAPT Team,Tranquil IT,Jimmy PELÉ,Gaëtan SEGAT
description       : No longer launch the WAPT system tray icon on startup
depends           : 
conflicts         : tis-enable-wapttray
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.0
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Lancer l'icône WAPT dans la barre d'état système au démarrage.
description_pl    : Nie jest już uruchamiana ikona zasobnika systemowego WAPT
description_de    : Das WAPT-Symbol in der Taskleiste wird beim Start nicht mehr angezeigt
description_es    : Ya no se lanza el icono de la bandeja del sistema de WAPT al iniciarse
description_pt    : Não lançar mais o ícone da bandeja do sistema WAPT no arranque
description_it    : Non viene più lanciata l'icona della barra di sistema di WAPT all'avvio
description_nl    : Het WAPT-systeemvakpictogram wordt niet langer gestart bij het opstarten
description_ru    : При запуске больше не запускается значок WAPT в системном трее
audit_schedule    : 
editor            : Tranquil IT
keywords          : wapttray,wapt,tray
licence           : 
homepage          : 
package_uuid      : 2a3111e0-c7f0-41dc-915a-b7799afa3d21
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 5.0
max_os_version    : 
icon_sha256sum    : 9ab0812d1505411c49a8113a2f28a3442e51fbf8bcd90498820fa1476ed04fb9
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature         : ro9sbotEIwrSU0e3Cw19pGPPHAlx5OA/PHWyiOxZEcASZ9PqXvDI5+dhP2A5vQNFfCXddkW1doJaPurAxhCO4KZTUx5bL/gfe8kiZzL5YHslng+M/8JDJvl7C6SaYg/xm3GV4n7LGnkf46pGwagO+oYbyarxW1IUkRST0swm0b4DGUf0PUrWVrFcNhSdeN3ArHobQJjopHr6d0b1je+7v/5N+uo4GN0btA+SYTs82kCgT1AcFWYhLlAPd3+siGXDAMe0XLeQdI7TgK6GmOnsRVtj1I3tIGoqNRxgV1bKJUWFCcSasY6C3z8aWmXYN9mjsxo36TxFPLN/Ji46CnISEA==
signature_date    : 2022-08-31T13:02:46.310758
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
# -*- coding: utf-8 -*-
from setuphelpers import *
import winshell

# Defining variables
shortcut_name = "WAPT tray helper.lnk"
startup_dir = winshell.startup(common=True)
shortcut_path = makepath(startup_dir, shortcut_name)
if isdir(makepath(programfiles32, "wapt")):
    wapt_dir = makepath(programfiles32, "wapt")
else:
    wapt_dir = makepath(systemdrive, "wapt")
if isfile(makepath(wapt_dir, "wapt-enterprise.ico")):
    wapt_ico_path = makepath(wapt_dir, "wapt-enterprise.ico")
else:
    wapt_ico_path = makepath(wapt_dir, "wapt.ico")
wapt_tray_path = makepath(wapt_dir, "wapttray.exe")


def install():
    # Installing the package
    if isfile(shortcut_path):
        remove_file(shortcut_path)
    else:
        print("The WAPT Tray startup shortcut was not present.")


def uninstall():
    # Uninstalling the package
    if not isfile(shortcut_path):
        create_shortcut(shortcut_path, target=wapt_tray_path, icon=wapt_ico_path)
    else:
        print("The WAPT Tray startup shortcut already exist.")


def audit():
    if isfile(shortcut_path):
        print("WARNING: The WAPT Tray startup shortcut is present.")
        return "WARNING"
    else:
        return "OK"
1a44c4703a8b07d8883a24876287f2dd4ee0b0af5da1f0d2a02bf1984b51ab1a : setup.py
9ab0812d1505411c49a8113a2f28a3442e51fbf8bcd90498820fa1476ed04fb9 : WAPT/icon.png
a5a97261381e1d0ad46ee15916abec9c2631d0201f5cc50ceb0197a165a0bbbf : WAPT/certificate.crt
dda5ce0de814bc5ad28230ba204969ca4cb734906f8ef19c4c4226444e854e51 : luti.json
4c1a78d0ccbb625918ff776bbd7a726ec3396e6b7bc639811e70db7f0ce89c23 : WAPT/control