Hi,
Further to my last question here http://www.advancedinstaller.com/forums ... =2&t=11259 , I also wish to stop a service before running the uninstall, in order to prevent the reboot.
Again, I need this to happen *before* InstallValidate, and I can't rely on the "FilesInUse" and "MsiRMFilesInUse" dialogs, because I am running without a GUI (/passive).
This needs to run on Vista & Windows 7 (as well as XP), so I can't rely on the Service Control settings in AI (I've gathered this from http://www.advancedinstaller.com/forums ... ice#p28512)
The service is running as the local System Account - which means, to stop it, you need to be running elevated.
How can I run an Custom Action *before* InstallValidate to stop the service, where the custom action runs "elevated" ?
Cheers,
Charles.