Installing multiple instances of the same windows service on a server

前端 未结 10 1721
深忆病人
深忆病人 2020-12-07 08:21

So we\'ve produced a windows service to feed data to our client application and everything is going great. The client has come up with a fun configuration request that requ

10条回答
  •  长情又很酷
    2020-12-07 08:56

    Old question, I know, but I've had luck using the /servicename option on InstallUtil.exe. I don't see it listed in the built-in help though.

    InstallUtil.exe /servicename="My Service" MyService.exe
    

    I'm not entirely sure where I first read about this but I haven't seen it since. YMMV.

提交回复
热议问题