Re: PackageMaker & a Script
Re: PackageMaker & a Script
- Subject: Re: PackageMaker & a Script
- From: George Spiese <email@hidden>
- Date: Wed, 20 Jun 2012 16:14:52 -0400
I had reviewed the Casper Admin Guide previously,
and posted to their Discussions. There it was suggested that Casper Composer
"might" not be the best tool to do what I want. Now, going back
to it, the only place I see to place the preflight script is in the Adobe
Flash Player .pkg, something that doesn't seem right- I wonder if placing
it in the third party package IS the correct place to put it. To test it,
I did place it there. But now I want to place a file on the source Mac
so I drag the file I want to place into the left pane of Composer. But
now, I don't see a place to add the destination for that file. PackageMaker
has a field for the destination, but I can't see it in Composer. Where
do I indicate the destination? Please note that I am not building this
pkg from a build Mac. I don't want to use a snapshot in this case.
Thanks,
George Spiese
From:
Herrington_Hasaan <email@hidden>
To:
George Spiese/USA/SC/CSC@CSC,
Date:
06/20/2012 02:22 PM
Subject:
Re: PackageMaker
& a Script
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 <email@hidden>
To: Herrington_Hasaan <email@hidden>
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 <email@hidden>
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 <email@hidden>
To: "email@hidden" <email@hidden>
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
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden