Archive: Question about creating dialog pages


Question about creating dialog pages
This is what I have right now:


Function TimePage
#My Code
FunctionEnd

Function TimePageLeave
#My Code
FunctionEnd

Page components
Page custom TimePage TimePageLeave "- Time Options"
Page instfiles

Section "My Section"
#My Code
SectionEnd

Section "My Other Section"
#My Code
SectionEnd


What I would like to do is based on what I check in the components page, the code decides if the custom TimePage is run or not. How would I do this? Thanks.

To skip a custom page call Abort before calling the custom page plug-in (such as nsDialogs::Create).

Stu


How can I determine what got checked in my components page?


Use SectionIsSelected from LogicLib.nsh.

Stu