VCR
11th October 2004 04:59 UTC
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
Afrow UK
11th October 2004 09:58 UTC
In the InstFiles Pre function call Abort using logic (ie StrCmp)
-Stu
VCR
11th October 2004 14:51 UTC
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
kichik
11th October 2004 15:29 UTC
Simply don't call Abort. Just skip everything in the sections.