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. Customizing maintenance tool
Forum Updated to NodeBB v4.3 + New Features

Customizing maintenance tool

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
5 Posts 2 Posters 1.1k Views 1 Watching
  • 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.
  • D Offline
    D Offline
    DJ-Ogurt
    wrote on last edited by DJ-Ogurt
    #1

    Hey all,

    Is there a way to customize the buttons at the end of the maintenance tool? Currently I have it running and updating my program which is great, but at the end there are two options

    • Restart
    • Quit

    Right now restart restarts the maintenance tool and not my program which is a bit counter intuitive. I'd like to either remove the restart button or configure it to launch the new version of my program. All I can find about customizing maintenance tool is this
    https://doc.qt.io/qtinstallerframework/ifw-component-description.html
    which mentions an ini file, but doesn't link ot anything useful or even mention what the ini file does.

    1 Reply Last reply
    0
    • sierdzioS Offline
      sierdzioS Offline
      sierdzio
      Moderators
      wrote on last edited by
      #2

      I guess you can try hiding the button (or overriding it) by adding a custom controller to FinishedPage. https://doc.qt.io/qtinstallerframework/noninteractive.html

      (Z(:^

      D 1 Reply Last reply
      0
      • sierdzioS sierdzio

        I guess you can try hiding the button (or overriding it) by adding a custom controller to FinishedPage. https://doc.qt.io/qtinstallerframework/noninteractive.html

        D Offline
        D Offline
        DJ-Ogurt
        wrote on last edited by DJ-Ogurt
        #3

        @sierdzio
        Is there a better documentation source available for this?

        Edit: In particular adding the minimal control script

        function Controller()
        {
        }
        

        Prevents the installer from running.

        1 Reply Last reply
        0
        • sierdzioS Offline
          sierdzioS Offline
          sierdzio
          Moderators
          wrote on last edited by
          #4

          Nope. You can ask the developers on interest / develop mailing list, though. http://lists.qt-project.org/mailman/listinfo

          (Z(:^

          D 1 Reply Last reply
          0
          • sierdzioS sierdzio

            Nope. You can ask the developers on interest / develop mailing list, though. http://lists.qt-project.org/mailman/listinfo

            D Offline
            D Offline
            DJ-Ogurt
            wrote on last edited by
            #5

            @sierdzio 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