Hi,
May I know if it is possible to skip a customised page if the user decides not to install a certain component? If that is possible, how should I go about scripting it?
Thanks.🙂
skip page during install
5 posts
To skip a custom page just don't call the plug-in that creates the page itself. For example:
Page custom customPage
Function customPage
SectionGetFlags ${sec1} $0
IntOp $0 $0 & ${SF_SELECTED}
IntCmp $0 ${SF_SELECTED} 0 skip skip
# create page here
# InstallOptions::dialog ... for example
skip:
FunctionEnd Hi,
May I know how do I find out which section has been checked?
I dont quite get this:
Thanks.
May I know how do I find out which section has been checked?
I dont quite get this:
${SF_SELECTED} What is the above?Thanks.
SF_SELECTED is defined in the one-section.nsi example and is exaplained in the documentation about SectionSetFlags.
Thanks a lot! Got it solved.🙂