tis-custom-waptexit-and-selfservice icon

custom-waptexit-and-selfservice

Paquet d’installation silencieuse pour custom-waptexit-and-selfservice

1-5

tis-custom-waptexit-and-selfservice

Voici quelques instructions pour configurer le paquet WAPT

Contenu du paquet

Le paquet WAPT doit inclure les fichiers suivants :

  • Fichiers .png : Logos pour l'application wapt-self-service et waptexit
  • .ico files : Icônes pour les raccourcis de l'application wapt-self-service.

Instructions

Préparer les fichiers

Assurez-vous que tous les fichiers .png et .ico nécessaires sont inclus dans le paquetage WAPT, mettez-les dans le dépôt WAPT.

Les fichiers doivent être nommés comme suit :

  • waptexit-logo.png pour l'application waptexit.
  • waptself-logo.png et waptself-logo.ico pour l'application wapt-self-service.

Personnalisation

La variable store_name, vous pouvez personnaliser cette variable avec le nom désiré pour votre Self-Service.

Par exemple, si vous voulez nommer votre service « Entreprise_J », mettez `store_name = « Entreprise_J ».

Installation

Exécutez le script d'installation pour appliquer les logos et créer des raccourcis avec le nom personnalisé.

Vérification

Après l'installation, vérifiez que les raccourcis sur le bureau et dans le menu des programmes affichent le nom correct et utilisent les icônes personnalisées.

En suivant ces instructions, vous pouvez personnaliser efficacement l'apparence et le nom de votre WAPT Self-Service.

Vidéo d'explication

Pour une explication détaillée du fonctionnement de ce paquet, vous pouvez regarder la vidéo suivante :

  • package: tis-custom-waptexit-and-selfservice
  • name: custom-waptexit-and-selfservice
  • version: 1-5
  • maintainer: WAPT Team,Tranquil IT,Jordan ARNAUD
  • locale: all
  • target_os: windows
  • architecture: all
  • signature_date:
  • size: 7.09 Ko

package           : tis-custom-waptexit-and-selfservice
version           : 1-5
architecture      : all
section           : base
priority          : optional
name              : custom-waptexit-and-selfservice
categories        : 
maintainer        : WAPT Team,Tranquil IT,Jordan ARNAUD
description       : Package for personalising your self-service (self-service icon, name, waptexit logo).
depends           : 
conflicts         : 
maturity          : PROD
locale            : all
target_os         : windows
min_wapt_version  : 2.4
sources           : 
installed_size    : 
impacted_process  : 
description_fr    : Paquet de personnalisation de votre self service (icône self-service, nom, logo waptexit).
description_pl    : 
description_de    : 
description_es    : 
description_pt    : 
description_it    : 
description_nl    : 
description_ru    : 
audit_schedule    : 
editor            : 
keywords          : 
licence           : 
homepage          : 
package_uuid      : 7e01421b-9f55-40a3-bd0f-ba71e99ae9b6
valid_from        : 
valid_until       : 
forced_install_on : 
changelog         : 
min_os_version    : 
max_os_version    : 
icon_sha256sum    : 28199c0fe62855ce3a7b5ef43ff5f7bd802724d9cb8a5db35b2a67d2b73bffec
signer            : Tranquil IT
signer_fingerprint: 8c5127a75392be9cc9afd0dbae1222a673072c308c14d88ab246e23832e8c6bb
signature_date    : 2025-10-09T16:05:28.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         : bcuupONiwFe7Z4t+JKTQYCxYxxcWOba2BNFsU9khSVPnnTM5K57yLuxGDYmEu92LLdNof/Z7GXNu3dvcSj1OCq6r8Q1HOGvoo/Wku1SslAcz6g2HGPQv1PAn7INHVFK/kO+w2OvTB2BGghmcmIo9ThEMQwmHy+npbQL6F09qR7/rIjaKxC2lybQ8bo9SuM0mqUjWz3KTCvl0zCrX3hM41xuomkLHuLJKDcqZ4r3wU/PHGaS+HmZMUA/nbLl95vr68QtUT5/y52ET9TBzOdap94DYGnSdAec6DRI1tPxEz+q/3G9j8hJTgXN8046C30eY5wT7XpvuiNNUQAtPhrsxmw==

# -*- coding: utf-8 -*-
from setuphelpers import *

# Variable
store_name = "delete this and write here the new name of your desired name store"

uninstallkey = []

def install():
    wapt_path = WAPT.wapt_base_dir
    print('Install custom logo')

    # Copy .png files for logos in the self-service app and waptexit
    filecopyto('waptexit-logo.png', makepath(wapt_path, 'templates'))
    filecopyto('waptself-logo.png', makepath(wapt_path, 'templates'))

    # Copy .ico files for the self-service app shortcut
    filecopyto('waptself-logo.ico', makepath(wapt_path, 'templates'))

    # Create shortcuts
    create_desktop_shortcut(f'Store {store_name}', target=r'C:\Program Files (x86)\wapt\waptself.exe', icon=r'C:\Program Files (x86)\wapt\templates\waptself-logo.ico')
    create_programs_menu_shortcut(f'Store {store_name}', target=r'C:\Program Files (x86)\wapt\waptself.exe', icon=r'C:\Program Files (x86)\wapt\templates\waptself-logo.ico')

    # Restart WAPT config to apply the changes
    WAPT.reload_config_if_updated()

def uninstall():
    wapt_path = WAPT.wapt_base_dir
    remove_file(makepath(wapt_path, 'templates', 'waptexit-logo.png'))
    remove_file(makepath(wapt_path, 'templates', 'waptself-logo.png'))
    remove_file(makepath(wapt_path, 'templates', 'waptself-logo.ico'))
    remove_desktop_shortcut(f'Store {store_name}')
    remove_programs_menu_shortcut(f'Store {store_name}')
    WAPT.reload_config_if_updated()

b0cc3735029c78690dc997353d988821b34e986dfd9e055e37c09ad6946d0c96 : WAPT/README.MD
80f76ace075f080ef50f91b5cedde8c965c9b166037c7a591c183b9c8a5ce1a6 : WAPT/README_fr.md
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
d9cd78fc85d5b2df2e97416d2eb61a25473f94ba821593e2a1f11ccefa3e5727 : WAPT/control
28199c0fe62855ce3a7b5ef43ff5f7bd802724d9cb8a5db35b2a67d2b73bffec : WAPT/icon.png
d8e7d3571317cdf8e902ede54e69ddaa20ca446ff3358d83525728f4e85bcb7f : luti.json
7c4870f6b062a1f8b217657c7cc98b0bf6f052fd45058a237969ff89b2620b4a : setup.py