Esempio n. 1
0
 private void btnNext_Click(object sender, EventArgs e)
 {
     DebugLog("Next Button Clicked");
     if (InstallerEngine.CurrentPhase() == InstallerPhase.Initialized)
     {
         InstallerEngine.InstallAsync();
     }
     else
     {
         InstallerEngine.EndInstallation();
     }
 }
Esempio n. 2
0
 public void ShowCompleteDialog()
 {
     if (Program.m_options.SilentInstall)
     {
         InstallerEngine.EndInstallation();
     }
     else
     {
         DebugLog("ShowCompleteDialog starting");
         PanelComplete panel = new PanelComplete();
         ShowPanel(panel);
         DebugLog("ShowCompleteDialog ending");
     }
 }
Esempio n. 3
0
 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");
     }
 }
Esempio n. 4
0
        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");
            }
        }