wix service dependencies

前端 未结 1 1260
生来不讨喜
生来不讨喜 2021-01-18 21:59

My product has several features including two services. Let\'s call them ServiceA and ServiceB. Both of these service features are optional. However if both ServiceA and Ser

相关标签:
1条回答
  • 2021-01-18 22:21
    <ServiceInstall Id="ServiceA" DisplayName="ServiceA" Name="ServiceA" 
        Account="LocalSystem" Start="auto" ErrorControl="normal" Type="ownProcess">
        <ServiceDependency Id="ServiceB"/>
    </ServiceInstall>
    

    That should work, check out ServiceDependency documentation element

    0 讨论(0)
提交回复
热议问题