site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com The latter. On Jun 17, 2008, at 1:28 PM, Robert Kukuchka wrote: Quick question. I'm in the process of repackaging some drivers into a package. These drivers were previously deployed by another package. Will my new package have to delete the older receipts to allow upgrading of the content, or are receipts only compared to the same package name? There might be circumstances where packages are compared by Bundle ID, but I am not sure if those things actually happen. Anyway, when the installer finds a receipt with the same name (or Bundle ID?) it goes into "update mode." The "Install" button (until very recently) changes to say "Update," and the installer compares the bill of materials for this package with the bill of materials for the receipt, and anything in the receipt but not in the new package is deemed "obsolete" and deleted during installation. This is logged. Effectively this means that if you ship MyProduct.pkg, and you want to ship an upgrader package that does NOT contain all the files that were in the original package, DO NOT use the same name or bundle ID. At Apple, most packages follow the pattern: - iDVD.pkg (installs ALL of iDVD, is for iDVD 5, 6, 7) - iDVD_71.pkg (installs some files, which presumably upgrade some previous versions of iMovie to version 7.1) Rarely, in some unfortunate cases, things get so screwed up we delete the package receipts of old versions, presumably putting down a new receipt. Pretty often, we delete an entire app before installing a new copy. NOTE that we go pretty far to make sure we don't delete customer- generated stuff. So in the case of iDVD, we try pretty hard to preserve the "Themes," which are sometimes inside iDVD.app, because the customer might have paid money for them, or made them. However, this behavior is undocumented for obvious reasons. _______________________________________________ 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... This email sent to site_archiver@lists.apple.com