• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Testing for downgrade in Distribution Scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Testing for downgrade in Distribution Scripts


  • Subject: Re: Testing for downgrade in Distribution Scripts
  • From: "Sean P. Kane" <email@hidden>
  • Date: Thu, 21 Sep 2006 07:18:04 -0700
  • Thread-topic: Testing for downgrade in Distribution Scripts

Title: Re: Testing for downgrade in Distribution Scripts
Can you show me an example of the _javascript_ you use for this? Also, How do you make sure they are only installing on the Startup Disk?

Thanks,
Sean

--
Sean P. Kane
Macintosh Client Engineering Support | Nike, Inc.
Affiliated Computer Services | Beaverton, Oregon



From: Bill Coderre <email@hidden>
Date: Wed, 20 Sep 2006 15:15:18 -0700
To: "Sean P. Kane" <email@hidden>
Cc: "email@hidden" <email@hidden>
Subject: Re: Testing for downgrade in Distribution Scripts

Here at Apple, in the iLife installer, I don't check receipt versions.

I check the version of 
/System/Library/Frameworks/QuickTime.framework

I make the assumption that the version of QuickTime is the version of that framework.


On Sep 20, 2006, at 2:22 PM, 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)?

I think it has something to do with choices.*.packageUpgradeAction, but I'm
not sure how to use it.

I apologize if this has been covered before, I have been unable to search
the archived reliably for 2 days now.

Thanks,
Sean

-- 
Sean P. Kane
Macintosh Client Engineering Support | Nike, Inc.
Affiliated Computer Services | Beaverton, Oregon 


 _______________________________________________
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
 


 _______________________________________________
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

  • Follow-Ups:
    • Re: Testing for downgrade in Distribution Scripts
      • From: Bill Coderre <email@hidden>
References: 
 >Re: Testing for downgrade in Distribution Scripts (From: Bill Coderre <email@hidden>)

  • Prev by Date: Re: Infinite loop between <choice> start_* attributes and mixed state aborted.
  • Next by Date: Distribution Scripts in Network Installs
  • Previous by thread: Re: Testing for downgrade in Distribution Scripts
  • Next by thread: Re: Testing for downgrade in Distribution Scripts
  • Index(es):
    • Date
    • Thread