Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

WiX ServiceInstall Service Dependency [duplicate]

How do I set a dependency for a service in the WiX ServiceInstall attribute to depend on, for example, LmHosts

like image 538
John Oxley Avatar asked Jan 15 '13 14:01

John Oxley


1 Answers

<ServiceInstall Id="ServiceNameId" Type="ownProcess" Name="ServiceName"
                DisplayName="Service Display Name"
                Description="Service Description" Start="auto" Account="LOCALSYSTEM"
                ErrorControl="normal">
      <ServiceDependency Id="LmHosts" />
</ServiceInstall>
like image 155
John Oxley Avatar answered Nov 16 '22 03:11

John Oxley