You should be able to use the ServiceControl table (which you can author using the ServiceControl element in WiX).
-----Original Message----- From: shane_cor...@selinc.com [mailto:shane_cor...@selinc.com] Sent: Monday, November 02, 2009 9:48 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] How to stop an existing service during installation? I'm new to WiX and have an installer that installs a set of PCI drivers. An existing service uses these drivers and I need to stop it before upgrading drivers, then restart it after the drivers have been installed such that the service uses the new drivers. The service has a seperate installer and needs not be included in my driver package installer. What is the most appropriate way to do this? If I can stop the service during the installation then a reboot isn't required, and that would be preferred. I've tried creating custom actions that run a "net stop <service>" and "net start <service>", but haven't got the syntax for that figured out. It seems there has got to be a better way. Thanks! ---------------------------------------------------------------------------- -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users