使用时创建Windows服务:
sc create ServiceName binPath= "the path"
如何将参数传递给Installer类的Context.Parameters集合?
我对sc.exe文档的阅读是这样的论证只能在最后传递binPath,但我没有找到一个例子或者能够成功地做到这一点.
sc.exe
binPath
windows-services
windows-services ×1