Re: Gestalt help required with Iceberg
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com There is a more basic problem though: Instead use the three selectors: gestaltSystemVersionMajor = 'sys1', gestaltSystemVersionMinor = 'sys2', gestaltSystemVersionBugFix = 'sys3' 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... Am 21.05.2008 um 18:23 schrieb "Glover,David" <David.Glover@prometheanworld.com>: 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? 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! See the Gestalt Manager Reference for details. <http://developer.apple.com/documentation/Carbon/Reference/ Gestalt_Manager/> This email sent to site_archiver@lists.apple.com
participants (1)
-
Mike Fischer