InstallShield 2018 » InstallScript Language Reference
Project • This information applies to InstallScript projects.
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. |
InstallShield 2018 Help LibrarySeptember 2018 |
Copyright Information | Flexera |