01-16-2009 08:58 AM
Hi all.
My app uses files to store settings.
I would like to delete those files after a user uninstalls the application.
Is that possible ?
So I am not trying to invoke the uninstall process (because then I know the answer
. Instead, I would like my app to clean up after itself when leaving.
Solved! Go to Solution.
01-16-2009 09:20 AM
01-16-2009 09:23 AM
Thanks for the smile ![]()
01-19-2009 03:05 PM
For the record, here is a link to an DKB article that describes this.
How To - Handle stored data when removing an application
Article Number: DB-00424
01-20-2009 10:32 AM
Sorry to be such a noob, but could you please elaborate? I don't see the answer in the link (which I've read previously, of course).
My application (during it's work) deploys 20-30 setting files to the file system. ("file:///store/home/user/someFolder").
Is there a way to 'register' those files so that the native uninstaller knows that that specific folder/files should be removed?
OR
Is there a way to 'listen' to an uninstall event.
Is there a third way ?
(My app is a background app so I could register it as a listener to global events... if that might help)
01-22-2009 11:20 AM
01-23-2009 05:25 AM
Thank you for the answer.
I (reluctantly) accept it ![]()
02-25-2009 09:40 AM
I heard (and am looking for right now) about a way to receive an uninstall exception, so you can write your own handler to uninstall the files.
I'ts supposed to exist.....