Метод | Описание | |
---|---|---|
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 |
public EucaWindowsServiceInstaller ( ) : System | ||
Результат | System |
protected OnAfterInstall ( IDictionary savedState ) : void | ||
savedState | IDictionary | |
Результат | void |
protected OnAfterRollback ( System savedState ) : void | ||
savedState | System | |
Результат | void |
protected OnAfterUninstall ( System savedState ) : void | ||
savedState | System | |
Результат | void |
protected OnBeforeInstall ( System savedState ) : void | ||
savedState | System | |
Результат | void |
protected OnBeforeRollback ( IDictionary savedState ) : void | ||
savedState | IDictionary | |
Результат | void |
protected OnBeforeUninstall ( IDictionary savedState ) : void | ||
savedState | IDictionary | |
Результат | void |