private void FinishStep_Entering(object sender, ChangeStepEventArgs e) { if (mode == InstallationMode.Uninstall) { label_Hint.Hide(); } }
private void FinishStep_Finish(object sender, ChangeStepEventArgs e) { if (cbRunNow.Checked) Process.Start(string.Format(Gui.Properties.Resources.FinishStepCommand, MsiConnection.Instance.GetPath("INSTALLLOCATION"))); if (cbRestartNow.Checked) SetupHelper.Restart(this, RestartOptions.Schedule | RestartOptions.NoAsk); }
private void FinishStep_Finish(object sender, ChangeStepEventArgs e) { if (cbRunNow.Checked) { Process.Start(string.Format(Gui.Properties.Resources.FinishStepCommand, MsiConnection.Instance.GetPath("INSTALLLOCATION"))); } }
private void FinishStep_Finish(object sender, ChangeStepEventArgs e) { if (mode == InstallationMode.Install || mode == InstallationMode.Upgrade) { LaunchWaveface(); } }
private void FinishStep_Finish(object sender, ChangeStepEventArgs e) { if (cbRunNow.Checked && cbRunNow.Visible) { var program = string.Format(Gui.Properties.Resources.FinishStepCommand, MsiConnection.Instance.GetPath("INSTALLLOCATION")); UACHelper.CreateProcessAsStandardUser(program, ""); } if (mode == InstallationMode.Install) { Microsoft.Win32.Registry.SetValue(@"HKEY_CURRENT_USER\Software\BunnyHome", "ResourceFolder", Wizard.GetVariable <string>("resourceFolder")); } }
private void InstallationLocationStep1_MoveNext(object sender, ChangeStepEventArgs e) { Wizard.SetVariable <string>("resourceFolder", location.Text); }
private void InstallationLocationStep1_Entering(object sender, ChangeStepEventArgs e) { location.Text = Path.Combine(Environment.GetEnvironmentVariable("UserProfile"), "Favorite Home"); }
private void InstallationModeStep_MoveNext(object sender, ChangeStepEventArgs e) { Wizard.LifecycleAction(LifecycleActionType.ModeSelected, imsModes.SelectedMode); }
private void InstallationLocationStep_Entering(object sender, ChangeStepEventArgs e) { //if (!Wizard.GetVariable<bool>("CustomInstallation")) // Wizard.ContinueMove(); }
private void InstallationModeStep_OnNext(object sender, ChangeStepEventArgs e) { Wizard.LifecycleAction(LifecycleActionType.ModeSelected, imsModes.SelectedMode); }
private void InstallationLocationStep_Entering(object sender, ChangeStepEventArgs e) { if (Globals.GetVariable<bool?>("CustomInstallation") == false) Wizard.ContinueMove(); }
private void FinishStep_Entering(object sender, ChangeStepEventArgs e) { cbRunNow.Visible = cbRunNow.Checked = Globals.GetVariable<bool>("AllowRunOnFinish") && !MsiConnection.Instance.RebootRequired; cbRestartNow.Visible = cbRestartNow.Checked = (MsiConnection.Instance.RebootRequired || PrerequisiteManager.Instance.GetProperty(StandardProperties.RebootRequired, false)) && !SetupHelper.GetCommandLineOption("sssp.norestart", false); }
private void WelcomeStep_OnNext(object sender, ChangeStepEventArgs e) { Wizard.LifecycleAction(LifecycleActionType.ModeSelected, mode); }
private void FinishStep_Entering(object sender, ChangeStepEventArgs e) { cbRunNow.Visible = Wizard.GetVariable <bool>("AllowRunOnFinish"); }
private void WelcomeStep_MoveNext(object sender, ChangeStepEventArgs e) { Wizard.LifecycleAction(LifecycleActionType.ModeSelected, mode); }