• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: metapackage question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: metapackage question


  • Subject: Re: metapackage question
  • From: Iceberg-Dev <email@hidden>
  • Date: Fri, 10 Sep 2010 09:54:55 +0200


On Sep 9, 2010, at 5:05 PM, Ed Wahl wrote:

I have a metapackage containing two packages. One package installs a
driver and requires root permission to run, the other installs an app
and doesn't.

The package requiring root permission has an InstallCheck script which
returns failure if the driver is already on the system. On running the
meta package the InstallCheck is working and the root permission package
is marked "skip", and is not re-installed.


The intent of the design was that if the root-permission component is
already installed, the metapackage installer would skip it and not ask
for root permission.

The result is that even though installation of the root permission
package is skipped, the metapackage still does ask for root permission.
Is that just a limitation of packagemaker, or does anyone have
suggestions on how to make this work correctly?

It's how it works.

2 notes:

- I would rather not prevent the user from re-installing the driver if it's the same version. Because you can never know if an installed file is corrupted or not. Preventing installation of the package will prevent the user of fixing the file.

- I don't understand why it is not needed to request root permission to install the application. Unless you're installing the application in a user's directory, which I doubt since you're installing a kext, the application will be installed in /Applications and will be at least root:admin (root:wheel if you follow what Apple does on Mac OS X 10.6).

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >metapackage question (From: Ed Wahl <email@hidden>)

  • Prev by Date: metapackage question
  • Next by Date: Invitation to connect on LinkedIn
  • Previous by thread: metapackage question
  • Next by thread: Invitation to connect on LinkedIn
  • Index(es):
    • Date
    • Thread