📜  在服务中添加 exe - TypeScript 代码示例

📅  最后修改于: 2022-03-11 14:48:22.449000             🧑  作者: Mango

代码示例1
[run]
Filename: {sys}\sc.exe; Parameters: "create mysrv start= auto binPath= ""{app}\mysrv.exe""" ; Flags: runhidden

[UninstallRun]
Filename: {sys}\sc.exe; Parameters: "stop mysrv" ; Flags: runhidden
Filename: {sys}\sc.exe; Parameters: "delete mysrv" ; Flags: runhidden