Removes useless designer files

This commit is contained in:
Cyberboss
2017-10-24 14:11:29 -04:00
parent 8d378e9f27
commit 6b31504baf
7 changed files with 19 additions and 376 deletions
+17 -2
View File
@@ -1,10 +1,11 @@
using System.ComponentModel;
using System.Configuration.Install;
using System.ServiceProcess;
namespace TGServerService
{
/// <summary>
/// This tells the .msi there is a Windows <see cref="System.ServiceProcess.ServiceBase"/> in this <see cref="System.Reflection.Assembly"/> that needs installation
/// This tells the .msi there is a Windows <see cref="ServiceBase"/> in this <see cref="System.Reflection.Assembly"/> that needs installation
/// </summary>
[RunInstaller(true)]
public partial class ProjectInstaller : Installer
@@ -14,7 +15,21 @@ namespace TGServerService
/// </summary>
public ProjectInstaller()
{
InitializeComponent();
Installers.AddRange(new Installer[] {
new ServiceProcessInstaller
{
Account = ServiceAccount.LocalSystem,
Password = null,
Username = null
},
new ServiceInstaller
{
Description = "/tg/station Server Service",
DisplayName = "TG Station Server",
ServiceName = "TG Station Server",
StartType = ServiceStartMode.Automatic
}
});
}
}
}