What Operating System is this on? I'm having a problem with services 
http://www.nabble.com/Service-Failing-to-Start-on-Vista-td18008909.html#a18008909
here 

Seems to be a Vista Issue mainly for me, with the service trying to start
before all files and merge modules are installed.



wixuser1105 wrote:
> 
> I have an issue with windows service startup.
> following is the WIX xml fragment.
> 
> <Component Id="C1" Guid="F504963A-BC48-4703-B978-B31CCDD0E3A5">
>  <File Id="WS1" Name="WS1.exe" DiskId="1"
> Source="$(var.buildPath)\WS1.exe"></File>
>  <File Id="WS1.config" Name="WS1.config" DiskId="1"
> Source="$(var.buildPath)\WS1.exe.config"></File>
>  <ServiceInstall Id="WS1" DisplayName="WS1"
>               Account="LocalSystem" Type="ownProcess" Start="auto"
> Vital="yes" Name="WS1"
>               ErrorControl="normal">
>  </ServiceInstall>
>  <ServiceControl Id="WS1" Name="WS1" Stop="both" Start="install"
> Remove="uninstall"></ServiceControl>
> </Component>
> 
> I get an error when the service starts. FileNotFOundException. 
> Actuallty the WS1.exe.config has a custom Config section with a type
> "WS1Config" belogs to an assembly which will also be installed to the GAC
> in the same package. 
> if I remove the attribute STart from SErviceControl and manually start the
> service after installation it works fine.
> right now I have written vbs to start all the windows services in the
> custom event.
> 

-- 
View this message in context: 
http://www.nabble.com/-wix-users--Windows-Service-%28ServiceControl%29-tp18026492p18031279.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://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to