Page 1 of 1

[SOLVED] Running Session-setup after reinstallation

Published: June 13, 2019 - 11:53
by Christophe0110
Hello everyone,

I'm having a small problem running session-setup on our users' machines.
If I follow these steps:
- Install a package.
- The package installs correctly on the PCs and session-setup runs when they log in.
- I want to reinstall the package. I uninstall the package from the PCs and reinstall it.
- On the next login, session-setup ignores the package configuration ("Already installed")... Probably because there hasn't been a version change...
Is there a way to force session-setup to run after a package reinstallation?

Thank you.
Christophe.

Re: Running Session-setup after reinstallation

Published: June 14, 2019 - 6:24 PM
by dcardon
Christophe0110 wrote: June 13, 2019 - 11:53 AM
- On the next login, session-setup ignores the package configuration ("Already installed")... Probably because there was no version change...
Is there a way to force session-setup to run after a package reinstallation?
It is possible to launch a command line command (replace ALL with the name of your package if needed)

Code: Select all

wapt-get session-setup -f ALL"
The history of session-setup launches is stored in the user session (session-setup is launched once in each session).

The simplest approach is to increment the package version index (the number after the hyphen). If the package is very large and there is no skip installation option if the installation is already complete (install_msi_if_needed or install_exe_if_needed), the best solution is to create a separate package and divide the software installation and configuration into two different packages, using dependencies to ensure both are installed.

Sincerely,

Denis

Re: Running Session-setup after reinstallation

Published: June 18, 2019 - 11:16
by Christophe0110
Thanks for your reply!
I wasn't aware of the -f parameter in this command!

Cheers!