Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
qtws26_logo

The Qt Event of the Year: Qt World Summit 2026

Save Your Spot >
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Configure Uninstall using QTIFW
Qt 6.12 LTS is out! See what's new in the release blog

Configure Uninstall using QTIFW

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 770 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.
  • C Offline
    C Offline
    Christopher Dunn
    wrote on last edited by
    #1

    Hello,

    I am writing the install and uninstall components for my software using QTIFW.

    When I uninstall, currently the program and all of it's created data in AppData/roaming/ is removed.

    I would like to specify in the install script that certain directories and files should not be deleted during the uninstall, specifically the user's created data in AppData/roaming/

    There doesn't appear to be any way to do this, although this bug report (https://bugreports.qt.io/browse/QTIFW-596) suggests that the feature was implemented late 2014.

    I cannot find anything in the Qt Installer Framework documentation explaining how to do this (there is addition and removal of components only). If instructions do exist, could somebody please direct me to them?

    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
    • Unsolved