I am trying to create a Mac installer package with pkgbuild and productbuild , which can install one package in 4 locations, depending on the result of the installer settings described in the distribution definition XML file.
Unfortunately, I cannot find a way to configure Distribution.xml to install the package more than once.
The only alternative that I see is a combination of 4 identical packages, but with separate installation locations; however, this is undesirable as it will make my installer unnecessarily large.
Is there any other way to achieve this user behavior?
source share