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
Savdekar
Sent: Thursday, May 24, 2007 4:43 PM
To: wix-users@lists.sourceforge.net
Subject: [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!
<http://content.msn.co.in/Entertainment/TV/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