ServiceInstaller si = new ServiceInstaller();si.ServicesDependedOn = new string[] { "DependingOnThisService" };this.Installers.Add(si);
System.Configuration.Install.Installer