site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com All, 1. I don't want my panicky users to see the error message 2. The error prevented the postflight script from executing Glenn Zelniker _______________________________________________ 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'm building an installation package and I've attempted using a Hints.plist file in the package's Resources folder to prevent the installer from deleting a file in one of the directories that gets used for part of the installation. Hints.plist looks like this: <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http:// www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <array> <array> <string>/Library/Application Support/This Particular Application/my- sqlite.db</string> <string>dontobsolete</string> </array> </array> </plist> In other words, I don't want the installer to trash the file my- sqlite.db in the /Library/Application Support/This Particular Application directory. This scheme *almost* works. Indeed, the file does not get deleted, as desired. But the installer generates an error, saying that some of the files may not have been installed. I can verify that all of the files were installed, so the "may" part of the error is technically true. But there are two bigger problems: Is there something I need to do to the pmproj file to prevent this error from being thrown? I'm not telling the pmproj about Hints.plist; I drop it into the .pkg manually after the fact because I don't really understand how to specify the stuff in the Hints file from within Package Maker. This email sent to site_archiver@lists.apple.com
participants (1)
-
Glenn Zelniker