OnFileReadOnly
InstallShield 2024 » InstallScript Language Reference
Project:
The OnFileReadOnly event handler responds to the ReadOnly event that is generated when a file that must be deleted or overwritten is set to Read Only. When creating an InstallShield object, note that this event is not triggered in an object.
This event handler is called (when appropriate) in any setup, including a setup that uses a procedural script (a script with a program…endprogram block).
Syntax
OnFileReadOnly ( szFilename );
Parameters
Parameter |
Description |
szFilename |
Specifies the fully qualified file name of the read-only file. |
Return Values
Return Value |
Description |
ERR_YES |
Returned to the setup by the OnRemovingSharedFile event handler to request that the setup perform the operation on the file. |
ERR_NO |
Returned to the setup by the OnRemovingSharedFile event handler to request that the setup not perform the operation on the file. |