buttoninno-setupwizard

Inno Setup: Multiple Next Buttons


I want to have two buttons in my installer screen, both should end up taking the user to the next screen but each performs it's own side-logic. Is it possible to have two NextButtons that both take you to the next screen but execute different code? Failing that, is there a way how to call WizardForm.NextButton programatically?


Solution

  • Yes.

    WizardForm.NextButton.OnClick(WizardForm.NextButton);