site_archiver@lists.apple.com Delivered-To: installer-dev@lists.apple.com Thread-index: AQHL18DWaEJAYcsHvkCKFwdYLrkqmpQYGlmA 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com