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: perms problem



OK, if you make a Mac OS 10.3-and-earlier compatible mpkg, which uses fields in the Info.plist to specify the two enclosed packages (in IFPkgFlagPackageList), the mpkg will specify the required privileges (root) as an Info.plist field (namely IFPkgFlagAuthorizationAction), which is static. 

In other words, in a 10.3-compatible mpkg, if anything is root, you always have to ask for root, even if don't end up installing that one thing. There's no better answer for 10.3 and previous.

10.4 and later mpkgs can use "distribution" files, in which each package specifies privileges and Installer.app does the right thing at runtime.

You can make a "hybrid" package which contains stuff in the Info.plist AND a distribution file. 10.0 - 10.3 ignores the distribution file, 10.4 and later uses the distribution and ignores (most of) the fields in the Info.plist.

Not sure if Iceberg does that.




On Feb 21, 2008, at 9:42 PM, Daniel Birns wrote:
I'm using Iceberg.  I created a project for a .mpkg, and imported 2 existing .pkg packages.  This works fine, but I have one problem:  one of the packages is optional and requires root perms (for a printer driver) and the other is required, but can be installed as a regular user.

The problem is that even when I deselect the optional package, it's always prompting for special perms.  Am I doing something wrong?

--Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/installer-dev/email@hidden

This email sent to email@hidden

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/installer-dev/email@hidden

This email sent to email@hidden

References: 
 >perms problem (From: Daniel Birns <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.