private void btnNext_Click(object sender, EventArgs e) { DebugLog("Next Button Clicked"); if (InstallerEngine.CurrentPhase() == InstallerPhase.Initialized) { InstallerEngine.InstallAsync(); } else { InstallerEngine.EndInstallation(); } }
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"); } }