Unsolved QtIFw: Changes in installed setup
-
Hi,
i have an installation of my setup. Now, i notice, that there is a problem with the uninstalltion process, because i forgot a line or something else.
How can i change the base of the installation after the setup is already installed?For example::
Installed version:component.addElevatedOperation("Execute",[...]);
but it has to be:
component.addElevatedOperation("Execute",[...], "UNDOEXECUTE", [...]);
If the user uses the maintenane.exe and want to uninstall it, the first version will not work, because the UNDOEXECUTE part is missing.
Thank you for you help in advance.
-
Can't you go for the complete uninstall and reinstall with the corrected code?
It is probably the easiest way.
-
@koahnig It cannot be the only solution for updates, that you have to uninstall the complete installation. This is a big problem of the installation framework. Easy to use, easy to install, but hard to update.
I have a bigger setup and this is not suitable to uninstall and reinstall all components again.
Thank you for your help. :/
-
@Schenk said in QtIFw: Changes in installed setup:
@koahnig It cannot be the only solution for updates, that you have to uninstall the complete installation. This is a big problem of the installation framework. Easy to use, easy to install, but hard to update.
My comment was targeting more the obvious problem, that you apparently have to correct a wrongly used routine call. My impression was that this might be only on your machine.
I have a bigger setup and this is not suitable to uninstall and reinstall all components again.
I am completely agreeing with you. BTW I am not trying to defend IFW and its documentation. I have gotten my own share of frustration with IFW and its documentation. Therefore I am trying to keep it simple most of the time.