5
我的产品有几个功能,包括两项服务。我们称它们为ServiceA和ServiceB。这两种服务功能都是可选的。但是,如果在安装过程中选择了ServiceA和ServiceB,我希望在它们之间创建服务依赖关系,以便ServiceB依赖于ServiceA(换句话说ServiceB必须始终在ServiceA启动之前启动)。wix服务依赖项
如何在WIX 3.6中实现这一点?
我的产品有几个功能,包括两项服务。我们称它们为ServiceA和ServiceB。这两种服务功能都是可选的。但是,如果在安装过程中选择了ServiceA和ServiceB,我希望在它们之间创建服务依赖关系,以便ServiceB依赖于ServiceA(换句话说ServiceB必须始终在ServiceA启动之前启动)。wix服务依赖项
如何在WIX 3.6中实现这一点?
<ServiceInstall Id="ServiceA" DisplayName="ServiceA" Name="ServiceA"
Account="LocalSystem" Start="auto" ErrorControl="normal" Type="ownProcess">
<ServiceDependency Id="ServiceB"/>
</ServiceInstall>