You should put Wait="yes" during StartService, since your service seems to take some time to start.
JC -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Anidil Envoyé : vendredi 11 janvier 2008 10:09 À : wix-users@lists.sourceforge.net Objet : Re: [WiX-users] Help on Service I see that the service.exe has been copied and registered under windows service console.but it doesn't start automatically.I get the following message when tried starting manually."Windows could not start the service on Local Computer. Error 1053: The service did not respond to the start or control request in a timely fashion." Is this somethig to do with the service.exe? While using the installshield installer, we have passed the "/RegServer" to a standalone ExecuteProcess.exe to register the service.exe. here are the snip of the wix code <Component Id="InstallService" Guid="{A217EE94-F719-47c4-BEE0-28FDF944CD5C}"> <File Id="EXECUTEPROCESS" Name="ExecProc.exe" Source="ExecuteProcess.exe" DiskId="1" KeyPath="yes" DefaultSize="7121522" DefaultVersion="4.3.0.0.1170.S" /> <File Id="EXECUTABLE1" DiskId="1" LongName="service.exe" Name="service.exe" Source="service.exe" DefaultSize="1017" /> <ServiceInstall Id="RegisterService" Name="ExecProc" DisplayName="ABCD Service" Type="ownProcess" Start="auto" ErrorControl="normal" Description="Service" Account="[SERVICEACCOUNT]" Password="[SERVICEPASSWORD] " /> <ServiceControl Id="StartService" Name="service.exe" Start="install" Wait="no" /> <ServiceControl Id="StopService" Name="service.exe" Stop="both" Wait="yes" Remove="uninstall" /> </Component> ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users