mirror of https://github.com/Icinga/icinga2.git
Move NSClient++ installation step after all other wizard steps
refs #9263
This commit is contained in:
parent
d904e171a5
commit
a0f7aa4fe6
|
@ -176,17 +176,6 @@ namespace Icinga
|
|||
|
||||
private void ConfigureService()
|
||||
{
|
||||
if (chkInstallNSCP.Checked)
|
||||
{
|
||||
SetConfigureStatus(0, "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(0, "Updating configuration files...");
|
||||
|
||||
string output;
|
||||
|
@ -260,6 +249,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();
|
||||
|
|
Loading…
Reference in New Issue