Esempio n. 1
0
        private void Setup_DoWork(object sender, DoWorkEventArgs e)
        {
            shortcut = window.ViewModel.GetComponent(ComponentType.SHORTCUT);
            CheckData();
            ExtractFiles();
            RegisterInRegistry();
            //CreateUninstaller();

            Aborted = setup.CancellationPending;
        }
Esempio n. 2
0
        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;
        }