Creating PAYLOAD-FREE Package

Creating PAYLOAD-FREE Package Here’s how we make a “true” payload-free package (that does not leave a receipt): pkgbuild --nopayload --scripts /path/to/scripts_dir --identifier org.example.payloadfree --version 1.0 MyGreatPayloadFree.pkg But payload-free packages built this way have a “feature” that can sometimes prove problematic. Flat packages built with pkgbuild using the --nopayload option do not leave receipts in the pkgutil database. This means it can be difficult to determine if a given payload-free package has already been installed on a given machine....

September 18, 2017 · Pavan Raju

Convert .app to .pkg (Packaging)

1. Productbuild + ARD demo suggestion: Create a distribution package of a small app (man productbuild) and distribute the package to each attendee’s Mac using ARD. Example for Firefox : productbuild --component /Applications/Firefox.app/ /Applications/ ~/Desktop/Firefox.pkg 2. pkgbuild General example : sudo pkgbuild --install-location /Applications --component /path/to/app/for/MyGreatApp.app ./path/to/save/package/packagename.pkg Example for Firefox : sudo pkgbuild --install-location /Applications --component /Applications/Firefox.app ~/Desktop/Firefox_v300.pkg Reference articles : http://thegreyblog.blogspot.in/2014/06/os-x-creating-packages-from-command_2.html{:target="_blank"} https://www.jamf.com/jamf-nation/discussions/14843/app-installations{:target="_blank"} https://www.youtube.com/watch?v=oKxjxi9Eny8{:target="_blank"}

June 6, 2017 · Pavan Raju