I have written a Qt application that downloads and then executes an MSI file. The execution is done via QProcess
and is using the information provided in this question.
Whenever I run it using QProcess
an exception is thrown:
Exception thrown: read access violation
which seems to be a rights management problem. However I don't know where the problem is exactly and how to fix it. Here is an example code snippet:
QProcess *process = new QProcess(this);
QString program = "file.msi";
QString folder = "C:\\Users\\user\\Downloads\\";
process->start(program, QStringList() << folder);