我有一个可执行文件C:\CDM21226_Setup.exe,我想通过Qt Installer Framework (QtIFW)运行它。请注意,CDM21226_Setup.exe是驱动程序,而不是我要安装的应用程序。我想先通过安装程序安装驱动程序。我尝试过在组件脚本中添加以下操作,但没有成功。
我正在使用Windows 10上的Qt 5.7。
- component.addElevatedOperation("Execute", "C:/CDM21226_Setup.exe");
- installer.execute("C:/CDM21226_Setup.exe");
我正在使用Windows 10上的Qt 5.7。