Re: 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 (Installer-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/installer-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Per Olofsson