Re: Check for file before installing
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On Sep 21, 2007, at 6:04 AM, annette.brooks@myob.com wrote: -==- Jack Repenning jackrepenning@tigris.org Project Owner SCPlugin http://scplugin.tigris.org "Subversion for the rest of OS X" _______________________________________________ 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... I am trying to figure out if there is a way to check for a certain font in Library/Fonts, and if not then install it. Problem is there is no receipt for it since it is a font that should have come standard with the OS, but could possibly have been deleted by the user. Only way I can see to check for the existence of a file is through receipts - is there another way? And is there a way to cancel this package of the metapackage if it finds it but continue on with the rest of the install? Your idea is deeper and more troublesome that you seem to suppose. If you do this, you will have created the situation where two different packages install the same file. No installer I know of handles this well. It would be better to do your check (in InstallationCheck) and fail the install with a helpful message (like "You appear to be missing some of your system fonts; please update the system package XYZ from your installation media."). This email sent to site_archiver@lists.apple.com
participants (1)
-
Jack Repenning