I want (periodically and automatically) to create an installer from different files and folders that are in many places. But I cannot figure out how to provide the packagemaker command with all the paths of the elements that I want to install.
This is for internal development purposes, not for distributing customers. I want the files to be configured; it’s not really an option to use the GUI to add all paths, because they will change frequently.
The best I could do was use the flag --watchand touchall the stuff I wanted to include in the package. This is very dirty and includes other files that can be accessed at the same time. There is no general outline of what I want to include, so I cannot just --filteruse the rest.
Ideally, I would just give him a file full of paths, and he would build the package. If this is not an option, I would not mind generating XML or putting them on the command line or something else will work. I probably have ~ 30 files that I want in the installer, but this number is likely to grow.
Is there a better way to do this? Am I missing a point?
edit . It is clear that I can copy all the files that I want into a package into a directory, and then use the flag --root. Is this the best way to do this?
edit 2 : Is there a way to do this with symbolic links, so I don't need to copy the files up to?
source
share