C# Class MySql.Web.Security.CustomInstaller

Inheritance: System.Configuration.Install.Installer
Mostrar archivo Open project: elevate/mysqlconnector-.net

Public Methods

Method Description
Install ( IDictionary stateSaver ) : void

When overridden in a derived class, performs the installation.

Uninstall ( IDictionary savedState ) : void

When overridden in a derived class, removes an installation.

Private Methods

Method Description
AddDefaultConnectionString ( XmlDocument doc ) : void
AddMembershipProvider ( XmlDocument doc ) : void
AddProfileProvider ( XmlDocument doc ) : void
AddProviderToMachineConfig ( ) : void
AddProviderToMachineConfigInDir ( string path ) : void
AddRoleProvider ( XmlDocument doc ) : void
RemoveDefaultConnectionString ( XmlDocument doc ) : void
RemoveMembershipProvider ( XmlDocument doc ) : void
RemoveProfileProvider ( XmlDocument doc ) : void
RemoveProviderFromMachineConfig ( ) : void
RemoveProviderFromMachineConfigInDir ( string path ) : void
RemoveRoleProvider ( XmlDocument doc ) : void
UpdateMachineConfigs ( string rootPath, bool add ) : void

Method Details

Install() public method

When overridden in a derived class, performs the installation.
/// The parameter is null. /// /// An exception occurred in the event handler of one of the installers in the collection. /// -or- /// An exception occurred in the event handler of one of the installers in the collection. ///
public Install ( IDictionary stateSaver ) : void
stateSaver IDictionary An used to save information needed to perform a commit, rollback, or uninstall operation.
return void

Uninstall() public method

When overridden in a derived class, removes an installation.
/// The saved-state might have been corrupted. /// /// An exception occurred while uninstalling. This exception is ignored and the uninstall continues. However, the application might not be fully uninstalled after the uninstallation completes. ///
public Uninstall ( IDictionary savedState ) : void
savedState IDictionary An that contains the state of the computer after the installation was complete.
return void