60 lines
2.2 KiB
C#
60 lines
2.2 KiB
C#
namespace solarWinService
|
||
{
|
||
partial class ProjectInstaller
|
||
{
|
||
/// <summary>
|
||
/// 設計工具所需的變數。
|
||
/// </summary>
|
||
private System.ComponentModel.IContainer components = null;
|
||
|
||
/// <summary>
|
||
/// 清除任何使用中的資源。
|
||
/// </summary>
|
||
/// <param name="disposing">如果應該處置受控資源則為 true,否則為 false。</param>
|
||
protected override void Dispose(bool disposing)
|
||
{
|
||
if (disposing && (components != null))
|
||
{
|
||
components.Dispose();
|
||
}
|
||
base.Dispose(disposing);
|
||
}
|
||
|
||
#region 元件設計工具產生的程式碼
|
||
|
||
/// <summary>
|
||
/// 此為設計工具支援所需的方法 - 請勿使用程式碼編輯器修改
|
||
/// 這個方法的內容。
|
||
/// </summary>
|
||
private void InitializeComponent()
|
||
{
|
||
this.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
|
||
this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();
|
||
//
|
||
// serviceProcessInstaller1
|
||
//
|
||
this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalSystem;
|
||
this.serviceProcessInstaller1.Password = null;
|
||
this.serviceProcessInstaller1.Username = null;
|
||
//
|
||
// serviceInstaller1
|
||
//
|
||
this.serviceInstaller1.Description = "FIC 太陽能資料歸檔服務";
|
||
this.serviceInstaller1.DisplayName = "solar_archive";
|
||
this.serviceInstaller1.ServiceName = "solar_archive_v2";
|
||
this.serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
|
||
//
|
||
// ProjectInstaller
|
||
//
|
||
this.Installers.AddRange(new System.Configuration.Install.Installer[] {
|
||
this.serviceProcessInstaller1,
|
||
this.serviceInstaller1});
|
||
|
||
}
|
||
|
||
#endregion
|
||
|
||
private System.ServiceProcess.ServiceProcessInstaller serviceProcessInstaller1;
|
||
private System.ServiceProcess.ServiceInstaller serviceInstaller1;
|
||
}
|
||
} |