[英]Installer windows service using msi installer
我是Windows安装程序的新手。 我需要一个.msi安装程序,用于以纯c ++(否.NET)编写的Windows服务。 我听说有可能,但我不知道如何。
有人可以告诉我如何让安装程序安装我的服务吗? 它必须是.msi nottaller。
谢谢!
在WiX工具集中,您只需将其添加到包含File
的Component
,该File
是服务可执行文件:
<ServiceInstall Id="MyService" Name="MyService" DisplayName="My Cool Service"
Description="Description of my cool service."
Start="auto" Type="ownProcess" />
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.