Archive: Custom pages and InstType in ModernUI


Custom pages and InstType in ModernUI
I have a custom page in ModernUI installer. However, I want that custom page to only show up if a particular InstType is selected.

Since there is no way to attach a SectionIn to a Page command, how do I switch on/off a custom page?

thanks!


Use the Abort command in the pre function.


Page Custom Pre Post
...
Function Pre
${If} $InstType == 1
Abort
FunctionEnd
...