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
How to skip custom pages
3 posts
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
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
function custompage1
${If} ${SectionIsSelected} ${Section1}
;call nsDialogs to create and show your function
${EndIf}
functionend
${If} ${SectionIsSelected} ${Section1}
;call nsDialogs to create and show your function
${EndIf}
functionend