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: calling an installed exe at the beginning of uninstallation: how? addOperation won't work for that
Forum Updated to NodeBB v4.3 + New Features

Qt Installer Framework: calling an installed exe at the beginning of uninstallation: how? addOperation won't work for that

Scheduled Pinned Locked Moved Qt Creator and other tools
1 Posts 1 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.
  • M Offline
    M Offline
    MagnusE2
    wrote on last edited by
    #1

    Hi,

    I'm trying to get the uninstall of a qt-ifw based installer to call an exe (which was installed via that installer) for some rather complex system-specific device handling stuff that that exe manages. I tried to do that by adding an "Execute" operation with addElevatedOperation, which works fine for the installation side, but not for uninstallation:

    Half of the time, it looks as if the exe was already deleted before that operation is called.
    Indeed, the qtifw doc page about operations says "Note: Operations are performed threaded." which might explain that the file deletion might sometimes come before the execute operation. On the other hand, i see no way to control/synchronize the uninstallation operations so as to insure that that execute operation is finished before the exe is deleted, nor any other way to call that exe at the beginning of the uninstallation.

    I must be missing something here. So how can i get the uninstaller to call that exe before it deletes it?

    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