Retired Document
Important: This sample code may not represent best practices for current development. The project may use deprecated symbols and illustrate technologies and techniques that are no longer recommended.
UserFunction Gestalt
Last Revision: | Version 1.0, 2003-07-22 First Version |
Build Requirements: | |
Runtime Requirements: | Carbon Installer 3.4.3 or later |
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
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-07-22