Running PackageMaker from command line

529 views Asked by At

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?

3

There are 3 answers

0
Mugen On BEST ANSWER

Apparently its simpler than I thought:

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

0
Vigneshwaran4264 On

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

0
SabariMurugan Sivakumar On

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