Merge pull request #5576 from Chocobo1/msiexec

Call system msiexec.exe directly
This commit is contained in:
sledgehammer999 2016-08-23 11:29:53 -05:00 committed by GitHub
commit 025ee32281
4 changed files with 19 additions and 8 deletions

View file

@ -1772,7 +1772,7 @@ void MainWindow::pythonDownloadSuccess(const QString &url, const QString &filePa
QProcess installer;
qDebug("Launching Python installer in passive mode...");
installer.start("msiexec.exe /passive /i " + Utils::Fs::toNativePath(filePath) + ".msi");
installer.start(Utils::Misc::windowsSystemPath() + "\\msiexec.exe /passive /i " + Utils::Fs::toNativePath(filePath) + ".msi");
// Wait for setup to complete
installer.waitForFinished();