Distribution script problem
Distribution script problem
- Subject: Distribution script problem
- From: Atticus Gifford <email@hidden>
- Date: Thu, 25 Oct 2007 15:20:16 -0400
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:
function checkLeopardOrHigher() {
var result = false;
try {
result = my.target.systemVersion.ProductVersion >= '10.5';
} catch (e) {}
return result;
}
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:
"Error Reading Package
There was an error while evaluating JavaScript for the package."
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?
Thanks,
Atticus Gifford
_______________________________________________
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