> -----Original Message-----
> I have one service related binary(guardsvc.exe)
> 
> It is started properly while installing and stoped while uninstalling.
> 
> The problem is it is not deleted the corresponding registry
> key(HKL\SYSTEM\ControlSet001\Services\guardsvc.exe) and because of 
> this registry key it is visible in  Services.msc

It might be something other than a WiX problem.

 1) Don't look at ControlSet001, look at CurrentControlSet
 2) Is the service marked for deletion?
 3) If so, then your service won't be removed until reboot. I've seen that
happen recently where QueryServiceStatus was called on a service, but
CloseServiceHandle was not subsequently called to release the handle, so the
service control manager would only mark the service for deletion, not
actually remove it.

Daryn.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to