I am trying to create a Mac installer package with pkgbuild
and productbuild
that installs 1 package to 4 locations optionally, depending on the result of the installer options laid out in the distribution definition xml file.
Unfortunately, I cannot find a way of customising the Distribution.xml
to install a package more than once.
The only alternative I can see is bundling 4 identical packages, but with separate install locations; however this is undesirable as it would make my installer unnecessarily large.
Is there another way of achieving this custom behaviour?