ADC Home > Reference Library > Technical Q&As > Tools > Files & Software Installation >

PackageMaker's NeedsAuthorization value causes install to fail


Q: I created an installer package on Mac X 10.2 with PackageMaker 1.1.10; the install requires Admin Authorization, because I want to install into /Applications. The install authenticates for a non-Admin user and completes as expected on Mac OS 10.2, but on Mac OS 10.1 the install does not authenticate and halts with a "You do not have enough privileges to install..." message. What do I need to do to make this package work on Mac OS 10.1?

The Software Distribution document states that "Packages created with PackageMaker 1.1.10 (which first shipped with the December 2002 Developer Tools CD) will work with any version of Mac OS X."

A: You may have noticed that PackageMaker 1.1.10 creates both an Info.plist in your package's Contents directory, as well as a <PackageName>.info file in your package's Resource directory. The <PackageName>.info file provides the appropriate information for a Mac OS X 10.1 install. Change the following key value from

NeedsAuthorization NO

to

NeedsAuthorization YES

and your package will correctly request authorization on Mac OS 10.1.


[Aug 25, 2003]


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.