Page 1 of 1

Display a popup during uninstallation via Self-Service

Published: August 7, 2025 - 11:18
by Valentin_Itancia
WAPT version installed: 2.6.0.17392
Server OS: Debian GNU/Linux 12 (Bookworm)
Operating system of the administration machine: Windows 10

Good morning,

I am trying to create a package that is intended to be installed/uninstalled using self-service.
Installing and uninstalling my software works, however, a restart is required before I can reinstall the software.

What I would like to do is have a popup appear at the end of the software uninstallation to tell the user that they must restart their PC before they can reinstall the software.

I tried to use the following package as inspiration to create a popup: https://wapt.tranquil.it/store/fr/detai ... _PROD.wapt

Specifically, this part is for retrieving open sessions on the PC and launching code execution within them:

Code: Select all

def run_session_setup(package_name):
    for session_id in get_active_sessions():
        start_interactive_process("wapt-get", "--hide session-setup %s -f" % package_name, session_id=session_id)  # , minimize=True

Is it possible to display a popup when uninstalling software via self-service?

Thank you for your help
Valentin.