tis-custom-waptexit-and-selfservice icon

custom-waptexit-and-selfservice

Silent install package for custom-waptexit-and-selfservice

1-4

tis-custom-waptexit-and-selfservice

Here are some instructions for setting up the WAPT package

Package Contents

The WAPT package should include the following files:

  • .png files: Logos for the wapt-self-service application and waptexit
  • .ico files: Icons for the wapt-self-service application shortcuts

Instructions

Prepare the files

Ensure that all necessary .png and .ico files are included in the WAPT package, put them in the repository WAPT.

The files must be named as follows:

  • waptexit-logo.png for the waptexit application.
  • waptself-logo.png and waptself-logo.ico for the wapt-self-service application.

Customization

The variable store_name, you can customize this variable with the desired name for your Self-Service.

For example, if you want to name your service "Enterprise_J", set store_name = "Enterprise_J".

Installation

Run the installation script to apply the logos and create shortcuts with the customized name.

Verification

After installation, verify that the shortcuts on the desktop and in the programs menu display the correct name and use the custom icons.

By following these instructions, you can effectively customize the appearance and name of your WAPT Self-Service.

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

package           : tis-custom-waptexit-and-selfservice
version           : 1-4
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      : 1e062299-81da-4214-9f20-63303fb4c51e
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-06-03T15:06:50.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         : N269GnhqZOA35DO6A0jLTbuwsbUMQbN+KnSVdK3OhEbBETVVPFyNN74lTaHmpDOak7AY63OKi7evQgNzt87OI1OqRm/TailGQMvcjvFwNZxpIc1Ib3CG9oNAyh7jMrqHWNYsrZjUPwnWIHd6OqqS5/2IQaJ2eGdWPoRMLU5+KYghv3IBbebetVUobrF3R/ZaUyG16DUxSZCMgWGOuW1TOe+iHyHKnkjhjYYCLdeWQoeAR3OkKTQQDPRLsp9UKX0SlhamYR4I2T5rQjhnOCl+5Ei7n8bwtrNtC1Ecty8+nJYEZsZmLwfoDsxnB55Ny0dLNgr+kPE2syCbvQIHNMQD4w==

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

4dec86060ec13a19b752eb89918bc5531ee6d3ba3a62f3ffa722c5a960bbc6e8 : WAPT/README.MD
0e3018af1084dac3d4ce5907cea01f1d7d357a9284a6efa6763ee0bc38b8f029 : WAPT/README_fr.md
38d056ab130f7bf7c481c12636a4e9959de36561d3dfcbe54c6e3571bc0c1dc3 : WAPT/certificate.crt
62e80581fe3f3bfb27f380ade6174e0f5e919719b88cb96f5e4c47dd96cec693 : WAPT/control
28199c0fe62855ce3a7b5ef43ff5f7bd802724d9cb8a5db35b2a67d2b73bffec : WAPT/icon.png
6ab6bd7f34dc552b14512ab10df7d7fb859be262a0b6e9a659fbdff95e9b8f07 : luti.json
7c4870f6b062a1f8b217657c7cc98b0bf6f052fd45058a237969ff89b2620b4a : setup.py