• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: PackageMaker & a Script
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PackageMaker & a Script


  • Subject: Re: PackageMaker & a Script
  • From: George Spiese <email@hidden>
  • Date: Wed, 20 Jun 2012 13:44:20 -0400

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

  • Follow-Ups:
    • Re: PackageMaker & a Script
      • From: Greg Neagle <email@hidden>
References: 
 >PackageMaker & a Script (From: George Spiese <email@hidden>)
 >Re: PackageMaker & a Script (From: Greg Neagle <email@hidden>)

  • Prev by Date: Re: PackageMaker & a Script
  • Next by Date: Re: PackageMaker & a Script
  • Previous by thread: Re: PackageMaker & a Script
  • Next by thread: Re: PackageMaker & a Script
  • Index(es):
    • Date
    • Thread