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 - Removing the Maintenance Tool

Qt Installer Framework - Removing the Maintenance Tool

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
installerinstaller framemaintenancetool
3 Posts 3 Posters 2.1k 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.
  • T Offline
    T Offline
    Tsherr
    wrote on last edited by
    #1

    Hi there,

    I'm using the Qt Installer Framework (2.0.3) to create an installer my program. Everything works fine, and my program installs perfectly.

    However, I'd like to remove (or not install at all) the maintenance tool that is included by default. I have read the documentation and examples, and have searched the web but I haven't found any solutions to this problem. The closest thing I have found is the "MaintenanceToolName" element in the configuration file. I would have also expected an option to prevent the maintenance tool from being installed altogether. It would also be great if I could remove the Licenses folder too.

    So in short: Is there a way to remove or prevent the maintenance tool (and it's associated files) from being installed?

    Thanks!

    A 1 Reply Last reply
    0
    • T Tsherr

      Hi there,

      I'm using the Qt Installer Framework (2.0.3) to create an installer my program. Everything works fine, and my program installs perfectly.

      However, I'd like to remove (or not install at all) the maintenance tool that is included by default. I have read the documentation and examples, and have searched the web but I haven't found any solutions to this problem. The closest thing I have found is the "MaintenanceToolName" element in the configuration file. I would have also expected an option to prevent the maintenance tool from being installed altogether. It would also be great if I could remove the Licenses folder too.

      So in short: Is there a way to remove or prevent the maintenance tool (and it's associated files) from being installed?

      Thanks!

      A Offline
      A Offline
      aliks-os
      wrote on last edited by
      #2

      @Tsherr

      Hello, I have the same issue, tell me please, did you found solution for this problem?

      1 Reply Last reply
      0
      • H Offline
        H Offline
        hbatalha
        wrote on last edited by
        #3

        For new comers:

        I think you will have to build it from source in order to disable that option
        Go to the function void PackageManagerCore::writeMaintenanceTool() and and the function void PackageManagerCorePrivate::writeMaintenanceToolBinary() and just add a return in the beginning of the function to disable it and the maintenance tool won't be included.

        Worked for me, but it didn't reduce the size of the resulting installer as I was expecting though.

        1 Reply Last reply
        1

        • Login

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