I've been going through the forums to see if I can find if this has been
covered already but I can't seem to find one.  The problem I'm having with
my install is when I uninstall the program it leaves the service behind and
the exe related to it in the install folder.  I'm using the following WiX
code for the service.

<Component Id="Service" Guid="<guid>">
  <File Id="ServiceEXE" Name="Service.exe" Source="\\files\Service.exe"
DiskId="1" KeyPath="yes"/>
    <ServiceInstall Id="ServiceInstall" DisplayName="Test Service"
Name="Test Service" ErrorControl="normal" Start="auto" Type="ownProcess"
Vital="yes" />
    <ServiceControl Id="ServiceControl" Name="Test Service" Start="install"
Stop="uninstall" Remove="uninstall" Wait="yes" />
</Component>

Any help would be greatly appreciated.

-- 
View this message in context: 
http://n2.nabble.com/service-not-being-uninstalled-tp1099587p1099587.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to