Archive: Howto quit installer with a message between two pages


Howto quit installer with a message between two pages
Hi, I have a small problem.
I like to do some validation before I enter a specfic page. I have solved this by do some validation in a page which I not show. A kind of a dummy page. In this page I call a macro that does my validation. In the macro I call the Abort command. But the installer does not quit. As I not show this page the installer would not have any next button to disable either. How should I solve this? What I like is to display a message from my macro, and imediatly close the installer.

Best regards,
Frode


use MessageBox to display the message if you don't want to display a page, and use Quit instead of Abort to immediately exit the installer.