RE: PackageMaker and Tiger/Leopard Packages
site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AclilKkG+G/k+l2KRCO/X5VNXHH/ggBqLwMg Thread-topic: PackageMaker and Tiger/Leopard Packages When PackageMaker creates your package, it will be creating it as a distribution package rather than a metapackage because it has requirements in it etc... There are 3 types of package, all the info can be found here; http://developer.apple.com/documentation/DeveloperTools/Conceptual/Softw areDistribution/Introduction/chapter_1_section_1.html In a distribution package, requirement checking is carried out by a XML and Javascript file called a .dist file which resides in the Contents folder of your package. When you add requirements in PackageMaker, it generates them into the .dist file as Javascript functions. More info on the XML .dist file and a Javascript reference can be found here; http://developer.apple.com/reference/DeveloperTools/idxFilesSoftwareInst allation-date.html#//apple_ref/doc/uid/TP30001281-TP30000436-TP30000524 Once PackageMaker creates these .dist files, it can often require some manual intervention to correct it's mistakes :o) -----Original Message----- From: installer-dev-bounces+david.glover=prometheanworld.com@lists.apple.com [mailto:installer-dev-bounces+david.glover=prometheanworld.com@lists.app le.com] On Behalf Of Adam Mercer Sent: 20 December 2008 11:18 To: Installer-Dev mailing-list Subject: Re: PackageMaker and Tiger/Leopard Packages On Fri, Dec 19, 2008 at 22:09, Iceberg-Dev <dev.iceberg@gmail.com> wrote:
If >= is the comparator you use in the Javascript requirement, this could be the origin of the issue. To compare OS version, you need to use the appropriate function: compareVersions.
Could you post your requirement to confirm this?
When building the meta-package in the requirements tab of the Leopard only package I add a check for System OS being greater or equal to 10.5.0, as shown in the following screen shot: <http://www.lsc-group.phys.uwm.edu/~ram/requirements.png> When building, and running, the installer on Leopard the Leopard only package is greyed out and not able to be selected: <http://www.lsc-group.phys.uwm.edu/~ram/installer.png> You mention Javascript, I'm not using Javascript to do a version check, how can I do this? Cheers Adam _______________________________________________ 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/david.glover%40prom etheanworld.com This email sent to david.glover@prometheanworld.com Promethean Limited is a company registered in England and Wales with company number 1308938 and VAT number GB 572 2599 18 ______________________________________________ Promethean Ltd and or associated and or subsidiary companies : The views expressed in this communication may not necessarily be the views held by Promethean Ltd and or associated and or subsidiary companies. This e-mail is for the exclusive use of the addressee(s). Unauthorised disclosure, copying or distribution is prohibited. This e-mail message has been swept for the presence of computer viruses. Promethean Ltd and or associated and or subsidiary companies accepts no liability for any loss resulting from this email transmission. Promethean, Promethean House, Lower Philips Road, Blackburn, Lancashire, BB1 5TH, UK. Please update your records accordingly. Thank you! ***************************************************************** This email has been checked by the e-Sweeper Service ***************************************************************** _______________________________________________ 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)
-
Glover,David