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 (Cocoa-dev@lists.apple.com)

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/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to