• 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: How to add postflight script to installer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to add postflight script to installer


  • Subject: Re: How to add postflight script to installer
  • From: Bill Coderre <email@hidden>
  • Date: Wed, 31 Jan 2007 15:09:33 -0800


On Jan 31, 2007, at 2:05 PM, Stéphane Sudre wrote:
On mercredi, janvier 31, 2007, at 10:45 PM, Matt R wrote:
I just created a postflight script in pico (in Terminal). How do I add
it to the installer?

Copy it into the Resources folder of the package bundle.

myPackage.pkg/Contents/Resources/

Remember that it has to be in the right location (see above), have the correct name ("postflight" or one of the other accepted names), no extension (check in terminal), have the correct owner, group and permissions (root/admin/755), and have the "executable" bit set. Also make sure it has a #! at the very beginning of the file.


Probably can't be UTF-16, either.

But other than that, should work no problem. _______________________________________________
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


References: 
 >Re: How to add postflight script to installer (From: Stéphane Sudre <email@hidden>)

  • Prev by Date: Re: How to add postflight script to installer
  • Next by Date: Re: mod times on directories installed by pkg?
  • Previous by thread: Re: How to add postflight script to installer
  • Index(es):
    • Date
    • Thread