Create .pkg to deploy files and apps

Create a directory named Contents and another named Scripts.

Put the app contents in the Contents directory. 

Put the script in the Scripts directory and name it postinstall, with no extension and give it executable rights.

Run this command to create the package. Change the identifierinstall-location, version, and package-name.pkg to what is appropriate for the package.

pkgbuild --root Content --scripts Scripts --identifier com.orgname.appname --install-location /path/to/directory --version 1.0 package-name.pkg


Revision #2
Created 21 November 2024 14:06:22 by B.B.B.Ben E. N. Agents
Updated 21 November 2024 14:13:36 by B.B.B.Ben E. N. Agents