QT Installer Framework embedded archive files



  • 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



  • 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.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.