I use NSIS 2.46 to create an installer for my Windows application, I have a component page with 12 flags, that is 12 sections in my NSIS code, now I want to disable the "Next" button, if none of the sections are checked by the user, I use this the code:

Somehow he does not accept R-registers above R9 ...
SectionGetFlags ${section11} $R10
SectionGetFlags ${section12} $R11
The compiler error I get

Please tell me how to disable the "Next" button if there are more than 10 components ...
source
share