Re: Moving oneself to /Applications (or ~/Applications)
Re: Moving oneself to /Applications (or ~/Applications)
- Subject: Re: Moving oneself to /Applications (or ~/Applications)
- From: Ben Lachman <email@hidden>
- Date: Sat, 21 Feb 2009 00:41:06 -0500
(Sorry lost track of this post... meant to follow up more quickly)
All I want to do is offer to move the app for the user, once. I have
no problem with anyone running the app from anywhere they'd like.
However, if you've ever looked at a novice user's computer you'll
notice that they often have applications peppered about their
downloads/desktop folder, etc. and that is where they use them from.
It's even worse for DMGs, I know plenty of people that always launch
firefox or whatever from the mounted disk image. This is counter
productive for everyone. Unless you have a reason not to, you should
probably have your applications in /Applications or ~/Applications.
So basically what I was thinking was something like this:
1) ask the user
2) copy the application package to the appropriate location
3) delete the original application
4) relaunch the new binary
5) quit the original
Sparkle does something like this for updates and Delicious Library 2
does pretty much exactly what I just described as far as I can tell.
->Ben
--
Ben Lachman
Acacia Tree Software
http://acaciatreesoftware.com
email: email@hidden
twitter: @benlachman
mobile: 740.590.0009
On Feb 18, 2009, at 1:52 AM, Jeff Johnson wrote:
Ben,
That's an odd request, because doesn't it make more sense to install
to /Applications if the app is running from /Volumes/MyDMG rather
than from ~/Downloads? :-) Indeed, one of the reasons to switch from
dmg to zip distribution is that the app disappears when the dmg is
unmounted.
-Jeff
On Feb 18, 2009, at 12:28 AM, Ben Lachman wrote:
Hi all:
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?
Thanks,
->Ben
_______________________________________________
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
_______________________________________________
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