Packages is a great GUI tool for creating distribution and flat .pkg installers for various needs in your environment. Version 1.2.2 of Packages added the ability to add a
product id to the pkg .dist file at build time.
Documented at https://managingosx.wordpress.com/2017/11/17/customized-high-sierra-install-issues-and-workarounds/ distribution-style packages need to have a unique product IDs included in the distribution file for it to work with
--installpackage option. Without a product id the package is not included in the output of that tool.
To add a product id to a Packages project do the following:
- In the “Packages->Preferences…->Advanced” settings tick the box to “Show Advanced User Options”
- Create a new Distribution Project. Access the “Project” listing on the left and in the “Settings” tab you’ll see “Advanced Options”. Scroll to the “product id”.
- Once you build the pkg, the distribution file in the package will contain a