Archive: Show a custom license page on check box selection


Show a custom license page on check box selection
Hi,

As the thread says, i can`t figure it out how to make the script to check if a certain check box is checked and then show, or not, that custom license page i`ve made.

Do you have any ideas?


The following page explains how to skip a page. Use it to skip the custom license if the checkbox isn't checked.

http://nsis.sourceforge.net/Skipping_Pages


Thanks for the reply.

The thing is that i did the custom license page using the MUI_PAGE_LICENSE in which i changed the next button and the texts.

Can i make using this example, or i must make a custom page with "Page custom ...."?


Then it's not a custom page :)

You can still skip the page and the FAQ item tells you how to define the pre callback function to do so.


Are you referring to this?
http://nsis.sourceforge.net/Show_cus..._been_selected

I couldn`t figure out how to call the "!insertmacro MUI_PAGE_LICENSE" second time in that function.

The first time was called outside the function which is the real license page, but the second one is the one i want to show it, only if that check box is selected.

Sorry for being so persistent :)


No, this:

http://nsis.sourceforge.net/Skipping_Pages


Ah, i found what you were talking about.

Sorry, i didn`t paid attention earlier.

Thanks for helping.