PDA

View Full Version : How can I run more code on uninstallation after reboot?



draby1
05-26-2004, 01:48 PM
I really need to run some additional clean-up code AFTER the reboot on an uninstallation. I have tried adding code to be run if in MAINTENANCE mode in the OnRebooted() function (like If MAINTENANCE Then ...), but it appears that OnRebooted() is never reached at all when running an uninstallation...

Any suggestions?

Thanks very much...
-draby

Buildmaster
05-28-2004, 08:08 AM
Hello draby,

I suppose that there is no chance to run your installation script after removing the installation.
My suggestion is to put your clean up code into a batchfile and start this using the "RunOnce" registry key.

Regards,
Buildmaster

draby1
05-28-2004, 01:55 PM
Yeah, if a batch file is all I can do, then okay - thank you for the help.

-Darrell