• 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: Nick Blievers <email@hidden>
  • Date: Tue, 01 Mar 2011 14:39:12 +1100

Its possible, and its pretty easy to dissect an older style .pkg bundle. The main sections are:

 -the bill of materials file (.bom) which can be examined with lsbom and created with mkbom
 -the archive itself (pax.gz) which can be unzipped with gunzip, and pax (pax is somewhat like tar)
 -The Info.plist file, which describes the package, and any extra scripts etc which are run.

Newer .pkg (flat) are slightly trickier, but not by much. They are a xar file of (more or less) the above.

So, the answer to your question is that I haven't seen any repository of information... but its fairly easily retrieved just by poking around.

Hope this helps,

Nick


On 01/03/2011, at 2:29 PM, Jeremy Matthews wrote:

> Q) Are you looking for articles on alternate software like Composer, The
> Luggage, or Iceberg? Googling their names shows a few.
>
> A) Nope
>
>
> 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.
>
> Ideas?
>
> Thanks,
> jeremy _______________________________________________
> 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

References: 
 >Re: creating pkg without PackageMaker (From: Jeremy Matthews <email@hidden>)

  • Prev by Date: Re: creating pkg without PackageMaker
  • Previous by thread: Re: creating pkg without PackageMaker
  • Index(es):
    • Date
    • Thread