Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Installer Framework - Component Data
Forum Updated to NodeBB v4.3 + New Features

Qt Installer Framework - Component Data

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 139 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • T Offline
    T Offline
    TakenTheBacon
    wrote on last edited by
    #1

    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"]);
    }
    
    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved