예제 #1
0
파일: Install.xaml.cs 프로젝트: sofluf/Osmo
        private void Setup_DoWork(object sender, DoWorkEventArgs e)
        {
            shortcut = window.ViewModel.GetComponent(ComponentType.SHORTCUT);
            CheckData();
            ExtractFiles();
            RegisterInRegistry();
            //CreateUninstaller();

            Aborted = setup.CancellationPending;
        }
예제 #2
0
파일: Install.xaml.cs 프로젝트: sofluf/Osmo
        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;
        }