Hi all,
Our installer creates and tries to start a service, but it fails to start with
the following error message:
"Service 'My Service' (MyService) failed to start. Verify that you have
sufficient privileges to start system services."
However, before files begin to be installed, the UAC prompts the user for
permission to make system changes, which we believe is
invoked by the following statement in our .wxs:
<Condition Message="This installer requires administrator privileges to run.">
Privileged OR AdminUser
</Condition>
Here are the service-related statements:
<Component Id='compMyService' Guid='XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX'>
<File Id='fileMyService' Name='MyService.bat' DiskId='1'
Source='MyService.bat' KeyPath='yes' />
<ServiceInstall
Id="MyService"
Account="LocalSystem"
Description="Runs my sensor service"
DisplayName="My Service"
ErrorControl="ignore"
Interactive="no"
Name="MyService"
Start="auto"
Type="ownProcess"
Vital="yes"
>
</ServiceInstall>
<ServiceControl
Id="StartService"
Name="MyService"
Remove="uninstall"
Start="install"
Stop="both"
Wait="yes"
/>
</Component>
So any thoughts on why our service doesn't start? We haven't found anything
that seemed relevant searching the internet, so any
ideas would be most appreciated.
Thanks,
Alain
------------------------------------------------------------------------------
The Go Parallel Website, sponsored by Intel - in partnership with Geeknet,
is your hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials, tech docs,
whitepapers, evaluation guides, and opinion stories. Check out the most
recent posts - join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users