Re: insufferable PackageMaker permissions defects
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On Jun 14, 2010, at 4:23 AM, Nick Peelman wrote:
The way I have always done it is with an InstallationCheck script. simply call `sw_vers -productVersion` to get the OS version.
Note that that call will get you the OS of the boot volume, not the target volume. A better solution would be to use a line like this: /usr/bin/defaults read "$3/System/Library/CoreServices/SystemVersion" ProductVersion This will get you the same result, but will work even in systems like InstaDMG or SIU. -- Karl Kuehn larkost@softhome.net _______________________________________________ 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
participants (1)
-
Karl Kuehn