Important: Please read the Qt Code of Conduct -

Qt installer framework doesn't extract archives

  • I have created two packages and in second of them following config:

    <?xml version="1.0" encoding="UTF-8"?>
            <DisplayName>Example of courses</DisplayName>
            <Description>Examples for demonstrating capabilities of program</Description>

    and following script:

    function Component()
        // default constructor
    Component.prototype.createOperationsForArchive = function(archive)
            component.addOperation("Extract", archive, "@TargetDir@/subdir/");

    But it just copies archive file(.zip) to @TargetDir@/subdir/
    TargetDir is program files if it does matter.

  • I have found solution. Qt installer framework doesn't work with .zip. Archive must be 7z
    So stupid mistake...

Log in to reply