On Apr 23, 2010, at 9:43 AM, Dave Carrigan wrote:
Have a look at the sparkle framework, for doing updates. I believe what it does is moves the app bundle to the trash then drops in the new app bundle.
+1. This is tricky to do right, and the fewer self-update frameworks there are, the better for everyone (including Apple as they deal with compatibility issues down the road.)
Just overwriting your app bundle while the app is running is likely to lead to trouble.
Indeed. Especially if something goes wrong halfway through, leaving your app bundle a chimera that won't launch, or even worse, does launch but misbehaves in subtle ways that generate lots of tech support issues for you.
—Jens_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com