Re: overwriting own bundle
Re: overwriting own bundle
- Subject: Re: overwriting own bundle
- From: "Paul Sanders" <email@hidden>
- Date: Fri, 23 Apr 2010 19:16:47 +0100
> Is it acceptable for an application to overwrite its own bundle, say as part of an update? Assuming of course that it can get any necessary elevated privileges? Or should I spawn a task that waits for the app to quit and then overwrite it?
Do you install from an mpkg? I just download that (well, the dmg), tell the user what's going to happen next and then mount the dmg (via hdiutil) and quit the App. Installer.app then does it's usual stuff. The welcome screen in my package says something like 'if you have an existing installation it will be upgraded'.
This makes the whole procedure very simple.
Paul Sanders.
_______________________________________________
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