Thanks Matt. Currently I'm using default (Local system Account). Problem is it 
works fine (with same setting) when I use '-service' option and install it 
manually, but when I use msi (ServiceInstall) it gives me error 1053.
 
Pankaj


Subject: RE: [WiX-users] ServiceInstall ProblemDate: Thu, 24 May 2007 16:55:14 
-0700From: [EMAIL PROTECTED]: [EMAIL PROTECTED]; wix-users@lists.sourceforge.net






One common mistake I make over and over again is that I install the service 
(using the .msi) as a user who does not have access rights to do so (log on as 
a service.)
 
 
-Matt
 




From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Pankaj 
SavdekarSent: Thursday, May 24, 2007 4:43 PMTo: [EMAIL PROTECTED]: [WiX-users] 
ServiceInstall Problem
 
Hi All,
 
I'm facing one problem using ServiceInstall. I have one ATL windows service 
which works fine when I manually register it (Service.exe -service). But 
service gives following error, when I install it using installer made using 
ServiceInstall element.
 
Error 1053: The service did not respond to the start or control request in a 
timely fashion.
 
Component definition in Wix file:
------------------------------------------------
<Component Id='MainExecutable' Guid='0C47CD31-8876-42aa-B2D9-7D6FF823D171'>
 
   <File Id='WinService' Name='WinSvc.exe' LongName='WinService.exe' DiskId='1'
      Source='WinService.exe' Vital='yes' KeyPath='yes'/>
 
   <ServiceInstall Id="MyWinService" Name="Win Service"
      DisplayName="Windows service"
      Type="ownProcess" Start="auto" ErrorControl="normal" Vital="yes">
   <ServiceDependency Id="RpcSs"/>
   </ServiceInstall>
 
</Component>
------------------------------------------------
 
Any idea what could be wrong?
 
Thanks,
Pankaj
 



The idiot box is no longer passe; It's making news and how!
_________________________________________________________________
Catch the cricket action with MSN!
http://content.msn.co.in/Sports/Cricket/Default.aspx
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to