Re: PackageMaker & a Script
Re: PackageMaker & a Script
- Subject: Re: PackageMaker & a Script
- From: Greg Neagle <email@hidden>
- Date: Wed, 20 Jun 2012 11:00:30 -0700
Such a script should be marked as executable, named exactly "preflight", and be put in the Resources directory.
This all assumes a "bundle"-style package, and not a flat package.
-Greg On Jun 20, 2012, at 10:44 AM, George Spiese wrote: In this case I want it to run before the
package that's also part of the .mpkg runs. My overall question is "where
do I put the script, any script" I could find nothing in the doc that
told me where.
Thanks,
George Spiese
From:
Greg Neagle <email@hidden>
To:
George Spiese/USA/SC/CSC@CSC,
Cc:
"email@hidden"
<email@hidden>
Date:
06/20/2012 12:20 PM
Subject:
Re: PackageMaker
& a Script
When do you want/expect this script to run?
Before the package is installed?
After the package is installed?
At some time in the future; perhaps after a reboot, or
at the next login?
-Greg
On Jun 20, 2012, at 7:04 AM, George Spiese <email@hidden>
wrote:
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
|
_______________________________________________
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