I wish to run an application on the uninstallation of my main application. The app which should run just asks the user if they wish to remove any files which have been created and will not be uninstalled by default.
The problem i have is, that when i uninstall the application, the clean up app seems to run, but fails immediately, and then the uninstall continues as normal. If i run the clean up app as a standalone app (through the application menu) then it runs fine. It appears that the problem lies in the call to BaseConstructL() in the Cleanup apps AppUi::ConstructL. This seems to leave and causes my cleanup app not to run on uninstall (even though it runs fine when run as a normal app and not during uninstalls).
Why would running an app on uninstall cause the BaseConstructL to leave? Anyone seen anything similar? And know how to get around this issue?