<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