Re: Best approach to write an uninstaller for osx
Re: Best approach to write an uninstaller for osx
- Subject: Re: Best approach to write an uninstaller for osx
- From: Uli Kusterer <email@hidden>
- Date: Mon, 23 Nov 2009 01:26:46 +0100
On 22.11.2009, at 20:52, Jens Alfke wrote:
> On Nov 22, 2009, at 10:44 AM, Uli Kusterer wrote:
>> Well, you may want to quit your app before you delete it, though (and refuse to uninstall until the user has quit it). Files may only actually get deleted when they're closed, but all the resources in your file package will generally only be opened as needed, and will thus be deleted immediately. If a resource your app needs to save the currently open file or that's otherwise needed has already been deleted, you could corrupt user data.
>
> Hold on! No one said the app would delete itself; the uninstaller would delete the app, and then itself, and then presumably quit immediately.
What would you like me to hold on to? You'd still royally screw up the app if your installer deleted it while it's still running.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden