Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to run an executable file in Qt Installer Framework?

I have an executable file C:\CDM21226_Setup.exe which i want to run through Qt Installer Framework (QtIFW). Note that CDM21226_Setup.exe are the drivers not the application which i am going to install. I want to install the drivers through the installer first. I have tried following operation in component script but did not succeed.

  • component.addElevatedOperation("Execute", "C:/CDM21226_Setup.exe");
  • installer.execute("C:/CDM21226_Setup.exe");

If somebody knows how to run an exe file from Qt Installer Framework then please share here. I really need it but don't know how to do it. I am using Qt 5.7 on Windows 10.

like image 251
Shuji Avatar asked Oct 18 '25 19:10

Shuji


1 Answers

You can use installer.performOperation("Execute", ["C:/CDM21226_Setup.exe"]);

like image 92
Francuz Avatar answered Oct 21 '25 21:10

Francuz