C# Класс Com.Eucalyptus.Windows.EucaWindowsService.EucaWindowsServiceInstaller

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

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

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