That previous post might be a bit misleading, and it always helps to look at the MSI SDK docs. The "Name" in the ServiceControl table isn't the exe name - it's actually the internal name of the service. Is that perhaps the issue?
Phil Wilson -----Original Message----- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Thursday, March 11, 2010 11:08 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to detect whether a service is running or not This is not working on Windows server 2008, while un-installtion. On 11-03-2010 22:42, puyo puy wrote: > <ServiceControl Id='MyServiceControl' Name='MyServiceExeName' > Start='install' Stop='both' Remove='uninstall' /> > > mean: start the service on install, remove the service when the product is > uninstalled, and stop the service both on install and uninstall. > > Refer to ServiceControl Element in Wix help file for more details. > > --- On Fri, 12/3/10, Sanjay Rao<s...@noida.interrasystems.com> wrote: > > From: Sanjay Rao<s...@noida.interrasystems.com> > Subject: [WiX-users] How to detect whether a service is running or not > To: wix-users@lists.sourceforge.net > Received: Friday, 12 March, 2010, 1:40 PM > > Hi, > > I have written a msi installer, which installs three services. It work > fine, but it does not stops/removes these services when I uninstall this > installer from windows server 2008. > Is anybody have any idea ? > > Is there any way using WIX, to know that a particular service is running > or not. In this way I can prompt user to manually stop the services. > Any type of help in this reagard would be greatly appreciated. > > > Regards, > Sanjay Rao > > > > > ------------------------------------------------------------------------------ > Download Intel(r) Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > ------------------------------------------------------------------------------ > Download Intel® Parallel Studio Eval > Try the new software tools for yourself. Speed compiling, find bugs > proactively, and fine-tune applications for parallel performance. > See why Intel Parallel Studio got high marks during beta. > http://p.sf.net/sfu/intel-sw-dev > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > > > > > > > No virus found in this incoming message. > Checked by AVG - www.avg.com > Version: 9.0.733 / Virus Database: 271.1.1/2739 - Release Date: 03/11/10 > 13:50:00 > > ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users *** Confidentiality Notice: This e-mail, including any associated or attached files, is intended solely for the individual or entity to which it is addressed. This e-mail is confidential and may well also be legally privileged. If you have received it in error, you are on notice of its status. Please notify the sender immediately by reply e-mail and then delete this message from your system. Please do not copy it or use it for any purposes, or disclose its contents to any other person. This email comes from a division of the Invensys Group, owned by Invensys plc, which is a company registered in England and Wales with its registered office at Portland House, Bressenden Place, London, SW1E 5BF (Registered number 166023). For a list of European legal entities within the Invensys Group, please go to http://www.invensys.com/legal/default.asp?top_nav_id=77&nav_id=80&prev_id=77. You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail inet.hqhelpd...@invensys.com. This e-mail and any attachments thereto may be subject to the terms of any agreements between Invensys (and/or its subsidiaries and affiliates) and the recipient (and/or its subsidiaries and affiliates). ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users