Move Data Handlers

InstallShield 2016 ยป InstallScript Language Reference

The following event handlers are triggered immediately before, during, or immediately after the installation or uninstallation of all features on the target computer:

Move Data Handlers

Event Handler

Project Type

Description

OnMoveData

InstallScript

Called by OnShowUI to transfer files. The event handler's default code calls FeatureTransferData to transfer the files.

OnCustomizeUninstInfo

InstallScript

Called by OnMoveData to customize the uninstall information after calling MaintenanceStart.

OnMoving

InstallScript

InstallScript MSI

In InstallScript projects: Called as a result of the installation calling FeatureTransferData or Feature MoveData. The event is called before any file transfer operations occur.

In InstallScript MSI projects: Called just before the action GenerateMSIScript is executed.

OnMoved

InstallScript

InstallScript MSI

In InstallScript projects: Called directly by the framework after FeatureTransferData is called in the script and after data transfer.

In InstallScript MSI projects: Responds to the Moved event that is generated just after all features are installed or uninstalled on the target computer.

OnInstallingFile

InstallScript

Called when a file is about to be installed as a result of FeatureTransferData or FeatureMoveData.

OnUninstallingFile

InstallScript

Called when a file is about to be uninstalled as a result of FeatureTransferData or FeatureMoveData.

OnUninstallingFontFile

InstallScript

Called when a font file logged by RegisterFontResource is uninstalled.

OnUninstallingDIFxDriverFile

InstallScript

Called when a driver installed or preinstalled by the DIFxDriverPackageInstall or DIFxDriverPackagePreinstall functions is uninstalled with uninstall logging enabled.

OnInstalledFile

InstallScript

Called after a file is installed as a result of FeatureTransferData or FeatureMoveData.

OnInstalledFontFile

InstallScript

Called after a file is installed that is listed in the media as a font file.

OnUninstalledFile

InstallScript

Called after a file is uninstalled as a result of FeatureTransferData or FeatureMoveData.

OnSQLComponentInstalled

InstallScript

Called after each component is installed so any SQL scripts attached to that component can be run. SQLComponentInstalled is called after each component is installed so any SQL scripts attached to that component can be run.

OnSQLComponentUninstalled

InstallScript

Called after each component is uninstalled so any SQL scripts attached to that component can be run. The SQLComponentUninstalled event is called after each component is uninstalled so any SQL scripts attached to that component can be run.

OnSQLBatchScripts

InstallScript

Called automatically by the framework after file transfer.

OnIISComponentInstalled

InstallScript

IISComponentInstalled is called after each component is installed so that any IIS information attached to that component can be installed.

OnIISVRootUninstalling

InstallScript

Called before each IISVRoot is removed.

OnXMLComponentInstalled

InstallScript

ISXMLComponentInstall is called after each component is installed so that any XML information attached to that component can be installed.

OnXMLComponentUninstalling

InstallScript

XMLComponentUninstalling is called before each .xml file is removed.

OnNetApiCreateUserAccount

InstallScript

Called before OnMoving event. This event handler function does nothing unless NetApiRT.obl is added before Isrt.obl in the list of linked libraries.

OnGeneratedMSIScript

InstallScript MSI

Responds to the MSI standard action LaunchConditions after it is executed.

OnGeneratingMSIScript

InstallScript MSI

Responds to the MSI standard action LaunchConditions before it is executed.

OnInstallFilesActionBefore

InstallScript MSI

Responds to the InstallFiles event handler function before it is called.

OnInstallFilesActionAfter

InstallScript MSI

Responds to the InstallFiles event handler function after it is called.

See Also