Skip to content
⌘ NSIS Forum Archive

Show a custom license page on check box selection

7 posts

Salinn#

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?
kichik#
The following page explains how to skip a page. Use it to skip the custom license if the checkbox isn't checked.

Salinn#
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 ...."?
kichik#
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.
Salinn#
Are you referring to this?


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 🙂
Salinn#
Ah, i found what you were talking about.

Sorry, i didn`t paid attention earlier.

Thanks for helping.