You can use this event function to perform your own pre-install and post-install tasks.Ĭalled with CurStep=ssInstall just before the actual installation starts, with CurStep=ssPostInstall just after the actual installation finishes, and with CurStep=ssDone just before Setup terminates after a successful install. procedure CurStepChanged (CurStep: TSetupStep ) Note that this function is called even if the user exits Setup before anything is installed. procedure DeinitializeSetup () Ĭalled just before Setup terminates. You can't use the InitializeSetup event function for this since at the time it is triggered, the wizard form does not yet exist. Use this event function to make changes to the wizard or wizard pages at startup.
Return False to abort Setup, True otherwise.