Page 1 of 1

Package installation sequence

Published: September 29, 2017 - 10:19 PM
by Michelfred
Hello,

I have a software program that I need to update using the following sequence:
Close the user session,
uninstall the product (which contains drivers),
reboot the user's computer,
and install the new version of the product.

Is it possible to perform this sequence in the setup.py file?

Thank you for your help.
Sincerely,

Re: Package installation sequence

Published: October 3, 2017 - 10:18 PM
by sfonteneau
Yes, it's possible, but you'll need to use scheduled tasks for the reboot or intentionally switch the error package to force installation after the reboot.