Search code examples
inno-setuppascalscript

Access the properties of check box control on Inno Setup "finish" page


In my Inno Setup project, I have some file in the [Run] section with flag postinstall, so Inno Setup creates a check box for this file in "finished" page. And now my question is, how to access properties of this check box (like Left, Right, Name,...) in Code section? I want to add some other component under this check box on run time.


Solution

  • The checkboxes on the "finished" page are not individual controls.

    All checkboxes are just items in WizardForm.RunList of type TNewCheckListBox.

    For similar a question, see Custom TLabel not displaying on FinishedPage in Inno Setup.