Пример #1
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");
     }
 }
Пример #2
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");
            }
        }
Пример #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");
       }
 }
Пример #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");
              }
        }