Browse Source

Call system msiexec.exe directly

adaptive-webui-19844
Chocobo1 8 years ago
parent
commit
a64538b964
  1. 2
      src/gui/mainwindow.cpp

2
src/gui/mainwindow.cpp

@ -1772,7 +1772,7 @@ void MainWindow::pythonDownloadSuccess(const QString &url, const QString &filePa
QProcess installer; QProcess installer;
qDebug("Launching Python installer in passive mode..."); 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 // Wait for setup to complete
installer.waitForFinished(); installer.waitForFinished();

Loading…
Cancel
Save