Mac validating package payload
The preinstall script is run before files are being installed and after the preflight script if one is defined.
This script is run only if the component is being installed for the first time.
Best of all, you can build a payload-free installer package that run scripts but does not install files.
So, when I needed to run a Unix command on one or more of my managed Macs, I’d normally build a payload-free package and use the Install Packages… With Apple Remote Desktop 2 and later, Apple included a Send Unix Command… This gives you the ability to send a Unix command and get the feedback from the remote machine, without the extra work of building a payload-free installer package.
If the lock is there, click the lock icon to verify that the signing certificate is showing up as a valid Apple Developer ID Installer certificate.
Back when Apple Remote Desktop 1.2 (ARD) was the main tool I used to administer my Macs remotely, I wanted to be able to run Unix commands remotely but needed a delivery vehicle that could send them over ARD. Installer packages are Apple’s preferred way to install software.
Open Terminal and run the following command to change to the scripts directory: cd /Users/username/Desktop/Run_Software_Update/scripts 5.This file itself is a “cpio archive compressed with gzip” according to what I could dig up online.You can unpack it with a few commands piped together.One of the tools that Apple included with Lion and Mountain Lion is the command-line tool pkgbuild.This tool was designed to work by itself or in conjunction with another tool, productbuild, to build Apple installer packages.
Installer packages are available in two general categories: 1.