Re: [WiX-users] How to detect whether a service is running or not

2010-03-12 Thread Wilson, Phil
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

Re: [WiX-users] How to detect whether a service is running or not

2010-03-12 Thread Sanjay Rao
This would not be the issue, because it is working on all other platforms except Windows server 2008. I am using Wix 3.0. On 12-03-2010 10:21, Wilson, Phil wrote: That previous post might be a bit misleading, and it always helps to look at the MSI SDK docs. The Name in the ServiceControl

Re: [WiX-users] How to detect whether a service is running or not

2010-03-12 Thread Wilson, Phil
A verbose log might help in that case. Phil Wilson -Original Message- From: Sanjay Rao [mailto:s...@noida.interrasystems.com] Sent: Friday, March 12, 2010 10:35 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] How to detect whether a service is running or not This

[WiX-users] How to detect whether a service is running or not

2010-03-11 Thread Sanjay Rao
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.

Re: [WiX-users] How to detect whether a service is running or not

2010-03-11 Thread puyo puy
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

Re: [WiX-users] How to detect whether a service is running or not

2010-03-11 Thread Sanjay Rao
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