Important: Please read the Qt Code of Conduct -

Qt Installer Framework, error while testing repository

  • Hello everyone! I wonder, why there is such lack of information about QtIFM?
    So, basically I have successfully created offline installer, but now have some problem with online one.
    Here is my script for making repo:

    D:\Qt\QtIFW-3.0.6\bin\repogen.exe -p client\packages client\clientRepository

    This is for making installer:

    D:\Qt\QtIFW-3.0.6\bin\binarycreator.exe --online-only -c client\config\config_online.xml -p client\packages client\OnlineInstaller.exe

    The config_online.xml:

    <?xml version="1.0" encoding="UTF-8"?>
        <Name>4x4Basic name</Name>
        <Title>4x4Basic title</Title>
        <Publisher>The AlexLPN Company</Publisher>
                 <DisplayName>Example repository</DisplayName>

    The updates.xml:

    <?xml version="1.0" encoding="utf-8" ?> 
      <DisplayName>Basic4x4 component</DisplayName>
      <Description>This component is uncheckable.</Description>
      <UpdateFile UncompressedSize="56605917" CompressedSize="15509593" OS="Any"/>
       <License name="License agreement" file="license.txt"/>

    The package is uploaded to GitHub repository as ""
    right there are located Basic4x4 folder, Updates.xml and license.txt

    When I make the installer and try to test the repo, I get the error:
    Updates.xml: error occurred while parsing element

    So, either the location is wrong or some xml lines. Can someone please check or advice me something?
    Thank you!

  • I found a solution. The point was, that GitHub does not give you the real repository as it is given by some hosting, thus, the file indexing is not possible.

    I have created free hosting and uploaded repository there. After that everything works correctly.

  • For anyone who wants to find video tutorial for Qt Installer Framework check THIS out:

    It is in russian, but you can just copy the code from screen, since it is only about making installer for Hello world app.
    The author makes all the work using pro files and automates the process of compilation -> deployment -> repository creation -> offline\online intaller creation. And all this stuff just with one click. Looks like the best video about QtIFW (imho of course).

    All the best ^-^

Log in to reply