• 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: Moving oneself to /Applications (or ~/Applications)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Moving oneself to /Applications (or ~/Applications)


  • Subject: Re: Moving oneself to /Applications (or ~/Applications)
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 17 Feb 2009 23:39:48 -0700


On Feb 17, 2009, at 11:28 PM, Ben Lachman wrote:

I'm wanting to move away from DMGs to ZIP delivery. As part of this move I'd like to have my app, SousChef, prompt the user on first run to move itself to /Applications (or ~/Applications as appropriate). In a short search I can't find any code examples hanging about to do something like this. Would anyone mind sharing ideas/code on how to do this?


You can't safely move a running application; unless this problem was recently fixed, NSBundle doesn't update with new paths if you do that. Besides that, users should be able to run an application wherever they want to run the application, shouldn't they?

Nick Zitzmann
<http://www.chronosnet.com/>



_______________________________________________

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


References: 
 >Moving oneself to /Applications (or ~/Applications) (From: Ben Lachman <email@hidden>)

  • Prev by Date: Trying to open a file
  • Next by Date: Re: Moving oneself to /Applications (or ~/Applications)
  • Previous by thread: Moving oneself to /Applications (or ~/Applications)
  • Next by thread: Re: Moving oneself to /Applications (or ~/Applications)
  • Index(es):
    • Date
    • Thread