OnInstalling

InstallShield 2018 » InstallScript Language Reference

Project • This information applies to the following project types:

InstallScript
InstallScript MSI

In InstallScript projects, the OnInstalling feature event handler runs in response to the Installing event that is generated just before the feature is installed on the target system.

In InstallScript MSI projects, the OnInstalling feature event handler runs just before Windows Installer transfers the files to the target system.

The OnInstalling feature event handler is listed in the InstallScript code in the following format:

MyFeatureName_Installing()

Project • Because Windows Installer controls the installation of features in InstallScript MSI installations, the order in which feature event-handler functions are called cannot be specified. In addition, feature events are not launched until all features are copied to the target system.

Also note that feature-uninstallation event handlers (OnUnInstalling and OnUnInstalled) are not called during rollback.