1

I have a .pmdoc file I want to generate a .pkg from. I have to do it from command line since its an automatic tool.

I looked at questions such as Create PackageMaker project file on the command line, but I can't find packagemaker command anywhere.

Seems like it should be in /Developer/usr/bin/packagemaker ?

In any case, I have PackageMaker.app installed, so the GUI works fine, but where can I find the command line util?

Community
  • 1
  • 1
Mugen
  • 8,301
  • 10
  • 62
  • 140

3 Answers3

1

/Applications/PackageMaker.app/Contents/MacOs/PackageMaker --doc "your.pmdoc" --version BuildVersion --title "Title" --out "/Users/username/Desktop/Installer.pkg"

0

Apparently its simpler than I thought:

/Applications/PackageMaker.app/Contents/MacOs/PackageMaker

Mugen
  • 8,301
  • 10
  • 62
  • 140
-1

PackageMaker --doc "your.pmdoc" --version buildnumber --title "Test.pkg" --out "/Desktop/Test.pkg"