Method | Description | |
---|---|---|
EucaWindowsServiceInstaller ( ) : System |
Method | Description | |
---|---|---|
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 |
Method | Description | |
---|---|---|
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 | ||
return | System |
protected OnAfterInstall ( IDictionary savedState ) : void | ||
savedState | IDictionary | |
return | void |
protected OnAfterRollback ( System savedState ) : void | ||
savedState | System | |
return | void |
protected OnAfterUninstall ( System savedState ) : void | ||
savedState | System | |
return | void |
protected OnBeforeInstall ( System savedState ) : void | ||
savedState | System | |
return | void |
protected OnBeforeRollback ( IDictionary savedState ) : void | ||
savedState | IDictionary | |
return | void |
protected OnBeforeUninstall ( IDictionary savedState ) : void | ||
savedState | IDictionary | |
return | void |