.net windows service. How to set a start sequence

  • Thread starter Thread starter AA
  • Start date Start date
A

AA

I have 3 .net windows service applications.
I need that windows starts them in a sequence
First the X service, Second the Y service and third the Z service.

Something like
When you stop the IIS Admin, windows stop first the WWW, FTP and other
dependencies

I need to do exactly the same thing but with the START

Thanks a lot


AA
 
When you create a service project, you'll get a ServiceInstaller component
created for you as well.
In that ServiceInstaller, set the ServicesDependedOn property.

-Rob Teixeira [MVP]
 
Back
Top