diff options
| author | Victor Tran <vicr12345@gmail.com> | 2018-07-13 21:43:04 +1000 |
|---|---|---|
| committer | Victor Tran <vicr12345@gmail.com> | 2018-07-13 21:43:04 +1000 |
| commit | a1e9542350cc617412781af88d5b33133d4be8f4 (patch) | |
| tree | 5991a21047b6ddad55a37b3baedcb45a3b5d91f9 /installer/mainwindow.cpp | |
| parent | b71215ec310ada0694dc76b812ddcaaca0263b4d (diff) | |
| download | theInstaller-a1e9542350cc617412781af88d5b33133d4be8f4.tar.gz theInstaller-a1e9542350cc617412781af88d5b33133d4be8f4.tar.bz2 theInstaller-a1e9542350cc617412781af88d5b33133d4be8f4.zip | |
Uninstall from Control Panel works now
Diffstat (limited to 'installer/mainwindow.cpp')
| -rw-r--r-- | installer/mainwindow.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/installer/mainwindow.cpp b/installer/mainwindow.cpp index b02c45f..1e9b207 100644 --- a/installer/mainwindow.cpp +++ b/installer/mainwindow.cpp @@ -206,7 +206,9 @@ void MainWindow::on_installButton_clicked() QStringList psArgs; psArgs.append("-FilePath \"" + QApplication::applicationFilePath() + "\""); psArgs.append("-ArgumentList (" + args.join(",") + ")"); - psArgs.append("-Verb runAs"); + if (ui->installEveryone->isChecked()) { + psArgs.append("-Verb runAs"); + } psArgs.append("-PassThru"); psArgs.append("-Wait"); |
