site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com The installer calls this "upgrade mode." _______________________________________________ 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... On Sep 12, 2006, at 9:41 AM, Eric Blanpied wrote: I'm updating a packagemaker installer that previously installed a set of three PPC QuickTime components to install the Universal version of the same software. The catch is that the new QT component is just one file, and the two that don't get replaced appear to be incompatible with the new code. So I need to look for the old components and delete them before installing. Can someone point me at an example along these lines? If you use the same package name (in Panther and older) or if you use the same CFBundleIdentifier (in Tiger and later), files that are in the receipt of the old package but not in the new package are removed. If you'd rather not rely on receipts being there, it's quite OK to delete files and folders during an executable that runs before installation or after installation. Apple frequently uses those kinds of scripts to clean up. Be very careful what you delete! These scripts are usually running as ROOT, so if the worst comes to worst, you might end up doing "rm - rf / My Volume Name/" The specifics of which executables are run when are documented in the "Software Delivery Guide": http://developer.apple.com/documentation/DeveloperTools/Conceptual/ SoftwareDistribution/index.html This email sent to site_archiver@lists.apple.com
participants (1)
-
Bill Coderre