site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Hello, When I double-click third_party.mpkg, it wants to install just fine. [508 sanford@PBG4 Resources/] ls -la -rwxr-xr-x 1 sanford staff 2192 Jun 1 10:04 InstallationCheck And inside: --- my $EXIT_VALUE = 0; { print "Doing checks\n"; # If 10.3 or better is booted, don't install this package. if(CheckVersion("$SYSTEM_VERS", "10.3", "ProductVersion", ">=")) { # exit silently print "Exiting silently\n"; $EXIT_VALUE = 64; last; } } exit($EXIT_VALUE); --- Thank you, Sanford _______________________________________________ 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... At 9:07 AM -0700 5/31/05, Sanford Selznick wrote: My installer needs to run on 10.2, 10.3, and 10.4. When my installer is run on 10.2, I need to install a second package. I have the second package (mpkg file) from a third party. I don't have the components of the second package. How do I build my installer so the third-party installer will only be executed on 10.2? Per an off-list recommendation, I put an InstallationCheck into the Resources folder of the third_party.mpkg. The script works when uttered from the command-line. Am I missing something? Shouldn't the InstallationCheck return value of 64 just quit? Or is this a .mpkg thing? I'm also not seeing "Doing checks" or "Exiting silently" in Console.app when I execute from the installer. This email sent to site_archiver@lists.apple.com