Archive: How to display the finish page.


How to display the finish page.
Hi all,

My installer has three pages: welcome page, instfile page and finish page. But on welcome page, on click of the install button, I am checking for admin privelage and other required conditions. But if any of the conditions fails my installer always displays the instfiles page with cancel button, instead of finish page. I want to display the finishpage with a proper error message.

Can anyone tell me how can I call to display the finish page when an error occured on welcome page.

Thanks and Regards
VCR


In the InstFiles Pre function call Abort using logic (ie StrCmp)

-Stu


I am checking the condition on click event of the "install" button of the Welcome Page. If the condition fails I am calling the abort.
And where ever my installer detects the failed condition, it displays the instFiles page with Cancel button.

So instead of calling the 'abort' on fail condition, what should I do to call the finish page instead.

Regards
VCR


Simply don't call Abort. Just skip everything in the sections.