Move NSClient++ installation step after all other wizard steps

refs #9263
This commit is contained in:
Gunnar Beutner 2015-06-15 13:43:29 +02:00
parent 6d37d0ab24
commit 93b0ab7893
1 changed files with 11 additions and 0 deletions

View File

@ -269,6 +269,17 @@ namespace Icinga
return;
}
if (chkInstallNSCP.Checked)
{
SetConfigureStatus(85, "Waiting for NSClient++ installation to complete...");
Process proc = new Process();
proc.StartInfo.FileName = "msiexec.exe";
proc.StartInfo.Arguments = "/i \"" + Program.Icinga2InstallDir + "\\sbin\\NSCP-Win32.msi\"";
proc.Start();
proc.WaitForExit();
}
SetConfigureStatus(100, "Finished.");
FinishConfigure();