60 lines
2.2 KiB
C#
60 lines
2.2 KiB
C#
namespace WindowsService1
|
|
{
|
|
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.serviceProcessInstaller1 = new System.ServiceProcess.ServiceProcessInstaller();
|
|
this.serviceInstaller1 = new System.ServiceProcess.ServiceInstaller();
|
|
//
|
|
// serviceProcessInstaller1
|
|
//
|
|
this.serviceProcessInstaller1.Account = System.ServiceProcess.ServiceAccount.LocalService;
|
|
this.serviceProcessInstaller1.Password = null;
|
|
this.serviceProcessInstaller1.Username = null;
|
|
//
|
|
// serviceInstaller1
|
|
//
|
|
this.serviceInstaller1.ServiceName = "TCPServerService";
|
|
this.serviceInstaller1.StartType = System.ServiceProcess.ServiceStartMode.Automatic;
|
|
this.serviceInstaller1.AfterInstall += new System.Configuration.Install.InstallEventHandler(this.serviceInstaller1_AfterInstall);
|
|
//
|
|
// ProjectInstaller
|
|
//
|
|
this.Installers.AddRange(new System.Configuration.Install.Installer[] {
|
|
this.serviceProcessInstaller1,
|
|
this.serviceInstaller1});
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
private System.ServiceProcess.ServiceProcessInstaller serviceProcessInstaller1;
|
|
private System.ServiceProcess.ServiceInstaller serviceInstaller1;
|
|
|
|
}
|
|
} |