Re: How does installer decide what to install
Re: How does installer decide what to install
- Subject: Re: How does installer decide what to install
- From: Iceberg-Dev <email@hidden>
- Date: Thu, 28 Oct 2010 09:17:45 +0200
On Oct 28, 2010, at 2:39 AM, Monte Benaresh wrote:
Hello All,
Is anyone aware of a good work-around for this problem, other than
breaking up our metapackage into separate installs? Is there a
good way to use InstallationCheck or a preflight script to prevent
the user from installing an old version for one of N components?
We are using Iceberg, BTW.
It could be possible to do what the installation tools are probably
doing (the algorithm is probably a bit more simple/complex depending
on your point of view):
1. Check on which OS version you are.
2. If you are on Mac OS X 10.5.x or earlier, look for a receipt in
the /Library/Receipts folder (of the target volume) and use the
version in the Info.plist receipt for comparison.
3. If you are on Mac OS X 10.6.x or later, check if your package
bundle identifier is in the install data base and which version it is:
pkgutil --pkg-info your.bundle.identifier
and if it is use this version for comparison.
I haven't tried seeing if this would really work.
_______________________________________________
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