diff --git a/src/Tgstation.Server.Host.Service/Program.cs b/src/Tgstation.Server.Host.Service/Program.cs index f313cba287..62e4678903 100644 --- a/src/Tgstation.Server.Host.Service/Program.cs +++ b/src/Tgstation.Server.Host.Service/Program.cs @@ -136,7 +136,8 @@ namespace Tgstation.Server.Host.Service sc.Stop(); // And remove it - using (ServiceInstaller si = new ServiceInstaller()) { + using (ServiceInstaller si = new ServiceInstaller()) + { si.Context = new InstallContext($"old-{sc.ServiceName}-uninstall.log", null); si.ServiceName = ServerService.Name; si.Uninstall(null);