UDeploy 使用服务控制管理器插件创建 windows 服务

UDeploy Create windows Service using Service Control Manager plugin

我正在尝试使用 udeploy 的服务控制管理器插件中的创建服务步骤创建新服务,但我的步骤在执行时失败了。这是我在输出 window

中看到的
sc.exe create 'MyServiceName' '/binPath=MyServicePath\n/start=auto\n/'

link https://developer.ibm.com/urbancode/plugindoc/ibmucd/microsoft-windows-services/1-2/steps/#create_service 声明我必须在以换行符分隔的参数列表中传递参数,但如您所见,我的参数是用大单引号传递的,我不确定如何传递解决这个问题。感谢任何帮助。

我能够通过在 UDeploy 中创建服务步骤的参数框中传递如下参数来解决此问题 UI

binPath=[Press Enter]
MyServicePath=[Press Enter]
start=[Press Enter]
auto=[Press Enter]

确保每行末尾没有多余的空格。