From 1a8045b3eb9c4adcc298353d801508b8746dd9c9 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Tue, 14 Nov 2017 22:57:00 -0500 Subject: [PATCH 1/3] Fixes config directory not being created --- TGS.Server/Server.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/TGS.Server/Server.cs b/TGS.Server/Server.cs index 5098a590d7..b500bf3fa0 100644 --- a/TGS.Server/Server.cs +++ b/TGS.Server/Server.cs @@ -164,6 +164,7 @@ namespace TGS.Server /// void SetupConfig() { + Directory.CreateDirectory(DefaultConfigDirectory); try { Config = ServerConfig.Load(DefaultConfigDirectory); From ee341cb9be6f390502b3c4cd863c9d179464cf39 Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Tue, 14 Nov 2017 22:57:15 -0500 Subject: [PATCH 2/3] Fixes service name not being set --- TGS.Server.Service/Service.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/TGS.Server.Service/Service.cs b/TGS.Server.Service/Service.cs index af88d24b50..2314595060 100644 --- a/TGS.Server.Service/Service.cs +++ b/TGS.Server.Service/Service.cs @@ -19,6 +19,14 @@ namespace TGS.Server.Service /// Server activeServer; + /// + /// Constructs a + /// + Service() + { + ServiceName = "TG Station Server"; + } + /// public void WriteAccess(string username, bool authSuccess, byte loggingID) { From 0a3f804416c923a47bb317019f406bbf73aefcea Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Tue, 14 Nov 2017 22:59:25 -0500 Subject: [PATCH 3/3] Stops hiding the MSI UI --- TGS.Installer.UI/Main.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/TGS.Installer.UI/Main.cs b/TGS.Installer.UI/Main.cs index 324459bc99..5d33a7f5d0 100644 --- a/TGS.Installer.UI/Main.cs +++ b/TGS.Installer.UI/Main.cs @@ -384,7 +384,9 @@ namespace TGS.Installer.UI Microsoft.Deployment.WindowsInstaller.Installer.EnableLog(InstallLogModes.Verbose | InstallLogModes.PropertyDump, logfile); } var cl = String.Join(" ", args); - Microsoft.Deployment.WindowsInstaller.Installer.SetInternalUI(InstallUIOptions.Silent); + + // TODO: Uncomment this when OnUIUpdate is more robust + // Microsoft.Deployment.WindowsInstaller.Installer.SetInternalUI(InstallUIOptions.Silent); Microsoft.Deployment.WindowsInstaller.Installer.SetExternalUI(OnUIUpdate, InstallLogModes.Progress); await Task.Factory.StartNew(() => Microsoft.Deployment.WindowsInstaller.Installer.InstallProduct(msipath, cl));