簡體   English   中英

使用MSI Installer的Installer Windows服務

[英]Installer windows service using msi installer

我是Windows安裝程序的新手。 我需要一個.msi安裝程序,用於以純c ++(否.NET)編寫的Windows服務。 我聽說有可能,但我不知道如何。

有人可以告訴我如何讓安裝程序安裝我的服務嗎? 它必須是.msi nottaller。

謝謝!

在WiX工具集中,您只需將其添加到包含FileComponent ,該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.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM