C# 클래스 Com.Eucalyptus.Windows.EucaWindowsService.EucaWindowsServiceInstaller

상속: System.Configuration.Install.Installer
파일 보기 프로젝트 열기: eucalyptus/windows-integration

공개 메소드들

메소드 설명
EucaWindowsServiceInstaller ( ) : System

보호된 메소드들

메소드 설명
OnAfterInstall ( IDictionary savedState ) : void
OnAfterRollback ( System savedState ) : void
OnAfterUninstall ( System savedState ) : void
OnBeforeInstall ( System savedState ) : void

two privileges are required to run the service: change admin's password and reboot by default, the local system can set the admin's password. It also has the privilege to reboot, but it's not enabled by default. So here the code includes the win32-way to "enable" that privilege.

OnBeforeRollback ( IDictionary savedState ) : void
OnBeforeUninstall ( IDictionary savedState ) : void

비공개 메소드들

메소드 설명
AddEucalyptusToAdministrators ( ) : void
CreateEucalyptusAccount ( ) : string
DeleteEucalyptusAccount ( ) : void
ExistAccount ( ) : bool
LaunchEucaPostInstaller ( string exe, string arg ) : int
Log ( string msg ) : void
LogFailure ( string msg ) : void
QueryLocalWMICollection ( string query ) : System.Management.ManagementObjectCollection

메소드 상세

EucaWindowsServiceInstaller() 공개 메소드

public EucaWindowsServiceInstaller ( ) : System
리턴 System

OnAfterInstall() 보호된 메소드

protected OnAfterInstall ( IDictionary savedState ) : void
savedState IDictionary
리턴 void

OnAfterRollback() 보호된 메소드

protected OnAfterRollback ( System savedState ) : void
savedState System
리턴 void

OnAfterUninstall() 보호된 메소드

protected OnAfterUninstall ( System savedState ) : void
savedState System
리턴 void

OnBeforeInstall() 보호된 메소드

two privileges are required to run the service: change admin's password and reboot by default, the local system can set the admin's password. It also has the privilege to reboot, but it's not enabled by default. So here the code includes the win32-way to "enable" that privilege.
protected OnBeforeInstall ( System savedState ) : void
savedState System
리턴 void

OnBeforeRollback() 보호된 메소드

protected OnBeforeRollback ( IDictionary savedState ) : void
savedState IDictionary
리턴 void

OnBeforeUninstall() 보호된 메소드

protected OnBeforeUninstall ( IDictionary savedState ) : void
savedState IDictionary
리턴 void