how to install multiple instance of same windows service

前端 未结 5 782
囚心锁ツ
囚心锁ツ 2021-02-08 07:42

I created one windows serives

It gets the name of the service from web config file.

I used the below link for getting value from webconfig. http://www.codeprojec

5条回答
  •  萌比男神i
    2021-02-08 08:33

    sc create MyService binPath= "MyService.exe" DisplayName= "MyService"  
    sc description MyService "My description"
    

    Reference: http://support.microsoft.com/kb/251192

    Followed marked answer and wasted an hour. it was simple using sc create command

提交回复
热议问题