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. How to start the maintenance tool directly with the update page?
Forum Updated to NodeBB v4.3 + New Features

How to start the maintenance tool directly with the update page?

Scheduled Pinned Locked Moved Installation and Deployment
qtifw
2 Posts 2 Posters 1.7k 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.
  • Z Offline
    Z Offline
    Zack
    wrote on last edited by
    #1

    I wan to start up the maintenance tool directly from my application, to configure updates.
    That means:
    1)
    I would like to start up the "maintenance" app without the two options: "uninstall" or "add components"
    The application should startup directly the update page.
    And it should be also not possible to return to the main page.

    How can I check with the maintenanc eapp, that an update is available?
    Something like a command when I start the process: "maintenance --check-for-update"
    And with the return value I know whether an update is available or not

    1 Reply Last reply
    0
    • N Offline
      N Offline
      niels
      wrote on last edited by
      #2

      Have a look at the Controlscript tutorial.

      There, check if
      installer.isUpdater()
      and then
      gui.clickButton(buttons.NextButton);
      on the introduction page.

      You might want to start the maintenancetool with --updater, so that the update functionality is preselected.

      This should give you a starting point.

      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