.net windows service. How to set a start sequence

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
 
R

Rob Teixeira [MVP]

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]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top