• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: overwriting own bundle
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: overwriting own bundle


  • Subject: Re: overwriting own bundle
  • From: Dave Carrigan <email@hidden>
  • Date: Fri, 23 Apr 2010 09:43:49 -0700

On Apr 23, 2010, at 9:38 AM, Philip White wrote:

>  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?


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.

Just overwriting your app bundle while the app is running is likely to lead to trouble.

--
Dave Carrigan
email@hidden
Seattle, WA, USA

_______________________________________________

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

  • Follow-Ups:
    • Re: overwriting own bundle
      • From: Jens Alfke <email@hidden>
References: 
 >overwriting own bundle (From: Philip White <email@hidden>)

  • Prev by Date: overwriting own bundle
  • Next by Date: showing a list of mounted volumes with icon
  • Previous by thread: overwriting own bundle
  • Next by thread: Re: overwriting own bundle
  • Index(es):
    • Date
    • Thread