site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AcuHYZ2b1yPNOT2tRIqrFAHZhboo/g== Thread-topic: Gestalt help required with Iceberg Spotted the older thread on gestalt system versions below and hoping someone could advise a seemingly obvious issue... How do you get an installer to set a minimum target OS value of 10.5.8 if setting the "sys3" / bug fix value of "8" exceeds later OS values in 10.6.5? Appears these three values would have to be conditional, no? How is that accomplished via the interface provided in Iceberg? Cliff Hirtle University of CT Information Technology Services Re: Gestalt help required with Iceberg • Subject: Re: Gestalt help required with Iceberg • From: Mike Fischer <email@hidden> • Date: Wed, 21 May 2008 18:38:06 +0200 • Delivered-to: email@hidden • Delivered-to: email@hidden Am 21.05.2008 um 18:23 schrieb "Glover,David" <email@hidden>: I'm using Iceberg to create packages and only want some to be installed on certain versions of Mac OS. To do this I'm setting up some requirements that use gestalt to retrieve the system version - the only problem is that gestalt doesn't return 10.3.9 for example, but returns the value as 4153. And if you convert that decimal number to hex you get: 0x1039. Does that ring a bell? ;-) This is fine, but I cannot find what the gestalt value is for any other OS versions other than 10.3.9! Does anyone know this information, or point me in the right direction? There is a more basic problem though: You are using the gestaltSystemVersion ('sysv') selector. It only allows for single digit BCD BugFix parts of the version. So any version of Tiger after 10.4.9 can't be represented! Instead use the three selectors: gestaltSystemVersionMajor = 'sys1', gestaltSystemVersionMinor = 'sys2', gestaltSystemVersionBugFix = 'sys3' See the Gestalt Manager Reference for details. <http://developer.apple.com/documentation/Carbon/Reference/ Gestalt_Manager/> HTH Mike -- Mike Fischer Softwareentwicklung, EDV-Beratung Schulung, Vertrieb Note: I read this list in digest mode! Send me a private copy for faster responses. _______________________________________________ Do not post admin requests to the list. They will be ignored. Installer-dev mailing list (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com