I'm trying to install a Windows Service and have it start automatically,
but it fails during installation saying to check that I have privileges
to start services.

<Component Id="myservice.exe" Guid="xxxxxxx...">
  <File Id="myservice.exe" Name="MyService" DiskId="1"
   Source="myservice.exe" KeyPath="yes" Vital="yes"/>

  <ServiceInstall Id="myservice.exe" ErrorControl="normal"
Name="MyService" DisplayName="_MyService" Type="ownProcess" Start="auto"
Vital="yes" />

  <ServiceControl Id="myservice.exe" Name="MyService" Start="install
Stop="both" Remove="uninstall" />

</Component>


When I run the installer on my other machine, I am running as admin.

Any ideas of what I'm doing wrong? I can see that the service is
installed, but it just doesn't get started.

Thanks!
BMD

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
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