• 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: PackageMaker 3.0.5 command line tool
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PackageMaker 3.0.5 command line tool


  • Subject: Re: PackageMaker 3.0.5 command line tool
  • From: Per Olofsson <email@hidden>
  • Date: Mon, 19 Mar 2012 22:17:34 +0000
  • Thread-topic: PackageMaker 3.0.5 command line tool

19 mar 2012 kl. 22:03 skrev Edward Waxler:

> Since installing the PackageMaker app (v3.0.5) via the Auxilary Tools for XCode, I do not see a command line tool.  I've searched inside the PackageMaker.app bundle itself, as well as in the Xcode.app bundle - it's not in either of these as far as I can tell.  I've also tried installing the Command Line Tools for XCode, but I cannot find it after installing that either.

Yeah, it's kind of annoying that there's no proper standalone command line tool anymore, but you can use PackageMaker.app/Contents/MacOS/PackageMaker inside the bundle.

> Is there still a command line interface available with PackageMaker 3.0.5?  If not, is there any guidance moving forward on the best way to automate package creation?


Here's what I'm using in my scripts now:

	PACKAGEMAKER=""
	if [ -e "/Developer/usr/bin/packagemaker" ]; then
	    PACKAGEMAKER="/Developer/usr/bin/packagemaker"
	else
	    while read path; do
	        if [ -e "$path/Contents/MacOS/PackageMaker" ]; then
	            PACKAGEMAKER="$path/Contents/MacOS/PackageMaker"
	            break
	        fi
	    done < <(mdfind "(kMDItemCFBundleIdentifier == com.apple.PackageMaker)")
	fi
	if [ -z "$PACKAGEMAKER" ]; then
	    echo "packagemaker not found"
	    exit 1
	fi

I'd like to add some version detection to use the latest version found, but I also don't too much boilerplate in my scripts...

--
Per Olofsson
System Administrator, IT-services, 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

  • Follow-Ups:
    • Re: PackageMaker 3.0.5 command line tool
      • From: Greg Neagle <email@hidden>
References: 
 >PackageMaker 3.0.5 command line tool (From: Edward Waxler <email@hidden>)

  • Prev by Date: PackageMaker 3.0.5 command line tool
  • Next by Date: Re: PackageMaker 3.0.5 command line tool
  • Previous by thread: PackageMaker 3.0.5 command line tool
  • Next by thread: Re: PackageMaker 3.0.5 command line tool
  • Index(es):
    • Date
    • Thread