mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 04:03:35 +02:00
Add UAC warning if install fails.
This commit is contained in:
parent
632f6647dd
commit
5ce02c23c7
2 changed files with 5 additions and 5 deletions
|
@ -172,11 +172,11 @@ void TestRunner::verifyInstallationSucceeded() {
|
||||||
// Exit if the executables are missing.
|
// Exit if the executables are missing.
|
||||||
// On Windows, the reason is probably that UAC has blocked the installation. This is treated as a critical error
|
// On Windows, the reason is probably that UAC has blocked the installation. This is treated as a critical error
|
||||||
#ifdef Q_OS_WIN
|
#ifdef Q_OS_WIN
|
||||||
QFileInfo interfacExe(QDir::toNativeSeparators(_installationFolder) + "\\interface.exe\"");
|
QFileInfo interfaceExe(QDir::toNativeSeparators(_installationFolder) + "\\interface.exe");
|
||||||
QFileInfo assignmentClientExe(QDir::toNativeSeparators(_installationFolder) + "\\assignment-client.exe\"");
|
QFileInfo assignmentClientExe(QDir::toNativeSeparators(_installationFolder) + "\\assignment-client.exe");
|
||||||
QFileInfo domainServerExe(QDir::toNativeSeparators(_installationFolder) + "\\domain-server.exe\"");
|
QFileInfo domainServerExe(QDir::toNativeSeparators(_installationFolder) + "\\domain-server.exe");
|
||||||
|
|
||||||
if (!interfacExe.exists() || !assignmentClientExe.exists() || !domainServerExe.exists()) {
|
if (!interfaceExe.exists() || !assignmentClientExe.exists() || !domainServerExe.exists()) {
|
||||||
QMessageBox::critical(0, "Installation of High Fidelity has failed", "Please verify that UAC has been disabled");
|
QMessageBox::critical(0, "Installation of High Fidelity has failed", "Please verify that UAC has been disabled");
|
||||||
exit(-1);
|
exit(-1);
|
||||||
}
|
}
|
||||||
|
|
|
@ -36,7 +36,7 @@ AutoTester::AutoTester(QWidget* parent) : QMainWindow(parent) {
|
||||||
_ui.statusLabel->setText("");
|
_ui.statusLabel->setText("");
|
||||||
_ui.plainTextEdit->setReadOnly(true);
|
_ui.plainTextEdit->setReadOnly(true);
|
||||||
|
|
||||||
setWindowTitle("Auto Tester - v4.5");
|
setWindowTitle("Auto Tester - v4.6");
|
||||||
|
|
||||||
// Coming soon to an auto-tester near you...
|
// Coming soon to an auto-tester near you...
|
||||||
//// _helpWindow.textBrowser->setText()
|
//// _helpWindow.textBrowser->setText()
|
||||||
|
|
Loading…
Reference in a new issue