During the installation process, the Installer application invokes InstallationCheck and VolumeCheck when it needs to check system and volume requirements, respectively. See “The Installation Process” for details.
Note: For executable-based installation requirements to work, the executables must have their executable bit set. PackageMaker does this automatically when it builds a package.
The InstallationCheck executable can use any criteria to allow or disallow an install. It returns a value that tells Installer whether to continue the installation process.
Similarly, VolumeCheck can use any criteria to accept or reject a volume as a potential installation volume. The return value of VolumeCheck tells Installer whether to allow the user to choose a particular volume as an installation destination.
In addition to stopping the installation process and disallowing volumes to be chosen as installation volumes, the return values of these executables tell Installer which informational message to display to the user. You use strings files to define these informational messages.
Last updated: 2006-07-24