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.2, 3.3 and possibly later

View Source Code:

Download Sample (“LockFile.zip”, 3.7K)
Download Sample (“LockFile.dmg”, 61.6K)


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

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.