Sanely namespaces the project

This commit is contained in:
Cyberboss
2017-11-12 23:48:49 -05:00
parent cc364a75d6
commit 6e54f622de
154 changed files with 2434 additions and 2434 deletions
+35
View File
@@ -0,0 +1,35 @@
using System.ComponentModel;
using System.Configuration.Install;
using System.ServiceProcess;
namespace TGS.Server.Service
{
/// <summary>
/// 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 sealed class ProjectInstaller : Installer
{
/// <summary>
/// Construct a <see cref="ProjectInstaller"/>
/// </summary>
public ProjectInstaller()
{
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
}
});
}
}
}