If you create packages using the packagemaker command line mode, you will need to create a dummy directory that contains all your files in the right place. For example, if you need to install files A and B in /Library/Applications/ and /Library/Application Support/ respectively, then you will create a structure as shown below.
Create a temporary directory, say SourceFiles . Add your files to this directory as follows:
SourceFiles/Library/Applications/A SourceFiles/Library/Application Support/B
Now use the -root flag in packagemaker command line mode.
packagemaker --root SourceFiles/ OTHER_OPTIONS
The idea is that instead of passing individual files to a command, you create a similar structure in a temporary directory and simply pass that directory as an argument to the -root flag.
More for command line mode for packagemaker: http://macinstallers.blogspot.in/
source share