I'm trying to create an uninstallation package for the Stormshield VPN Client SSL application. Our WAPT version (Enterprise version 2.4.0.14143)
The unique aspect of this VPN is that the application was deployed via Group Policy some time before WAPT was implemented. We have several versions of the Stormshield client in our network. The uninstallation script works correctly up to version 2.8.
I tried to set up a second uninstallation script for versions higher than 2.8, but I'm encountering a problem because the application was installed in the user's session (who doesn't have admin rights). Here is the script:
Code: Select all
# -*- coding: utf-8 -*-
from setuphelpers import *
uninstallkey = []
def install():
pass
def session_setup():
for to_uninstall in installed_softwares(name=r"Stormshield SSL VPN Client"):
if Version(to_uninstall["version"]) < Version('3.4') or force:
print("Removing: %s (%s)" % (to_uninstall["name"], to_uninstall["version"]))
killalltasks(control.impacted_process.split(","))
run(r"MsiExec.exe /X{'clé'} /qn")I'm stuck on this step
Thank you for your help
