Productbuild: add a third-party product archive to the installer?

I need to make a Mac OS application installer, which also installs another third-party package.

When trying to add it through productbuild --synthesize, it says: "ThirdPartyPackage.pkg is the product archive, not the component package."

So, how to properly insert a third-party product installer into my installer?

+4
source share
1 answer

In fact, you can split the “product archive” into your component packages using:

pkgutil --expand your_product_archive.pkg some_folder

This will create a directory some_folderwith the contents of the product archive.

+1
source

Source: https://habr.com/ru/post/1544353/


All Articles