Re: Application rights.

2008-05-22 Thread Mark Munz
You should check out the Sparkle.framework (http://sparkle.andymatuschak.org/). This is a simple to use framework that makes adding automatic update support as easy as possible. It also handles the specific case of getting authorization to replace the application. -- Mark Munz unmarked software h

Re: Application rights.

2008-05-22 Thread Joseph Kelly
On Thu, May 22, 2008 at 12:08 PM, Joseph Kelly <[EMAIL PROTECTED]> wrote: Also a question: does anyone know of a Cocoa/obj-C wrapper around auth-framework? It might be a useful sort of project/tool ;-) I don't know what is meant by "auth-framework", but... To clarify, I meant Security.fr

Re: Application rights.

2008-05-22 Thread Sherm Pendley
On Thu, May 22, 2008 at 2:16 PM, Jerry Krinock <[EMAIL PROTECTED]> wrote: > > On 2008 May, 22, at 9:46, Sherm Pendley wrote: > > Apple provides an Objective-C interface. It lacks an >> AuthorizationExecuteWithPrivileges() method, but I think that Apple >> omitted >> that deliberately. >> > > Yes,

Re: Application rights.

2008-05-22 Thread Jerry Krinock
On 2008 May, 22, at 9:46, Sherm Pendley wrote: On Thu, May 22, 2008 at 12:08 PM, Joseph Kelly <[EMAIL PROTECTED]> wrote: Also a question: does anyone know of a Cocoa/obj-C wrapper around auth-framework? It might be a useful sort of project/tool ;-) I don't know what is meant by "auth-framew

Re: Application rights.

2008-05-22 Thread Sherm Pendley
On Thu, May 22, 2008 at 12:08 PM, Joseph Kelly <[EMAIL PROTECTED]> wrote: Is PackageMaker suitable for over-writing files of an existing install? The package installer explicitly supports upgrades. When a receipt is found for an earlier version of the package, the package is marked as "upgrade"

Re: Application rights.

2008-05-22 Thread j o a r
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 t

Re: Application rights.

2008-05-22 Thread Joseph Kelly
Is PackageMaker suitable for over-writing files of an existing install? It's got authentication built in. If that's not an option, I would recommend the crash course: http:// developer.apple.com/samplecode/BetterAuthorizationSample/index.html Also a question: does anyone know of a Cocoa/obj-

Re: Application rights.

2008-05-22 Thread Shawn Erickson
On Thu, May 22, 2008 at 8:43 AM, Eugen Belyakov <[EMAIL PROTECTED]> 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

Application rights.

2008-05-22 Thread Eugen Belyakov
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 opera