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>        
            


Meyrignac, Jean-Charles wrote:
> 
> Trying to guess, since the description of your problem is very poor...
> 
> The problem is easy to locate: run the installer. When you get your error
> message, check if Service.exe has been copied.
> If it is not the case, remove the attribute Assembly=".net" on your <File>
> entry.
> 
> 
> JC
> 
> -----Message d'origine-----
> De : [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] De la part de Anidil
> Envoyé : vendredi 11 janvier 2008 08:08
> À : wix-users@lists.sourceforge.net
> Objet : Re: [WiX-users] Help on Service
> 
> 
> 
> I get the following error message:
> "Service 'service.exe' ('service.exe') failed to start.Verify that you
> have
> sufficient privileges to start system services"
> 
> I'm logged in as Admin user
> 
> 
> 
> 
> -------------------------------------------------------------------------
> 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
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Help-on-Service-tp12774904p14752117.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
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

Reply via email to