Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Application rights.




On May 22, 2008, at 8:43 AM, Eugen Belyakov wrote:

I want to create updater for my application. The problem is that application
can be update not by the user, that installed it. And updater application
won't be able to overwrite files. Is it possible to increase rights of my
application through authentification (like in Finder when performing
operations with files of other users)?


I would advice against trying to write your own installer / updater. This is very difficult to get right, even if you are an expert Mac OS X developer. It's not just a technical problem, you would also have to know about the guidelines for where files should be installed on Mac OS X, how users expect installers to work on Mac OS X, et.c.

I would suggest that you look at one of the existing updaters, like Sparkle:

	<http://sparkle.andymatuschak.org/>

Or to Apple's installer:

<http://developer.apple.com/documentation/DeveloperTools/Conceptual/PackageMakerUserGuide >
<http://developer.apple.com/documentation/DeveloperTools/Conceptual/SoftwareDistribution >


j o a r


_______________________________________________

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:
http://lists.apple.com/mailman/options/cocoa-dev/email@hidden

This email sent to email@hidden
References: 
 >Application rights. (From: "Eugen Belyakov" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.