Uninstall issue with different Installers
Posted 19 March 2007 - 10:42
I created an installer about a year back and it was deployed. Few of the clients were having uninstallation problems (getting catastrophic faliure error). Also there were many changes made over the year making the installer quite messy. I decided to re-write the Installer with the same Project GUID. The main difference between the two (old and new) installers is the set of components. Each has different components in it. Now the new installer is running correctly as long as I install a fresh copy, or modify the installation (installed with old installer), but it gives problem on uninstalling an installation of old installer. On debugging I found out that the OnMaintUIBefore function ends and without a delay, it takes me to the OnMoved event handler. The files that were installed by old installer are not removed from the system at all. Can you please assist me, what should I do to make it right.
Posted 20 March 2007 - 14:18
Posted 20 March 2007 - 14:23
Posted 22 March 2007 - 14:39
Personally, I go about things a different way to carry over components between installations, but given that you can't change the behavior of the old installer, that's not really an option in your case.
Therefore, I'm not sure exactly how to go about resolving this issue. However, it would seem that you would need to somehow enforce that the installation to be modified with the new installer before one could do an uninstallation.
Posted 22 March 2007 - 16:24
Posted 27 March 2007 - 21:10
Posted 28 March 2007 - 17:16