Hi all,
I am installing a printer driver and would like to cycle the Spooler service after an install. This is not a problem as I understand how to use the StartServices and StopServices scheduling elements in InstallExecuteSequence. The problem is that I want to ensure that the Spooler service is running before I do any printer manipulation as some of the API calls need that service running. I don't know how to have two sets of StartService. Ideally the InstallExecuteSequence would run in the following order; 1) Show UI 2) Start spooler service 3) Install printer driver, port monitor etc 4) Stop Spooler service 5) Start Spooler service So, I need the Spooler service running in order to install the printer (and for an install without errors) as some people have it disabled on their machines. I also need to cycle the Spooler service in case the printer port monitor was already running and we had a previous version of the port monitor on there (this will unload the DLLs that I copy and force them to reload for the next print). I suppose I could use 'net start spooler' somehow but this feels kind of kludgy. Opinions greatly appreciated. Regards Ryan ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users