PDA

View Full Version : Debugging Uninstall Code



mtupps
07-29-2002, 09:47 AM
Hello all,

Not sure what is going on, but I am not able to debug/step thru my uninstall code.

I am on 7.04 using Standard Project.

I Have set "Enable Maintenance" = NO
I have also set EnableMaintenance= 0 in the setup.ini

Problem is when I choose to debug my uninstallation code I get the Maintenance Window.

I have removed all reference to OnMaintUIBefore & OnMaintUIAfter from my script.

This previously worked in 7.03.

Any thoughts?
Marie

mtupps
07-29-2002, 11:29 AM
More info: I went back to a previous install, opened it / updated it in 7.04 and guess what...
I CAN'T DEBUG THE UNINSTALL PROCESS

HELP
:(

mtupps
07-29-2002, 12:41 PM
Well, Now I am pretty sure that disabling Maintenance and using the "OnUninstall()" function is broken in 7.04.

My OnUninstall() code, was never getting called and therefore when uninstalling my service release the original system was never being restored.

I added OnMaintUIBefore & OnMaintUIAfter functions and physically called OnUninstall() and life is back to normal.

This really needs to be FIXED!!

Marie