scriptingautomationpackagemaker

Create PackageMaker project file on the command line


Is there any way of creating a pmdoc (PackageMaker) project from the command line?

I am trying to automate the process of creating the installer and would like to script tasks like:

  1. Adding another application
  2. Updating the installer project when the apps it contains change.

My question is: Is there a command line tool I can use to construct a packagemaker project on the command line?

For example: packagemaker will build an installer from a .pmdoc folder structure.

What can I use to create the .pmdoc folder structure from the command line?


Solution

  • There is no command-line tool to generate .pmdoc files. PackageMakers --root option allows you to generate packages. The other parameter of --root allow you to set stuff like the title, package identifier and so on.

    As Pooria Azimia already commented, PackageMaker is deprecated. From own experience I can only recommend to use the new tools.