【发布时间】:2019-02-15 18:53:14
【问题描述】:
我的项目结构如下(示例):Installer\Dependencies\Myservice.exe Installer\Dependencies\dependenci.dll Installer\Dependencies\js\file.js Installer\Dependencies\resources\folder\file.js
在每个文件夹中,我的服务依赖项都安装得很好。
如果依赖项,我如何使用 simpleSC 安装服务?
我知道声明:SimpleSC::InstallService [name_of_service] [display_name] [service_type][start_type] [binary_path] [dependencies] [account] [password]
我已经尝试过了,但是没有用:SimpleSC::InstallService "LprService" "LprService" "272" "2" "$INSTDIR\GeneteLPRService.exe" "Dependencies" "" ""
P.s.:使用InstallUtil.exe,它可以工作
【问题讨论】:
标签: windows-services installation nsis