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.
LockFile
Last Revision: | Version 1.0, 2003-07-22 First Version |
Build Requirements: | |
Runtime Requirements: | Carbon Installer 3.2, 3.3 and possibly later |
Sample to demonstrate setting the file lock bit. This action atom code resource must be called through a post installation action atom. In the selector field, pass in the name of the target 'infs' resource id. The code resource gets the resource, converts the partial path name field to a pascal string, then calls, SetFLock. A result of true is always returned so as not to abort the installation. Requirements: Installer 3.2, 3.3 and possibly later Keywords: Installer, file lock bit, LockFile
Copyright © 2003 Apple Computer, Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2003-07-22