I created one project for Windows Services that contains several Windows Services and its installers.
Whenever I install my services project, it installs both services, but whenever I start my services, it always starts only the 1st service.
Example
I created one project " MyProjet.Services"
What contains 2 services
I installed these services with the following commands.
installutil MyProject.Services.exe
you can create 2 services ( Service1,service2) that can see them inServices.msc
Then I try to start the services using the commands:
SC start Service1 param1 param2
Services.msc: Service Status 1: Startup
SC start Service2 param1 param2
Services.msc: Service Status2: Startup
1- .
, : "Service1/2 ".
, service2, , Service1.
, .
-, ?
,