// Token: 0x06000168 RID: 360 RVA: 0x000081E4 File Offset: 0x000063E4 private void BackgroundWorker_DoWork(object sender, DoWorkEventArgs e) { BackgroundWorker backgroundWorker = sender as BackgroundWorker; if (backgroundWorker.CancellationPending) { e.Cancel = true; return; } SetupWizard.PopulateWizard(this.pages, this.theApp); }
// Token: 0x060001CF RID: 463 RVA: 0x0000A9E0 File Offset: 0x00008BE0 public SetupWizard(SetupBase theApp, bool updates, bool isExchangeInstalled) { base.Name = "SetupWizard"; this.Text = Strings.SetupWizardCaption; this.InitializeComponent(); base.SetBtnNextText(Strings.btnNext); base.SetBtnPreviousText(Strings.btnPrevious); base.SetCancelMessageBoxMessage(Strings.CancelMessageBoxMessage); base.SetPrintErrorMessageBoxMessage(Strings.SetupFailedPrintDocument); base.SetBrowserLaunchErrorMessage(Strings.BrowserLaunchError); int num = 23; if (num > 0) { base.SetExchangeServerLabel(Strings.MESICumulativeUpdate(Strings.MicrosoftExchangeServer, num)); } else { base.SetExchangeServerLabel(Strings.MESI(Strings.MicrosoftExchangeServer)); } HelpProvider.Initialize(HelpProvider.HelpAppName.Setup); base.HelpUrlGenerator = this; SetupWizard.IsPartiallyConfigured = this.IsRolesPartiallyConfigured(isExchangeInstalled); if (SetupWizard.IsPartiallyConfigured && ((SetupOperations)theApp.ParsedArguments["mode"] == SetupOperations.Install || (SetupOperations)theApp.ParsedArguments["mode"] == SetupOperations.Upgrade)) { SetupWizard.PopulateWizard(base.Pages, theApp); return; } if (theApp.ParsedArguments.ContainsKey("mode") && (((SetupOperations)theApp.ParsedArguments["mode"] == SetupOperations.Install && !isExchangeInstalled) || (SetupOperations)theApp.ParsedArguments["mode"] == SetupOperations.Upgrade)) { if (updates) { base.Pages.Add(new CheckForUpdatesPage()); base.Pages.Add(new UpdatesDownloadsPage(theApp)); } base.Pages.Add(new CopyFilesPage(theApp)); base.Pages.Add(new InitializingSetupPage(base.Pages, theApp)); return; } SetupWizard.PopulateWizard(base.Pages, theApp); }