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 embedded archive files
Forum Updated to NodeBB v4.3 + New Features

QT Installer Framework embedded archive files

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 1 Posters 1.2k 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.
  • D Offline
    D Offline
    DStaelens
    wrote on last edited by
    #1

    Hi,
    I'm building an installer for a QT application using the QT Installer Framework, and one of the components that I've added to the installer contains a third party installer, and I added an operation to execute the third party installer if the user needs the component. So for example, I create a package called com.ms.net4, with a data directory that contains an exe called dotNet4_full_install.exe, and in the install script, have an operation to "Execute" @TargetDir@/dotNet4_full_install.exe.
    The issue is, when the QT installer extracts the files, it sees the third party installer as an archive even though it ends with a .EXE extension (this is windows os, and double clicking the above example launches .Net installation) and extracts all the files from that, which is not what is desired. I end up with a large number of directories and a Setup.exe, and no exe with the original file name. I only wish it to extract the exe file in original state into the target directory and execute the original exe file name in that target directory.

    Is there something I'm doing incorrectly, or is this a limitation of the framework?
    Thank you for your help,
    Dave

    1 Reply Last reply
    0
    • D Offline
      D Offline
      DStaelens
      wrote on last edited by
      #2

      I ended up modifying the source of the installer where it determines if a file is a directory or an archived file and checking for a .exe extension if it's in a Windows OS. Solved the problem, don't know if there's a better way, but it's a way.

      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