_______________________________________________ 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 See page 70 in in the Casper Administrators Guide, to set a preflight script in your Composer package. Hasaan Herrington Technical Support III Information Technology Sent from my mobile device -----Original message----- From: George Spiese <gspiese@csc.com> To: Herrington_Hasaan <herrington_hasaan@asdk12.org> Sent: Wed, Jun 20, 2012 17:49:01 GMT+00:00 Subject: Re: PackageMaker & a Script I first tried it in Casper Composer, but had no success with placing a script that fired when delivered. Their Discussions folk suggested PackageMaker which is where I am now with this little project. I'd much rather continue using Composer as the tool for making Packages. I am glad yours worked flawlessly, can you tell me where you placed the script and any other step-by-step instruction for me to get mine to also run flawlessly? Thanks, George Spiese From: Herrington_Hasaan <herrington_hasaan@asdk12.org> To: George Spiese/USA/SC/CSC@CSC, Date: 06/20/2012 10:55 AM Subject: Re: PackageMaker & a Script ________________________________ Hey George, I just did the same process you outlined yesterday using Composer from the Casper Suite, used a preflight script to remove existing files, installed the adobe flash. Pkg and my edited .cfg file. The process worked flawlessly. Hasaan Herrington Technical Support III Information Technology Sent from my mobile device -----Original message----- From: George Spiese <gspiese@csc.com> To: "installer-dev@lists.apple.com" <installer-dev@lists.apple.com> Sent: Wed, Jun 20, 2012 14:05:03 GMT+00:00 Subject: PackageMaker & a Script I am using Apple's PackageMaker v3.0.5 to create a mpkg file that contains three items: •A shell script •An Adobe Flash Player .pkg file •A .cfg file Everything works except the script. How do I get this script to fire when sending to a remote Mac? Each item works when tested individually. The test was using Casper Suite's Casper Remote to send each to a remote Mac. The shell script sent, unpackaged fires and deletes three files on the remote Mac, just fine. The adobe Flash .pkg sent the same way installs the Flash Plugin and daemon as expected. The file is the mms.cfg. File that the Adobe Software Update Daemon reads. I've changed the settings of this file to what I want it to be. This file gets placed where I've indicated in the destination field of PackageMaker. I have changed the permissions on the script to Owner=root and Group=admin which had no affect. The script isn't running. I need to know where in PackageMaker to place the script and how I ensure it runs when sent to a remote Mac. Thanks, George Spiese thewizard@macwizard.net