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 How to removeall without removing the <TargetDir> and the launcher
Qt 6.11 is out! See what's new in the release blog

Qt Installer How to removeall without removing the <TargetDir> and the launcher

Scheduled Pinned Locked Moved Unsolved Installation and Deployment
1 Posts 1 Posters 210 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.
  • R Offline
    R Offline
    Romain_Lt
    wrote on last edited by
    #1

    I use an Installer not the maintenancetool.
    When an installation is already done. I use setPackageManager() to be able to removeAll.
    But when I removeAll then the installer in packageManager is deleted at the end. I would like to deactivate the deleting of the launcher at the end of the removeAll.
    Thanks.

    function Controller(){
    ....

    if (installer.fileExists(path + "/components.xml")) {
    	installer.setPackageManager();
    }
    

    ....
    }

    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