I'm trying to run a silent deinstallation from a service, but I'm hitting a problem with Windows XP. I was wondering if anyone has seen this.
On installation, I'm storing the location of the installer/deinstaller (from the variable $UNINSTALLINK$) in the registry.
My service then picks up this value, and executes the package with the "/s MODIFY=FALSE REMOVE=TRUE UNINSTALL=YES" parameter string, using the system ShellExecute call.
The code always works if fired off ineractively from a normal program. It also works from a service under Vista. But it doesn't work from a service under Windows XP, even when the return value of ShellExecute indicates success. Anyone have any ideas?
Thanks,
John B
Silent deinstallation from a Windows service
-
- Posts: 4
- Joined: Thu Nov 19, 2009 2:50 am
- Contact:
Who is online
Users browsing this forum: Baidu [Spider] and 25 guests