Universal Windows Service Class Library

Installer Members

Installer overview

Public Instance Constructors

Installer Constructor Default constructor of the installer class.

Public Instance Properties

Account Get or set the account of the service.
Container (inherited from Component) Gets the IContainer that contains the Component.
Context (inherited from Installer) Gets or sets information about the current installation.
Description Get or set the description of the service which will be displayed in windows service management.
DisplayName Get or set the name of the service which will be displayed in windows service management.
FailCountResetTime Property to set the fail count reset time of the service.
FailRebootMsg Property to set the fail reboot message of the service.
FailRunCommand Property to set the fail run command of the service.
FailureActions Property to set the different failure actions.
HelpText (inherited from Installer) Gets the help text for all the installers in the installer collection.
Installers (inherited from Installer) Gets the collection of installers that this installer contains.
InteractiveProcess Property to mark service as interactive process which can communicate with the desktop. Only for services where logon account is LocalSystem.
Parent (inherited from Installer) Gets or sets the installer containing the collection that this installer belongs to.
Password Get or set the password of user account.
ServiceName Get or set the name of the service.
Site (inherited from Component) Gets or sets the ISite of the Component.
StartAfterInstall Property to start the service after installation.
StartTimeout Property to set the start timeout in seconds for the service.
StartType Get or set the start type of the service.
Username Get or set the username of user account.

Public Instance Methods

Commit Commit installation of the service on this computer.
CreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
Dispose (inherited from Component)Overloaded. Releases all resources used by the Component.
Equals (inherited from Object) Determines whether the specified Object is equal to the current Object.
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
GetType (inherited from Object) Gets the Type of the current instance.
InitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
Install Install the service on this computer.
Rollback Rollback installation of the service on this computer.
ToString (inherited from Component) 
Uninstall Uninstall the service on this computer.

Public Instance Events

AfterInstall (inherited from Installer) Occurs after the Install methods of all the installers in the Installers property have run.
AfterRollback (inherited from Installer) Occurs after the installations of all the installers in the Installers property are rolled back.
AfterUninstall (inherited from Installer) Occurs after all the installers in the Installersproperty perform their uninstallation operations.
BeforeInstall (inherited from Installer) Occurs before the Install method of each installer in the installer collection has run.
BeforeRollback (inherited from Installer) Occurs before the installers in the Installers property are rolled back.
BeforeUninstall (inherited from Installer) Occurs before the installers in the Installers property perform their uninstall operations.
Committed (inherited from Installer) Occurs after all the installers in the Installers property have committed their installations.
Committing (inherited from Installer) Occurs before the installers in the Installersproperty committ their installations.
Disposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.

Protected Instance Properties

DesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
Events (inherited from Component) Gets the list of event handlers that are attached to this Component.

Protected Instance Methods

Dispose (inherited from Component)Overloaded. Releases the unmanaged resources used by the Component and optionally releases the managed resources.
Finalize (inherited from Component) Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.
GetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.
OnAfterInstall (inherited from Installer) Raises the AfterInstall event.
OnAfterRollback (inherited from Installer) Raises the AfterRollback event.
OnAfterUninstall (inherited from Installer) Raises the AfterUninstall event.
OnBeforeInstall (inherited from Installer) Raises the BeforeInstall event.
OnBeforeRollback (inherited from Installer) Raises the BeforeRollback event.
OnBeforeUninstall (inherited from Installer) Raises the BeforeUninstall event.
OnCommitted (inherited from Installer) Raises the Committed event.
OnCommitting (inherited from Installer) Raises the Committing event.

See Also

Installer Class | uws Namespace | Installer | ServiceProcessInstaller | ExtendedServiceInstaller