mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-29 02:18:07 +01:00
08741a1fa0
Signed-off-by: Cheng Zhang <cheng.zhang@citrix.com>
62 lines
2.9 KiB
C#
Executable File
62 lines
2.9 KiB
C#
Executable File
namespace XenServerHealthCheck
|
|
{
|
|
partial class ProjectInstaller
|
|
{
|
|
/// <summary>
|
|
/// Required designer variable.
|
|
/// </summary>
|
|
private System.ComponentModel.IContainer components = null;
|
|
|
|
/// <summary>
|
|
/// Clean up any resources being used.
|
|
/// </summary>
|
|
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
|
protected override void Dispose(bool disposing)
|
|
{
|
|
if (disposing && (components != null))
|
|
{
|
|
components.Dispose();
|
|
}
|
|
base.Dispose(disposing);
|
|
}
|
|
|
|
#region Component Designer generated code
|
|
|
|
/// <summary>
|
|
/// Required method for Designer support - do not modify
|
|
/// the contents of this method with the code editor.
|
|
/// </summary>
|
|
private void InitializeComponent()
|
|
{
|
|
this.XenServerHealthCheckInstaller = new System.ServiceProcess.ServiceInstaller();
|
|
this.XenServerHealthCheckProcessInstaller = new System.ServiceProcess.ServiceProcessInstaller();
|
|
//
|
|
// XenServerHealthCheckInstaller
|
|
//
|
|
this.XenServerHealthCheckInstaller.Description = Branding.COMPANY_NAME_SHORT + " " + Branding.PRODUCT_BRAND + " Health Check";
|
|
this.XenServerHealthCheckInstaller.DisplayName = Branding.COMPANY_NAME_SHORT + " " + Branding.PRODUCT_BRAND + " Health Check";
|
|
this.XenServerHealthCheckInstaller.ServiceName = Branding.PRODUCT_BRAND + "HealthCheck";
|
|
this.XenServerHealthCheckInstaller.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
|
|
this.XenServerHealthCheckInstaller.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.XenServerHealthCheckInstaller_AfterInstall);
|
|
//
|
|
// XenServerHealthCheckProcessInstaller
|
|
//
|
|
this.XenServerHealthCheckProcessInstaller.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
|
|
this.XenServerHealthCheckProcessInstaller.Password = null;
|
|
this.XenServerHealthCheckProcessInstaller.Username = null;
|
|
this.XenServerHealthCheckProcessInstaller.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.XenServerHealthCheckProcessInstaller_AfterInstall);
|
|
//
|
|
// ProjectInstaller
|
|
//
|
|
this.Installers.AddRange(new System.Configuration.Install.Installer[] {
|
|
this.XenServerHealthCheckInstaller,
|
|
this.XenServerHealthCheckProcessInstaller});
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.ServiceProcess.ServiceInstaller XenServerHealthCheckInstaller;
|
|
private System.ServiceProcess.ServiceProcessInstaller XenServerHealthCheckProcessInstaller;
|
|
}
|
|
} |