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 http://doc.qt.io/qtinstallerframework/ifw-component-description.html#data-directory
    So stupid mistake...

Log in to reply

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