Re: creating pkg without PackageMaker
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