Re: documented way to find installation receipt?
Re: documented way to find installation receipt?
- Subject: Re: documented way to find installation receipt?
- From: Peter Bierman <email@hidden>
- Date: Thu, 9 Feb 2006 16:07:33 -0800
My plan is to find the installation receipt, i.e.
/Library/Receipts/SMART Board.pkg and use the Info.plist's
IFPkgRelocatedPath key to find where the software was installed and
then delete the files.
To my horror, I was playing around with the Installer and tried
installing the software in different locations, and it appears that
installation receipts are not always placed in /Library/Receipts.
Here is what I tried:
It's worse than that. Even if you find the receipt, the
IFPkgRelocatedPath key is NOT updated in the receipt to reflect the
actual location the software was installed at.
To answer your question directly: there is no supported way to find
an installation receipt. Installer receipts are not supported API,
their location and format are subject to change, have changed in the
past, and are likely to change in the future. Sorry.
You can safely search the obvious locations for receipts that you are
sure you know the structure of, but be prepared to deal with the
unexpected. In particular, browsing other people's receipts may be
particularly risky, since other software may have been installed
using different installer technologies, producing a receipt you are
unfamiliar with.
If you would like a supported API for exploring previously installed
software, please file an enhancement request.
-pmb
_______________________________________________
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