• 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: creating pkg without PackageMaker
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: creating pkg without PackageMaker


  • Subject: Re: creating pkg without PackageMaker
  • From: Per Olofsson <email@hidden>
  • Date: Tue, 01 Mar 2011 08:47:35 +0000
  • Thread-topic: creating pkg without PackageMaker

1 mar 2011 kl. 04.29 skrev Jeremy Matthews:

> I'm looking to understand the structure of a package so I can create one programmatically for an end-user.
> The idea is that my software will create a package without requiring Developer tools to be installed.


Alright, you'll need to do the following:

  * Create a gzipped cpio archive of the payload (ditto).
  * Create a bill of materials (mkbom).
  * Create a PackageInfo file (see http://s.sudre.free.fr/Stuff/Ivanhoe/FLAT.html).
  * Pack them up with pkgutil --flatten.

Take a simple flat package, expand it with pkgutil --expand, and examine its contents. As you'll see it's fairly straightforward.

--
Per Olofsson, IT-service, University of Gothenburg

 _______________________________________________
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

  • Prev by Date: Re: creating pkg without PackageMaker
  • Next by Date: LaunchServices.plist not wotking on 10.5
  • Previous by thread: Re: creating pkg without PackageMaker
  • Next by thread: LaunchServices.plist not wotking on 10.5
  • Index(es):
    • Date
    • Thread