Windows Service部署

Release生成的exe:

安装:

 

New-Service -Name "ExcelCUBEService" -BinaryPathName D:\WindowsServiceCUBE.exe


sc.exe delete "ExcelCUBEService"

注意:卸载的服务需要处于停止运行状态

posted @ 2023-08-04 13:40  有翅膀的大象  阅读(19)  评论(0)    收藏  举报