private void Setup_DoWork(object sender, DoWorkEventArgs e) { shortcut = window.ViewModel.GetComponent(ComponentType.SHORTCUT); CheckData(); ExtractFiles(); RegisterInRegistry(); //CreateUninstaller(); Aborted = setup.CancellationPending; }
private void Setup_DoWork(object sender, DoWorkEventArgs e) { shortcut = window.ViewModel.GetComponent(ComponentType.SHORTCUT); CheckData(); if (!DownloadRuntime()) { SetStatusText("Unable to download files! Check your network connection."); } while (isDownloading) { Thread.Sleep(100); } ExtractFiles(); RegisterInRegistry(); CreateUninstaller(); Aborted = setup.CancellationPending; }