예제 #1
0
 private void btnNext_Click(object sender, EventArgs e)
 {
     DebugLog("Next Button Clicked");
     if (InstallerEngine.CurrentPhase() == InstallerPhase.Initialized)
     {
         InstallerEngine.InstallAsync();
     }
     else
     {
         InstallerEngine.EndInstallation();
     }
 }
예제 #2
0
 public void ShowWelcomeDialog()
 {
     if (Program.m_options.SilentInstall)
     {
         InstallerEngine.InstallAsync();
     }
     else
     {
         DebugLog("ShowWelcomeDialog starting");
         PanelWelcome panel = new PanelWelcome();
         panel.SetTitle(InstallerEngine.PackageTitle);
         ShowPanel(panel);
         DebugLog("ShowWelcomeDialog ending");
     }
 }