Important: Please read the Qt Code of Conduct -

Online installer error, "cannot retrieve remote tree."

  • I'm trying to release my project with an online installer and followed the online documentation:

    I have a working offline installer, and tried to use the tutorial example to see if I could get a working online installer with a online repository.

    My config.xml

    <?xml version="1.0" encoding="UTF-8"?>
    <Name>Your application</Name>
    <Title>Online Installer Test</Title>
    <Publisher>Your vendor</Publisher>
    <StartMenuDir>Super App</StartMenuDir>

    This is the command I use with the binarycreator tool:

    C:\Users\<username>\Desktop\tutorial>C:\Qt\QtIFW-3.0.2\bin\binarycreator.exe --online-only -c config/config.xml -p packages installer.exe

    The link points to a shared folder named "OnlineInstallerTest", containing Updates.xml and repo folder "com.vendor.product" with 3 7z zip files.

    When I run the installer, I get this error message: "cannot retrieve remote tree."

    I think the problem might be that I'm sharing my repo folder and the Updates.xml in a shared Google Drive folder, but I'm not sure if I have have configured the installer, xml files and repo folder correct.
    Any ideas on how I can get this working. Is it possible to use Google Drive or DropBox with Qt online installer? If not, any suggestion on other places to host a online repo?

    My goal is to have my project check for updates via maintenance tool when the program starts.

  • I gave up trying Google Drive or Dropbox. I believe the way they are sharing files is not suitable for this purpose.
    The solution was to register an account on, set the ftp address and login in the config file . Now it works, and when I update the repo with new content and increased version nr and check for updates via the maintenance tool, it updates the project successfully from the online repo.

  • Lifetime Qt Champion

    Cool. didnt know u could use ftp.
    Can user see this file ?
    Its more so account is not hijacked.

  • All you give to user is the generated installer executable, either directly or from download link. They will, as far as I have understood, not be able to see any of the config.xml file with the server url and login info as long as you only provide the installer file generated from binarycreator.exe
    I'm not finished learning and testing the installer framework yet, so I'm not familiar with all aspects of it.

  • Lifetime Qt Champion

    Me neither and hence my surprise you can use ftp also.
    I guess you are right and its encrypted in the exe.
    just wondered for a moment.
    Thank you for testing with surely will be handy for others to knowu can host there for free.

  • Hi guys!

    I'm trying to use with online installer. However, when installer tries to get the SHA1 for the first package, I get a "Permission Denied" error. If I try to download any file on the repo with Filezilla, I have no issues. This is my config.xml Repository section:


    Any Ideas? Thanks in advance!

Log in to reply