C# Класс ExcelXLL.InstallerClass

Наследование: System.Configuration.Install.Installer
Показать файл Открыть проект

Открытые методы

Метод Описание
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#

Защищенные методы

Метод Описание
Dispose ( bool disposing ) : void

Clean up any resources being used.

Приватные методы

Метод Описание
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

Описание методов

Commit() публичный Метод

public Commit ( IDictionary savedState ) : void
savedState IDictionary
Результат void

Dispose() защищенный Метод

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
Результат void

Install() публичный Метод

public Install ( IDictionary savedState ) : void
savedState IDictionary
Результат void

InstallerClass() публичный Метод

public InstallerClass ( ) : Microsoft.Win32
Результат Microsoft.Win32

Rollback() публичный Метод

public Rollback ( IDictionary savedState ) : void
savedState IDictionary
Результат void

Uninstall() публичный Метод

public Uninstall ( IDictionary savedState ) : void
savedState IDictionary
Результат void

UpdateRegistry() публичный Метод

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
Результат void