How to skip custom pages
Hello,
I want to know how to skip some, round 4, custom pages based on the selected options in the MUI_PAGE_COMPONENTS page.
regards,
ehsan
Archive: How to skip custom pages
How to skip custom pages
Hello,
I want to know how to skip some, round 4, custom pages based on the selected options in the MUI_PAGE_COMPONENTS page.
regards,
ehsan
Found it,
By using the
Function .onSelChange
SectionGetFlags ${Section1} $R0
IntOp $R0 $R0 & ${SF_SELECTED}
${If} $R0 == ${SF_SELECTED}
Strcpy $skipPage1 "No"
Strcpy $skipPage2 "No"
${ElseIf} $R0 != ${SF_SELECTED}
Strcpy $skipPage1 "Yes"
Strcpy $skipPage2 "Yes"
${EndIf}
FunctionEnd
and in the function call back of the page I can check the skipPagex var and call Abort.
got the idea from
http://stackoverflow.com/questions/1...ar-custom-page
function custompage1
${If} ${SectionIsSelected} ${Section1}
;call nsDialogs to create and show your function
${EndIf}
functionend