Page 1 of 1

Disabling a session-setup

Published: April 20, 2022 - 4:26 PM
by corriou
Good morning,

When creating a package, I used the function session-setup to customize the user session (Wapt 1.8 at the time). However, I would now like to revert to the previous state, but uninstalling the package from the machine did not remove the session-setup which continues to launch (currently Wapt 2.2). Is there a procedure to modify the list of behaviors at login? Do I need to reinstall the package to be able to uninstall it again? How can I get a list of packages that use session-setup ?

Code: Select all

C:\Users\xxxxxxx>wapt-get session-setup ALL
Using config file: C:\Program Files (x86)\wapt\wapt-get.ini
26 packages configured for user xxxxxxx
Best regards,
Alain

Re: Disabling a session-setup

Published: April 20, 2022 - 6:22 PM
by dcardon
Hello Alain,

The contents of setup.py are stored in the local sqlite database of the wapt agent to allow the def session_setup() and def uninstall() functions to be launched when called.

If the package is removed locally, the line with the contents of setup.py is deleted, so logically there is no way for session-setup to still run.

The setup.py files are stored in the wapt_localstatus table, column setyppy.

What happens if you run the command line below?

Code: Select all

wapt-get session-setup mon-paquetquejaisupprime
Sincerely,

Denis