Qt Installer Framework - Component Data
-
Hello,
I am trying to build my installer with an optional .exe for USB drivers. Everything is set up and working, except if I apply a script to my usbDriver component package.xml, the .exe never appears in the installation.
I cannot figure out what to add in the script to import that data?
Without the script tag in my .xml, the .exe file appears from its archive as normal, but obviously I cannot execute it from within the installer without the script
Any help much appreciated,
Thank you
component installercript.qs:
function Component () { } Component.prototype.createOperations = function() { // Run Installer exe console.log("Running Installer .exe"); component.addElevatedOperation("Execute", "@TargetDir@/CDM21228_Setup.exe", ["/passive", "/norestart"]); }