RE: Installer database for 10.6?
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AcqcHxcm60jjQNDyQIGdsrLokiXC4gB2xkQg Thread-topic: Installer database for 10.6? Thank you, this is just what I was looking for and solves my problem for 10.6. I am a bit confused though, as when I install on OSX 10.5 I don't see my package added, nor do I need to run --forget. That's fine, but you were implying this would happen with 10.5. Perhaps a later version (I am still on 10.5.5)? It isn't overly important as I can use --forget only if --pkgs lists my app. Also, the man page has this to say about --forget: 2. The --forget command is a debugging tool and should not be used routinely. There are better ways to permanently disable upgrade logic within a package. I can't seem to find any documentation on what these "better ways" are. It seems all of the "Software Distribution" page links get redirected right back to the Introduction page: http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptu... So if the answer was there, I can't access it. Dave -----Original Message----- From: Iceberg-Dev [mailto:dev.iceberg@gmail.com] Staring with Mac OS X 10.5, files installed through packages are registered in(to?) a (SQLite) database. You can access this database through the pkgutil tool. Usually, when you need to make the OS forget a package got installed, you use the following command: sudo pkgutil --forget my.package.identifier You need to run this as root. _______________________________________________ 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
participants (1)
-
David Litwin