Any way to override .NET Windows Service Name without recompiling?

前端 未结 5 2038
别跟我提以往
别跟我提以往 2021-01-29 23:39

I have a windows service executable that I know is written in .NET which I need to install under a different service name to avoid a conflict. The install doesn\'t provide anyw

5条回答
  •  鱼传尺愫
    2021-01-29 23:48

    It is not true that InstallUtil doesn't allow you to configure the service name. I do it all the time like this

    InstallUtil.exe /servicename="" ""
    

提交回复
热议问题