How to show 2nd custom page after first one.
Hi Everyone,
I have 3 custom pages
But, When i click on next butiion control how does the control goes to second custom page? My control does not go to second custom page it will directly starting installing.
I have created 3 .ini files for these 3 custom pages
Page Custom CustomPage_ServerComponents ValidateServerComponents_PageLeaveEvent
Page Custom CustomPage_ServerComponents2 ValidateServerComponents_PageLeaveEvent
Page Custom CustomPage_ClientComponents ValidateClientComponents_PageLeaveEvent
Function CustomPage_ServerComponents
!insertmacro XPUI_HEADER_TEXT "Select Locations" ""
SendMessage $HWNDPARENT ${WM_SETTEXT} 0 "STR: ${PRODUCT_NAME} ${PRODUCT_Version}"
GetDlgItem $1 $HWNDPARENT 1 ;//Enable "Next" button
EnableWindow $1 1
Strcpy $0 ""
SectionGetFlags ${Databse} $0
${if} $0 != "1"
GetDlgItem $0 $HWNDPARENT 1
SendMessage $0 ${WM_SETTEXT} 0 'STR:Install'
${else}
GetDlgItem $0 $HWNDPARENT 1
SendMessage $0 ${WM_SETTEXT} 0 'STR:Next'
${Endif}
FunctionEnd
Can you please suggest solution, for this issue.
Thanks,
Dhiraj