command-line build Distribution Package
command-line build Distribution Package
- Subject: command-line build Distribution Package
- From: Kevin Packard <email@hidden>
- Date: Tue, 1 May 2007 18:02:42 -0400
Hello,
I'm having trouble building a Distribution Package from the command
line. There are a couple of other references to this problem, but I
haven't seen any solutions (http://lists.apple.com/archives/installer-
dev/2006/Sep/msg00057.html and http://lists.apple.com/archives/
installer-dev/2006/Oct/msg00062.html)
Is this a known bug, or is there a solution? If this is a known bug,
how are people automating the Checkout, Build, Build Installer
process on OS X?
Any help much appreciated.
The dirty details:
- from within Package Maker, my pmproj builds a working mpkg file
- from the command line, I build the pmproj with:
/Developer/Applications/Utilities/PackageMaker.app/Contents/MacOS/
PackageMaker -build -proj Installer.pmproj -ds -p ./Installer.mpkg
- and I see the following build errors:
Missing identifier field for "Package1.pkg"
Missing identifier field for "Package2.pkg"
Missing size field for "Package1.pkg"
Missing size field for "Package2.pkg"
- and the resulting mpkg fails to install with the following error:
Failed to locate package at path Installer.mpkg/Contents/Packages/
(null)
- when comparing the good and bad mpkg files, only the Contents/
distribution.dist is different
thanks,
--
Kevin Packard
_______________________________________________
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