site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:in-reply-to:references :mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; bh=ThuR9ZLr18VYzfDgvZ+ewDRShUwBQDZrVUOcRD6Keus=; b=WDBCzqoSIsD6A9nKNeTd7r2oojl4tLuS3WHJzT+RAqtfyZRxsD7IWSGrtmpbedPmWS LJ2rfJpmoLXe2kqAgIf5GpzUEdom2N5zvr4/boOsVKGjy6BivKpj4v3lrbBNIfk+n3lf Y67YsKLKZ2UAGn3dMYa7kivPYnsiwiDA+r9cg= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=in-reply-to:references:mime-version:content-type:message-id:cc :content-transfer-encoding:from:subject:date:to:x-mailer; b=aIbB3TXzgveQNwncrv+wKywVdKIOvq6veXg2M/90TtNtAg8zPRmI/ReX6zCVlO+A4G UOPESiW09B84BqURHvIkbnzZJmQcPtDN7yH4fMGK/A0R7XNfEheg4WriBDdXHmWm7AQC UNw/vS0I6SF0g+REapvlAjczDJAbLblV5/1IE= On Jan 13, 2009, at 7:25 AM, Kevin Kicklighter wrote: On Jan 12, 2009, at 6:31 PM, dev.iceberg@gmail.com wrote: On Jan 12, 2009, at 6:52 AM, Kevin Kicklighter wrote: It's one of the approaches but others should work too. My $0.02 AFAIK, there are 2 kinds of requirements: - Choice requirements. These are defined in the distribution script too. _______________________________________________ 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 am running Leopard PackageMaker 3.0.2 (174) and am trying to use a Requirements script to test a condition prior to installing. PackageMaker lets me select "Result of Script" , I can choose my script to run and enter my failure message, title and Message. However, the actual script does not get included in the package that is built. Also, I'm using minimum Target of Mac OS X v10.5 Leopard which is a flat file approach so I don't see how/where the package can even get the script. I also read somewhere that adding scripts is not supported on this flat file format. It is. If you're using a shell script as your requirements, you will need to check that the flag that allows external script to be run is turned on. In previous PackageMaker 3.x version, it was not turned on. How do I turn it on? Switch to raw edition mode in PackageMaker, you should be able to see the option (in the first tags). After much reading of the mailing lists I decided to set the Minimum Target back down to Mac OS X v10.4 Tiger, and manually copied my script into the Resources folder that I created, and it worked. Is this really the approach we should take to include scripts in PackageMaker? Why does the UI allow me to choose the script that I run, but does not include it in the package? What am I missing? You should use the Flat Package Editor (*) utility to inspect the Flat metapackage (1) that was built by PackageMaker. The requirements are defined in the distribution script. (1) If you add a requirement (or a customized UI), PackageMaker will create a flat metapackage because requirements are not supported by flat package packages. Please clarify this. I think you CAN have requirements with the flat package, but not custom non-Javascript scripts. - InstallationCheck and VolumeCheck requirements. These are defined in the distribution script. This email sent to site_archiver@lists.apple.com