Qt Installer Framework: calling an installed exe at the beginning of uninstallation: how? addOperation won't work for that
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?