Stops hiding the MSI UI

This commit is contained in:
Cyberboss
2017-11-14 23:01:02 -05:00
parent ee341cb9be
commit 0a3f804416
+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));