• 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: command-line build Distribution Package
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: command-line build Distribution Package


  • Subject: Re: command-line build Distribution Package
  • From: Kevin Packard <email@hidden>
  • Date: Thu, 3 May 2007 15:04:35 -0400

A followup:

The problem is with PackageMaker's interpretation of project-relative paths when referencing pkg files for distribution. When I switch to absolute path references inside of the Distribution Package pmproj file, the command-line produces the correct mpkg file.

I can work around this problem in my automation script by dynamically setting absolute paths in the pmproj file, then invoking PackageMaker.


On May 3, 2007, at 11:18 AM, Kevin Packard wrote:

Beautiful - thank you!
--
Kevin Packard



On May 3, 2007, at 9:28 AM, Arne Scheffler (ext) wrote:

As the distribution script is xml, you can build that file yourself with other tools. I used ruby's REXML in one of my projects.

arne


Kevin Packard wrote:
Hello,
I've still not solved building a Distribution Package from the command line. I've filed a bug.
Are developers just not using Distribution Package? If they are, how are developers automating the build process?
thanks,
--
Kevin Packard
On May 1, 2007, at 6:02 PM, Kevin Packard wrote:
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:
@mac.com


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:
40steinberg.de This email sent to email@hidden
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Steinberg Media Technologies GmbH, Neuer Hoeltigbaum 22-32, D-22143 Hamburg, Germany
Phone: +49 (40) 21035-0 | Fax: +49 (40) 21035-300 | www.steinberg.netManaging Director: Kazunori Kobayashi, Mitsuru Umemura, Takuya Nakata
Registration Court: Hamburg HRB 86534
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Installer-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com


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:
40mac.com


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: 
 >command-line build Distribution Package (From: Kevin Packard <email@hidden>)
 >Re: command-line build Distribution Package (From: Kevin Packard <email@hidden>)
 >Re: command-line build Distribution Package (From: "Arne Scheffler (ext)" <email@hidden>)
 >Re: command-line build Distribution Package (From: Kevin Packard <email@hidden>)

  • Prev by Date: Re: command-line build Distribution Package
  • Next by Date: Re: postflight script failed
  • Previous by thread: Re: command-line build Distribution Package
  • Next by thread: postflight script failed
  • Index(es):
    • Date
    • Thread