Re: Installer database for 10.6?
Re: Installer database for 10.6?
- Subject: Re: Installer database for 10.6?
- From: Iceberg-Dev <email@hidden>
- Date: Sat, 23 Jan 2010 12:27:43 +0100
On Jan 23, 2010, at 3:23 AM, David Litwin wrote:
I am having a problem on 10.6 with downgrading installs
(uninstalling then installing an older version, usually for QA to
properly test upgrade paths).
My current uninstall script removes my app files as well as /
Library/Preferences/com.myapp.plist and /Library/Receipts/
MyApp.pkg. On 10.3 – 10.5 I can then install an older version with
no problem, as all traces of the app are removed.
On 10.6 the installer nonetheless complains that a version on the
root volume is newer, but I don’t know where it is storing this
information about the version I just thought I deleted.
I see, in the installer log on an upgrade, some references to
installd and PackageKit “registering” bundles, but don’t know where
this information is being stored.
Any thoughts on what 10.6 is doing different and how I can make my
uninstaller remove that information as well?
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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden