• 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
Reading on disk changes of Info.plist
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Reading on disk changes of Info.plist


  • Subject: Reading on disk changes of Info.plist
  • From: Daniel Harvey <email@hidden>
  • Date: Mon, 11 Aug 2008 15:40:35 -0700
  • Acceptlanguage: en-US
  • Thread-topic: Reading on disk changes of Info.plist

I’m working on a product that would like to be able to compare the installed version with the required version so it can give advice if users have an out of date loaded version, if the installed version is less than the version required they need to do an upgrade. If the installed version is greater than or equal to the requested version they need to restart the process.

 

Reading the Info.plist in the bundle doesn’t seem to be effective. I’m guessing that it is cached in memory, because changes on disk aren’t observed until the process restarts. I can read the Info.plist in the .pkg bundle in /Library/Receipts, but it is my understanding that whole Receipts folder may not be around in future releases.

 

My questions are, what is considered the best way to know the version of a bundle that gets updated while it’s loaded? Failing that are there any guarantees about how long /Library/Receipts will be around?

 _______________________________________________
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

  • Prev by Date: Re: osascript and Mac OS X v10.5.4
  • Next by Date: Re: osascript and Mac OS X v10.5.4
  • Previous by thread: Re: osascript and Mac OS X v10.5.4
  • Next by thread: plugin problems in Tiger
  • Index(es):
    • Date
    • Thread