License pages inside sections/functions
Hi all, I'm new to NSIS and trying to make an installer that installs prerequisite apps but I also have to display the TOS for those apps and wanted to use the Page License command (as I want the apps to be otherwise silent).
However as I'm sure most of you know you can't have a Page inside a Function/Section, however I also need control flow like ${If} which I get errors about not being valid outside Functions/Sections.
I thought about calling the Page outside any Function and calling the Function afterwards but I can't use Call outside the Functions either.
How do people go about handling situations like these?
Thanks!