Unsolved [IFW] How did'nt remove moved file from SimpleMoveFile operation on uninstalling
-
Hi,
It's my first message on the forum.
I'm a little lost with Qt Installer Framework.
During the installation, I move shared files with SimpleMoveFile operation. During the uninstallation process, I need to not remove these files because it's common files used from other plugins. How I can bypass the deletion?
ThanksEdit:
Same problem here, but no solution: https://forum.qt.io/topic/81974/prevent-maintenance-tool-from-removing-copied-directories-during-uninstallationEdit2:
Finaly I decide to create my own operation like that:#pragma once #include <UpdateOperation> class MoveNoUninstallOperation : public KDUpdater::UpdateOperation { public: explicit MoveNoUninstallOperation(QInstaller::PackageManagerCore *core = 0); ~MoveNoUninstallOperation(); void backup(); bool performOperation(); bool undoOperation(); bool testOperation(); };
But #include <UpdateOperation> is not found. I found no information on the documentation about the module to add in the .pro in QT var.
Any help is welcom
Edit3: No include file found for ifw installation folder or in Qt directory
-
@sebastien247
Did you try settingRemoveTargetDir
tofalse
in your config.xml ? -
Thanks for your reply.
I just tried and obtained the same result.