site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com -pmb Thanks, Jin Begin forwarded message: From: Jin Lin <<mailto:jylin77@speakeasy.net>jylin77@speakeasy.net> Date: December 15, 2006 1:55:15 AM EST To: <mailto:installer-dev@lists.apple.com>installer-dev@lists.apple.com Subject: need help on creating distribution project Hello, function checkSystemversion() { var result = false; try { result = my.target.systemVersion.ProductVersion >= '10.4'; } catch (e) {} if(!result) { my.result.type = 'Fatal'; my.result.title = ''; my.result.message = ''; } return result; } Any help or suggestion is greatly appreciated. Thanks Jin _______________________________________________ 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/bierman%40apple.com _______________________________________________ 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... The installation check doesn't have a 'my.target' available, since it runs before the user picks a volume. At 2:02 AM -0500 12/15/06, Jin Lin wrote: I just found out that if I use that function as volume check script, then it works. I like to know if this is a bug or a feature? I am creating a distribution package with an installation check script ( checkSystemversion() - the one supplied by Package Maker). I tried the package on both PPC and Intel mac running 10.4.8, and I noticed that the value of result always set to false and generates error message. Is it a bug or did I do something wrong? This email sent to bierman@apple.com This email sent to site_archiver@lists.apple.com