Hi all,

I'm new to wix - trying to solve trivial problem of creating MSI that
installs new service on the computer and uninstalls it when the application
is uninstalled itself..

Creation of the service, starting and stopping the service is OK. But when I
uninstall the application the service is only stopped and it remains
registered on my computer..

I'm using following code..

<Component Id="MyServiceComponent"
Guid="12345678-4bbb-4dfc-9d27-2ec8bc588139">
  <File Id="MyServiceExeFile" Name="MyService.exe"
Source="$(var.TargetPath)" />
  <ServiceInstall Id="MyServiceInstall" Name="MyServiceName" Start="auto"
Type="ownProcess"  Vital="yes" ErrorControl="normal" />
  <ServiceControl Id="MyServiceControl" Name="MyServiceName" Start="both"
Stop="uninstall" Remove="uninstall" Wait="yes"/>
</Component>

Thanks for any advice

Marek Leitl


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to