Export (0) Print
Expand All

ServiceProcessInstaller Members

Installs an executable containing classes that extend ServiceBase. This class is called by installation utilities, such as InstallUtil.exe, when installing a service application.

The following tables list the members exposed by the ServiceProcessInstaller type.

(see also Protected Properties )
  Name Description
Public property Account Gets or sets the type of account under which to run this service application.
Public property Container  Gets the IContainer that contains the Component.(Inherited from Component.)
Public property Context  Gets or sets information about the current installation.(Inherited from Installer.)
Public property HelpText Overridden. Gets help text displayed for service installation options.
Public property Installers  Gets the collection of installers that this installer contains.(Inherited from Installer.)
Public property Parent  Gets or sets the installer containing the collection that this installer belongs to.(Inherited from Installer.)
Public property Password Gets or sets the password associated with the user account under which the service application runs.
Public property Site  Gets or sets the ISite of the Component.(Inherited from Component.)
Public property Username Gets or sets the user account under which the service application will run.
Top

  Name Description
Protected property CanRaiseEvents  Gets a value indicating whether the component can raise an event.(Inherited from Component.)
Protected property DesignMode  Gets a value that indicates whether the Component is currently in design mode.(Inherited from Component.)
Protected property Events  Gets the list of event handlers that are attached to this Component.(Inherited from Component.)
Top

(see also Protected Methods )
  Name Description
Public method Commit  When overridden in a derived class, completes the install transaction. (Inherited from Installer.)
Public method CopyFromComponent Overridden. Implements the base class ComponentInstaller.CopyFromComponent method with no ServiceProcessInstaller class-specific behavior.
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public method Dispose  Overloaded. Releases the resources used by the Component. (Inherited from Component.)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (Inherited from Object.)
Public method GetHashCode  Serves as a hash function for a particular type. GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from Object.)
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetType  Gets the Type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Install Overridden. Writes service application information to the registry. This method is meant to be used by installation tools, which call the appropriate methods automatically.
Public method IsEquivalentInstaller  Determines if the specified installer installs the same object as this installer. (Inherited from ComponentInstaller.)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (Inherited from Object.)
Public method Rollback Overridden. Rolls back service application information written to the registry by the installation procedure. This method is meant to be used by installation tools, which process the appropriate methods automatically.
Public method ToString  Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Public method Uninstall  When overridden in a derived class, removes an installation. (Inherited from Installer.)
Top

  Name Description
Protected method Dispose  Overloaded. Releases the resources used by the Component. (Inherited from Component.)
Protected method Finalize  Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Protected method GetService  Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Protected method MemberwiseClone  Overloaded. (Inherited from MarshalByRefObject.)
Protected method OnAfterInstall  Raises the AfterInstall event. (Inherited from Installer.)
Protected method OnAfterRollback  Raises the AfterRollback event. (Inherited from Installer.)
Protected method OnAfterUninstall  Raises the AfterUninstall event. (Inherited from Installer.)
Protected method OnBeforeInstall  Raises the BeforeInstall event. (Inherited from Installer.)
Protected method OnBeforeRollback  Raises the BeforeRollback event. (Inherited from Installer.)
Protected method OnBeforeUninstall  Raises the BeforeUninstall event. (Inherited from Installer.)
Protected method OnCommitted  Raises the Committed event. (Inherited from Installer.)
Protected method OnCommitting  Raises the Committing event. (Inherited from Installer.)
Top

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

Community Additions

ADD
Show:
© 2014 Microsoft