C# Class ExcelXLL.InstallerClass

Inheritance: System.Configuration.Install.Installer
Afficher le fichier Open project: ikhramts/NNX

Méthodes publiques

Méthode Description
Commit ( IDictionary savedState ) : void
Install ( IDictionary savedState ) : void
InstallerClass ( ) : Microsoft.Win32
Rollback ( IDictionary savedState ) : void
Uninstall ( IDictionary savedState ) : void
UpdateRegistry ( string szExcelVersion, bool bInstallTheAddin ) : void

Creates a registry string or deletes one in the context of registering an Excel Automation Addin written in C#

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Méthode Description
GetKeyName ( RegistryKey regKeyOptions, string szKeyNames, bool &bKeyExists ) : string

Retrieves an OPEN key from the list of Option keys. If no key exists, then the key will be OPEN.

InitializeComponent ( ) : void

Required method for Designer support - do not modify the contents of this method with the code editor.

MaintainRegistryKey ( bool bInsertKey ) : void
MyInstaller_Committed ( object sender, System.Configuration.Install.InstallEventArgs e ) : void
MyInstaller_Committing ( object sender, System.Configuration.Install.InstallEventArgs e ) : void

Method Details

Commit() public méthode

public Commit ( IDictionary savedState ) : void
savedState IDictionary
Résultat void

Dispose() protected méthode

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Résultat void

Install() public méthode

public Install ( IDictionary savedState ) : void
savedState IDictionary
Résultat void

InstallerClass() public méthode

public InstallerClass ( ) : Microsoft.Win32
Résultat Microsoft.Win32

Rollback() public méthode

public Rollback ( IDictionary savedState ) : void
savedState IDictionary
Résultat void

Uninstall() public méthode

public Uninstall ( IDictionary savedState ) : void
savedState IDictionary
Résultat void

UpdateRegistry() public méthode

Creates a registry string or deletes one in the context of registering an Excel Automation Addin written in C#
public UpdateRegistry ( string szExcelVersion, bool bInstallTheAddin ) : void
szExcelVersion string Number of Excel Version, e.g. 14.0 if Excel 2010
bInstallTheAddin bool true stands for installing, false stands for deinstalling
Résultat void