Re: Testing for downgrade in Distribution Scripts
Re: Testing for downgrade in Distribution Scripts
- Subject: Re: Testing for downgrade in Distribution Scripts
- From: Peter Bierman <email@hidden>
- Date: Wed, 20 Sep 2006 15:23:38 -0700
At 2:22 PM -0700 9/20/06, Sean P. Kane wrote:
Ok. I have a Distribution Script that among other things will install
Quicktime 7.1.3 if the system is > 10.4 and passes the following test:
! my.target.receiptForIdentifier('com.apple.pkg.QuickTime713')
This works ok, but I'm assuming that it will cause problems once a machine
has been upgraded to Quicktime 7.1.4. How do I update this to also ensure
that it is an upgrade (or to disallow downgrades)?
You are correct. Unfortunately, we're still trying to tidy up
packages here at Apple so that version numbers don't end up inside
package IDs. (Let this be a lesson for lurkers! Don't do that!)
Bill's suggestion of checking the version of the QuickTime framework
itself, instead of the package, is the right one. Sorry we sent you
on a bit of a snipe hunt.
-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