C# 클래스 ExcelXLL.InstallerClass

상속: System.Configuration.Install.Installer
파일 보기 프로젝트 열기: ikhramts/NNX

공개 메소드들

메소드 설명
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