site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com function checkLeopardOrHigher() { var result = false; try { result = my.target.systemVersion.ProductVersion >= '10.5'; } catch (e) {} return result; } "Error Reading Package There was an error while evaluating JavaScript for the package." Thanks, Atticus Gifford _______________________________________________ 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... I have a distribution installer that is giving me some trouble. I have three packages, two of which I want selected all the time. I'd only like to display (and select) the third package in the customize window on 10.5 and higher. I created a simple script in my global scripts like so: and then for each of start_selected, start_enabled and start_visible I set the value to "checkLeopardOrHigher()". This works fine on my machine and another test machine, but some of my testers have gotten an error: One user was on 10.4 and one was on 10.5. I got the same error earlier when I had a had a syntax error in my script. Does anyone have an idea what I might be doing wrong? This email sent to site_archiver@lists.apple.com
participants (1)
-
Atticus Gifford