site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com On Jan 3, 2006, at 4:59 PM, Kevin Hoyt wrote: Question 3: On the 'Global Scripts' pane there is a check box for 'Allow External Scripts'. This is not described in the help, what is it for? Chris Kevin Hoyt _______________________________________________ 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/ryanc%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... Hi all, I'm new to this so let's pretend that I've written a java script file for use with a distribution. Question 1: It looks like PackageMaker uses the .js and .plist files inside the PackageMaker.app/Resources folder. I'm betting I could put my new one there and it'd get picked up. However, the problem with this approach is that it's difficult to keep files outside of our source tree up to date. Is there another way to get PackageMaker to find where java scripts are located? Question 2: In PackageMaker, there is a 'Global Scripts' heading, is it possible to add another script section that is in another location? Global Scripts are sort of mistitled. In a distribution script you have a collection of scripts (in the <script> section). The global scripts list is just a list of all the functions available. You write all your scripts in the global list and then call the scripts from the installationCheck, VolumeCheck, or the choice scripts (selected,enabled,visible,start_*). It means that your script can call system.run() or system.runOnce() which will run an external executable. This flag allows the installer to know that an external executable is being run and to warn the user. If that check is not selected, the installer will not run system.run() functions. This email sent to ryanc@apple.com This email sent to site_archiver@lists.apple.com