Thanks Phil.
 
It resolved my problem. I added registry key create command in wxs and it 
worked. 
 
Thanks again.
 
Pankaj
 
=========================
ERROR_SERVICE_REQUEST_TIMEOUT = 1053.  One of the gotchas with that AppId 
registry entry is that servicesrunning with localsystem don't have the same 
view of the registry as aninteractive user because HKCR is a mapping. Adding 
that AppID data toHKLM\Software\Classes\Appid fixed the problem for me (because 
that's notalways the same as HKCR).  Use Regmon during service start - I 
thinkyou'd see that the ATL code says HKCR but Regmon reports it 
accessingHKLM\Software\Classes and not finding the entry.  The HKCR mapping 
means that you cannot trust what you see when you runRegedit as an interactive 
user because you won't see the same HKCR thatSYSTEM does.  Phil Wilson  
________________________________From: [EMAIL PROTECTED][mailto:[EMAIL 
PROTECTED] On Behalf Of PankajSavdekarSent: Friday, May 25, 2007 11:44 AMTo: 
Stefan PavlikCc: [EMAIL PROTECTED]: Re: [WiX-users] ServiceInstall 
ProblemThanks for the reply Stefan. Yes that entry in registry was not made 
byinstaller, so I added AppId element in my component and now registryentry is 
appearing correctly.But problem still persist, it gives me same error 1053 when 
I installservice using MSI. Pankaj________________________________> Date: Fri, 
25 May 2007 10:19:05 +0200> From: [EMAIL PROTECTED]> To: [EMAIL PROTECTED]> CC: 
wix-users@lists.sourceforge.net> Subject: Re: [WiX-users] ServiceInstall 
Problem> > Hi ...> > I had similar problem two years ago.> I had no problem to 
install the service using 'Service.exe -service'> command.> > I found out that 
during call to 'Service.exe -service' some registry> keys are written into 
HKCR.> > If you have source code of your service check for the> YourService.rgs 
file and adjust the following code with appropriate> values:> > <Component ...> 
<File ...> <ServiceInstall...> <AppId Id="YOUR_SERVICE_GUID"> 
LocalService="YourServiceName"> ServiceParameters="-Service"> 
Description="YourServiceDescription" />> <Component/>> > > If you do not have 
the sources of your Service.exe you can check the> registry keys for the needed 
values:> > [HKEY_CLASSES_ROOT\AppID\YourServiceName.EXE]> 
"AppID"="{YOUR_SERVICE_GUID}"> > [HKEY_CLASSES_ROOT\AppID\{YOUR_SERVICE_GUID}]> 
"ServiceParameters"="-Service"> "LocalService"="YourServiceName"> 
@="YourServiceDescription"> > > > Hope that it will help you.> > Regards> > 
Stefan> > > > > Pankaj Savdekar wrote:> > 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 itusing> > installer made using ServiceInstall 
element.> > > > > > > > Error 1053: The service did not respond to the start or 
controlrequest> > 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> > > > 
_________________________________________________________________
Palate Teasers: Straight from Master Chef!
http://content.msn.co.in/Lifestyle/Moreonlifestyle/LifestylePT_101106_1530.htm
-------------------------------------------------------------------------
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