How do I set a dependency for a service in the WiX ServiceInstall attribute to depend on, for example, LmHosts
Asked
Active
Viewed 4,612 times
1 Answers
17
<ServiceInstall Id="ServiceNameId" Type="ownProcess" Name="ServiceName"
DisplayName="Service Display Name"
Description="Service Description" Start="auto" Account="LOCALSYSTEM"
ErrorControl="normal">
<ServiceDependency Id="LmHosts" />
</ServiceInstall>

John Oxley
- 14,698
- 18
- 53
- 78
-
Worked immediately, thank you! – RikSaunderson Jun 18 '13 at 09:50