I’m using Inno setup to deliver a software package. It detects the version of Access and pops up a message. I want to make the message tell the user they have downloaded the wrong version and halt the installation. Currently the Inno script uses
itd_downloadafter(NoRuntimePage.ID);
to display a message telling the user they need the AccessRuntime installed. When they user presses next it downloads the AccessRuntime and continues. I want to change this for my new script to tell the user they have the wrong version and then end the install script when they press next or just cancel. Can anyone help me abit on this?
** TLama’s answer is more accurate. **
You could use the InitializeWizard procedure to run the access check at the beginning… if it fails you should be able to show your message box then call Abort() .