Is it possible to change the subfolder where components get installed to
with the productbuild CPack generator?
It always installs everything in “Applications”. I would like to at least bundle everything under “Applications/MySoftwareBundle” and store all my .apps there.
In a next step I maybe want to install some Preferences in the Preferences folder.
How do I do that?
CPACK_PACKAGING_INSTALL_PREFIX is a general setting that is documented as applying to all CPack generators. I don’t know if the productbuild generator has any special handling or caveats around that though.