Hello, Thank you for that bit of insight. I suppose then I could use xar to insert an xar compressed Scripts archive at the appropriate level, and then compress it again via xar. When I have some time I will try this out. Thank you, Philip Lukidis -----Original Message----- From: Stephane Sudre [mailto:dev.iceberg@gmail.com] Sent: Tuesday, July 31, 2012 5:33 PM To: Julian Devlin Cc: Philip Lukidis; Installer-dev@lists.apple.com Subject: Re: Flat Packages, Gatekeeper, and Resources [Philip Lukidis] [snip] InstallationCheck in distribution are usually achieved through JavaScript. That being said, there's a JavaScript API to run a shell script (or executable). The difficult part (at least with PackageMaker) is to embed the shell script or executable into the flat distribution. This requires to expand the flat distribution and then flatten it. The script or executable needs to be in a Scripts archive at the same level as the Resources folder. -- Packaging Resources - http://s.sudre.free.fr/Packaging.html _______________________________________________ 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: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com