Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Qt Installer Framework, updating the installer
Forum Updated to NodeBB v4.3 + New Features

Qt Installer Framework, updating the installer

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
3 Posts 2 Posters 1.9k 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.
  • L Offline
    L Offline
    luca
    wrote on last edited by
    #1

    Hi all,
    I'm distributing an application using Qt IFW with online custom repository.

    My applcation checks for update using maintenancetool and it works fine.

    Now I need to rebuild Qt IFW tools to use the latest Qt version but when I publish an update on the online repository it doesn't update local maintenancetool.
    The final user must uninstall application and reinstall with latest setup.exe to get the latest maintenancetool.

    Is there a way to update the tools without reinstalling application?

    Thanks

    1 Reply Last reply
    1
    • T Offline
      T Offline
      Tim.Jenssen
      wrote on last edited by Tim.Jenssen
      #2

      You need "installer.setInstallerBaseBinary" in your script file and you need to add the new version as data.

      Not sure that there is enough information about setInstallerBaseBinary in the documentation, but if there is something missing you can create a bugreport -> https://bugreports.qt.io

      Also you can look at https://github.com/qtproject/qtsdk/blob/master/packaging-tools/configurations/pkg_templates/pkg_tools/qt.tools.maintenance/meta/installscript.qs how it is done for the Qt installers.

      1 Reply Last reply
      0
      • L Offline
        L Offline
        luca
        wrote on last edited by
        #3

        Hi Tim,
        thanks for your reply.
        I didn't see setInstallerBaseBinary. It seems to be my solution.
        I only have a doubt. The .qs script you posted use the following:

        component.installerbaseBinaryPath = "@TargetDir@/tempSDKMaintenanceTool.exe";
        installer.setInstallerBaseBinary(component.installerbaseBinaryPath);
        

        I can't figure how to get my "new" tempSDKMaintenanceTool.exe to put in my data folder.
        The maintenancetool executeble is added to my target dir by the installer. I haven't that file before installing it.

        Should I install in a "test" machine to copy the new installer maintenacetool ?

        Thanks

        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