Hi, 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 following is wix code. If anyone can guide me, would be of great help. <Component Id="guardsvc.exe" Guid="{EB172BF4-C1F7-467F-89C3-A5B73F3E8B45}" SharedDllRefCount="no" Location="local"> <Condition>(NOT VersionNT=500) AND (NOT VersionNT64)</Condition> <File Id="guardsvc.exe" Name="guar_1" LongName="guardsvc.exe" DiskId="1" Source="guardsvc.exe" /> <ServiceInstall Id="guardsvc.exe" ErrorControl="normal" Name="guards.exe" Start="auto" Type="ownProcess" Interactive="no" Vital="yes" DisplayName="Test Machines Client Service" Description="Enables the Test Machines Client. If this service is stopped, Test Machines-protected content will be unavailable."> <ServiceDependency Id="EventLog" /> <ServiceDependency Id="RpcSs" /> <ServiceDependency Id="Dnscache" /> <ServiceDependency Id="CryptSvc" /> <ServiceDependency Id="TermService" /> </ServiceInstall> <ServiceControl Id="guardsvc.exe" Name="guards.exe" Stop="uninstall" Remove="uninstall"/> </Component> -- View this message in context: http://www.nabble.com/Service-started---stoped-but-Not-removed-from-Servcies.msc-tp14918693p14918693.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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