site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com So how can Installer.app know a metapackage has already been installed? _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... http://developer.apple.com/documentation/DeveloperTools/Conceptual/ SoftwareDistribution/index.html The documentation details in which order scripts are being run when a metapackage is installed for the first time and when a new version (for instance) is installed later. The point which is strange is related to the preupgrade, preinstall executions of script. I'm wondering how Installer.app can know a metapackage has already been installed and so executes the preupgrade and postupgrade scripts of the metapackage instead of the preinstall and postinstall scripts. Because AFAIK, the /Library/Receipts directory does not contain any receipt for metapackage. Deciding this from the fact that packages within the metapackage have already been installed may lead to incorrect conclusions since a package can be part of 2 different metapackages. This email sent to site_archiver@lists.apple.com