private void btnNext_Click(object sender, EventArgs e) { DebugLog("Next Button Clicked"); if (InstallerEngine.CurrentPhase() == InstallerPhase.Initialized) { InstallerEngine.InstallAsync(); } else { InstallerEngine.EndInstallation(); } }
public void ShowCompleteDialog() { if (Program.m_options.SilentInstall) { InstallerEngine.EndInstallation(); } else { DebugLog("ShowCompleteDialog starting"); PanelComplete panel = new PanelComplete(); ShowPanel(panel); DebugLog("ShowCompleteDialog ending"); } }
public void ShowAlreadyInstalledDialog() { if (Program.m_options.SilentInstall) { InstallerEngine.EndInstallation(); } else { DebugLog("ShowAlreadyInstalledDialog starting"); PanelMessage panel = new PanelMessage(); panel.SetMessage("This package is already installed."); ShowPanel(panel); DebugLog("ShowAlreadyInstalledDialog ending"); } }
public void ShowErrorDialog(string message) { Logger.Log(LogLevel.Error, message); if (Program.m_options.SilentInstall) { InstallerEngine.EndInstallation(); } else { DebugLog("ShowErrorDialog starting"); PanelMessage panel = new PanelMessage(); panel.SetMessage(message); ShowPanel(panel); DebugLog("ShowErrorDialog ending"); } }