Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Installation and Deployment
  4. Qt Installer Framework for online updates
Qt 6.11 is out! See what's new in the release blog

Qt Installer Framework for online updates

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 397 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    St.Stanislav
    wrote on last edited by
    #1

    Hello everyone!

    I have faced with the problem and with the lack of detailed information (and examples) about online update with QtIF. What I have done and can do (Windows examples):

    1. Make offline installer, it's quite simple, just use something like this:
    <somepath>\binarycreator.exe -c build\installer\config\config.xml -p build\installer\packages build\installer\TestApp-0.1.1-x64-Setup-offline
    
    1. Create a repository (and publish it somewhere, e.g. localhost or external http server)
    <somepath>\repogen.exe -p build\installer\packages -i com.organization.TestApp --update build\repository 
    
    1. Create an online installer, just modifying the offline line:
    <somepath>\binarycreator.exe -p <somepath>\installerbase.exe -c build\installer\config\config.xml -p build\installer\packages -e com.organization.TestApp build\installer\TestApp-0.1.1-x64-Setup-online
    

    In this case my online installer catches all necessary packages that have been published somewhere and use it while installation. So repository and packages are generated well.

    But I can not get the correct workflow with a publishing updates. Let's suppose that I have new version of my perfect TestApp, lets say, 0.1.2. All config files where the version is used are being updated well. What is the correct way to update repositories? What command should be run? What flags should be used and what files should be updated in my repository? In the current case (after changing the version, building new installers and updating repository with step 2) the already installed application can not find any updates with the maintenancetool.exe that have been installed during the first installation of the version 0.1.1.

    I would be glad about any clarification (I have checked the all possible guides and documentation, but can not get the correct workflow).

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved