tis-custom-waptexit-and-selfservice icon

custom-waptexit-and-selfservice

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

1-7

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-7
  • 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-7
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.6.0.17289
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      : 7a9b0b5d-5366-484a-bf86-a02b4f5ae7bc
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    : 2026-01-19T16:21: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         : v2dpg+ElmsuO47EijNpjUS63DbP+O1gdl5mXht4N1lsYl/i2eac/IIP1J5H6epTm+jq3hKtRYMQWZ0znnpJ20x2RPzGZ2oK0vZHMb3n/QKVE23seOu8rEhT+2bcT/EwFawuOBU5PZvhWhElUiTvwUND12lfVG9npPTMtDWeJ44DZKn/uAmedhMZrdpdO7UWyvGjUuhc1uvyArRUAwlOgm2iSMR9zoqRukwz17u6SQqOHDNbpMzt4v0oKnS/67nJW70m+zdzA4whFSsR3HNVX6KlbvfIVHWExkpmZUDXeRwqJ4O9dGm2D+E9AX0AEIqizfq+LikNoYFyjZzTYlDCAMA==

# -*- 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, 'custom_templates'))
    filecopyto('waptself-logo.png', makepath(wapt_path, 'custom_templates'))

    # Copy .ico files for the self-service app shortcut
    filecopyto('waptself-logo.ico', makepath(wapt_path, 'custom_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\custom_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\custom_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, 'custom_templates', 'waptexit-logo.png'))
    remove_file(makepath(wapt_path, 'custom_templates', 'waptself-logo.png'))
    remove_file(makepath(wapt_path, 'custom_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
772e05feac84bb160ff6e114e14dd90ce59b674925cb3904db7f419567867074 : WAPT/control
28199c0fe62855ce3a7b5ef43ff5f7bd802724d9cb8a5db35b2a67d2b73bffec : WAPT/icon.png
bf22f103e0bf8bd495f04a78f38b48c4461a8480b2fc65c3677493c2b333311f : luti.json
7174738c1bac436a0b7ce7a498b425ead9df11696023e4928cc90a31826db036 : setup.py