OnMoved

InstallShield 2016 ยป InstallScript Language Reference

In InstallScript projects, OnMoved is called as a result of the installation calling FeatureTransferData or Feature MoveData. The event is called when all file transfer operations are completed except for batch self-registration. In InstallScript MSI projects, OnMoved is called just before the action GenerateMSIScript is executed.

Code in this event handler is always executed, even during a maintenance setup or uninstallation, unless you place it inside the following if-then structure:

      if (!MAINTENANCE) then

        // non-maintenance code

    endif;