Class Installer
Installer class for common setup types. It is responsible for ensuring that W3SVC windows service is started after installation is complete.
Namespace: Nevatech.Vsb.Repository
Assembly: Nevatech.Vsb.Repository.dll
Syntax
public class Installer : Installer
Constructors
Installer()
Initialize an instance of Installer class
Declaration
public Installer()
Methods
Dispose(Boolean)
Clean up any resources being used.
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing | true if managed resources should be disposed; otherwise, false. |
OnAfterInstall(IDictionary)
Starts W3SVC Windows service after Installation.
Declaration
protected override void OnAfterInstall(IDictionary savedState)
Parameters
Type | Name | Description |
---|---|---|
IDictionary | savedState | An System.Collections.IDictionary that contains the state of the computer after all the installers contained in the System.Configuration.Install.Installer.Installers property have completed their installations. |
OnAfterUninstall(IDictionary)
Starts W3SVC Windows service after Uninstallation.
Declaration
protected override void OnAfterUninstall(IDictionary savedState)
Parameters
Type | Name | Description |
---|---|---|
IDictionary | savedState | An System.Collections.IDictionary that contains the state of the computer after all the installers contained in the System.Configuration.Install.Installer.Installers property are uninstalled. |
OnBeforeUninstall(IDictionary)
Cleans up.
Declaration
protected override void OnBeforeUninstall(IDictionary savedState)
Parameters
Type | Name | Description |
---|---|---|
IDictionary | savedState | An System.Collections.IDictionary that contains the state of the computer after all the installers contained in the System.Configuration.Install.Installer.Installers property have completed their installations. |