Merge pull request #371 from Cyberboss/MoreInstallerFixes

More installer fixes
This commit is contained in:
Jordan Brown
2017-11-14 23:42:45 -05:00
committed by GitHub
3 changed files with 12 additions and 1 deletions
+3 -1
View File
@@ -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));
+8
View File
@@ -19,6 +19,14 @@ namespace TGS.Server.Service
/// </summary>
Server activeServer;
/// <summary>
/// Constructs a <see cref="Service"/>
/// </summary>
Service()
{
ServiceName = "TG Station Server";
}
/// <inheritdoc />
public void WriteAccess(string username, bool authSuccess, byte loggingID)
{
+1
View File
@@ -164,6 +164,7 @@ namespace TGS.Server
/// </summary>
void SetupConfig()
{
Directory.CreateDirectory(DefaultConfigDirectory);
try
{
Config = ServerConfig.Load(DefaultConfigDirectory);