11/10/2023 0 Comments Inno setup newline in stringReturn True to accept the password and False to reject it. If Setup finds the CheckPassword event function in the Pascal script, it automatically displays the Password page and calls CheckPassword to check passwords. function CheckPassword (Password: String): Boolean procedure CurPageChanged ( CurPageID : Integer) Ĭalled after a new wizard page (specified by CurPageID) is shown. Note: This event function isn't called for the wpWelcome, wpPreparing, and wpInstalling pages, nor for pages that Setup has already determined should be skipped (for example, wpSelectComponents in an install containing no components). If you return True, the page will be skipped if you return False, the page may be shown. The wizard calls this event function to determine whether or not a particular page (specified by PageID) should be shown at all. function ShouldSkipPage ( PageID : Integer): Boolean If Cancel is set to False, then the value of Confirm is ignored. The Confirm parameter specifies whether an "Exit Setup?" message box should be displayed it usually defaults to True. The Cancel parameter specifies whether normal cancel processing should occur it defaults to True. procedure CancelButtonClick ( CurPageID : Integer var Cancel, Confirm: Boolean) Ĭalled when the user clicks the Cancel button or clicks the window's Close button. If you return True, the wizard will move to the previous page if you return False, it will remain on the current page (specified by CurPageID). function BackButtonClick ( CurPageID : Integer): Boolean Ĭalled when the user clicks the Back button. On a silent install, if your NextButtonClick function returns False prior to installation starting, Setup will exit automatically. Setup instead simulates "clicks" on the Next button. Note that this function is called on silent installs as well, even though there is no Next button that the user can click. If you return True, the wizard will move to the next page if you return False, it will remain on the current page (specified by CurPageID). function NextButtonClick ( CurPageID : Integer): Boolean Ĭalled when the user clicks the Next button. 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.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |