Legacy Documentclose button

Important: This document is part of the Legacy section of the ADC Reference Library. This information should not be used for new development.

Current information on this Reference Library topic can be found here:

Version: 1.0

Posted: 2003-07-22

Build Requirements: N/A

Runtime Requirements: Carbon Installer 3.4.3 or later

View Source Code:

Download Sample (“UserFunction_Gestalt.zip”, 112.1K)
Download Sample (“UserFunction_Gestalt.dmg”, 186.5K)


The enclosed Snippet is for Installer scripters. The UserChkGestaltFunction provides an alternative to the CheckGestalt clause which requires that the scripter provide all possible matches to the results of the Gestalt call. With the User Function, the script writer can simply check for the existence of a gestalt selector, without having to worry about it's return values. Of course, if the return value is important, the user function can easily be modified. Requirements: Installer 3.4.3 or later Keywords: Installer, CheckGestalt, script, UserFunction Gestalt

Document Revision History

Date Notes
2003-07-22First Version

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.