yemmem
20th August 2009 10:30 UTC
How to show finish page if user skips custom registration page
In My Installer application,i need to show Finish page,if user skips custom registration page.
Detail:
The pages are called in following order
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_INSTFILES
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_STARTMENU
!insertmacro "Custom Registration File1"
!insertmacro "Custom Registration File2"
!insertmacro "Custom Registration File3"
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_CONFIRM
!insertmacro MUI_UNPAGE_INSTFILES
During installation if user skips registration in "Custom Registration File2",Finish Page should be displayed.
Using MUI_ABORTWARNING,message box is displayed with warning message.if user selects yes in message box,the process ends there itself.but it should go to finish page to run installed .exe
Hope to get valuable info on this
- Yemmem
sprinleo
1st September 2009 17:25 UTC
i wish to do a similar operation, after a custom page, the Finish page should be displayed ? please advise .
CrushBug
1st September 2009 19:15 UTC
I can't find the code right now, but there was a function around called RelGotoPage that you would call to make your installer go to a specific page.
We used this to go to the Finish page in all cases.
CrushBug
1st September 2009 21:15 UTC
Thanks jpderuiter, I have having problems finding that page. =)
sprinleo
2nd September 2009 10:37 UTC
well... i have a different kind of requirement:
Welcome_Page->License_Page->Decline_License_Page->Finish_Page
Among the above, License and Decline_License are custom pages.
I wish to finish the installation on Decline_License_Page, but this page shows the usual Back, Next and Cancel buttons. does anyone know how to have only Back and Finish buttons on this page ?
If not, how can i display the Finish_Page immediately after Decline_License_Page
thanks guys for your help !