Hi, all~ I ran into this weird problem as follows:
I'm using WiX3.0 to build an installation package which will install
several windows services, but I can't start the service correctly, every
time I got the message: "Service 'PublishService' failed to start. Verify
that you have sufficient privileges to start system services." And my wix
code is as follows:
*<DirectoryRef Id="PUBLISHSERVICE">*
* <Component Id="PublishServiceComponent"
Guid="5e9f12c0-9c80-4e6b-b271-2a8e21fabf2f">*
* <File Id="PublishService.exe" Name="PublishService.exe"
Source="PublishService.exe" DiskId="1" KeyPath="yes" />*
* ……//and other files needed by the PublishService.exe*
*
*
* <ServiceInstall Id="InstallPublishService" Type="ownProcess"
Vital="yes" Name="PublishService" Description="PublishService" Start="auto"
Account="NT AUTHORITY\NetworkService" ErrorControl="ignore"
Interactive="no">*
* </ServiceInstall>*
* <ServiceControl Id="PublishServiceControl" Name="PublishService"
Start="install" Stop="both" Remove="uninstall" Wait="yes" />*
* </Component>*
* </DirectoryRef>*
By the way, in order to exclude the possibility that the failure is
caused by the PublishService.exe itself, I used the Visual Studio 2008
Command Prompt to run the command "InstallUtil /u PublishService.exe", and I
succeeded this way.
Do you guys have any ideas where I'm going wrong? Thanks in advance~
Best wishes,
Bonn
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users