public MyInstaller() { ManagementInstaller managementInstaller = new ManagementInstaller(); Installers.Add(managementInstaller); }
public XenInstallerInstaller() { processInstaller = new ServiceProcessInstaller(); serviceInstaller = new ServiceInstaller(); processInstaller.Account = ServiceAccount.LocalSystem; serviceInstaller.StartType = ServiceStartMode.Automatic; serviceInstaller.ServiceName = "Citrix Xen Installer"; serviceInstaller.Description = "Installs and Updates Xen Server Tools"; serviceInstaller.ServicesDependedOn = new string[] { "Winmgmt" }; managementInstaller = new ManagementInstaller(); Installers.Add(serviceInstaller); Installers.Add(processInstaller); Installers.Add(managementInstaller); }