InstallShield 2016 » InstallScript Language Reference
Project • This information applies to InstallScript projects.
The OnRemovingSharedFile event handler responds to the RemovingSharedFile event that occurs during uninstallation when a file that might be shared with other applications is about to be removed. 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
OnRemovingSharedFile ( szFilename );
Parameters
Parameter |
Description |
szFilename |
Specifies the fully qualified file name of the shared file. |
Return Values
Return Value |
Description |
ERR_YES |
Returned to the setup by the OnRemovingSharedFile event handler to request that the setup remove the file. |
ERR_NO |
Returned to the setup by the OnRemovingSharedFile event handler to request that the setup not remove the file. |
InstallShield 2016 Help LibraryMay 2017 |
Copyright Information | Flexera Software |