Extended service installer class providing more futures to set.
For a list of all members of this type, see ExtendedServiceInstaller Members.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Configuration.Install.Installer
System.Configuration.Install.ComponentInstaller
System.ServiceProcess.ServiceInstaller
uws.Install.ExtendedServiceInstaller
Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.
This class provides more installation settings than the ServiceInstaller class. For further informations see the example section.
// Code for installing the process of the service ServiceProcessInstaller process = new ServiceProcessInstaller(); process.Account = ServiceAccount.LocalSystem; process.Username = null; process.Password = null; // Code for installing the service ExtendedServiceInstaller service = new ExtendedServiceInstaller(); service.StartType = ServiceStartMode.Automatic; service.ServiceName = "uws"; service.DisplayName = "Universal Windows Service"; service.Description = "A universal windows service for starting and watching applications."; service.InteractiveProcess = true; // Only possible if ServiceAccount is LocalSystem service.StartOnInstall = true; // Service will be started after installation Installers.Add(m_process); Installers.Add(m_service);
Namespace: uws.Install
Assembly: uwsCore (in uwsCore.dll)
ExtendedServiceInstaller Members | uws.Install Namespace | ServiceInstaller | ServiceAccount | ServiceStartMode