I want to (periodically and automatically) create an installer from various files and folders that are in many places. But, I can't figure out how to supply the packagemaker command with all the paths of the items I want to install.
This is for internal development purposes, not for customer distribution. I want the files included to be configureable; it's not really an option to use the GUI to add all the paths because they will change frequently.
The best I could do was to use the --watch
flag and touch
all of the stuff I wanted included in the package. This is very messy and includes other files that happen to be accessed at the same time. There isn't a common scheme to what I want to include, so I can't just --filter
the rest out.
Ideally, I would just give it a file full of paths and it would build the package. If that's not an option, I'm not averse to generating XML or putting them on the command line or whatever will work. I probably have ~30 files I want in the installer, but that number will probably grow.
Is there a better way to do this? Am I missing the point?
edit: Figured that I can copy all the files I want in the package into a directory and then use the --root
flag. Is that the best way to do it?
edit 2: Is there a way to do it with symlinks, so I don't have to copy the files before?