Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Show a custom license page on check box selection (http://forums.winamp.com/showthread.php?t=297199)

Salinn 11th September 2008 08:30

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 12th September 2008 07:48

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

Salinn 12th September 2008 08:26

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 12th September 2008 08:28

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 12th September 2008 09:18

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 :)

kichik 12th September 2008 09:30

No, this:

http://nsis.sourceforge.net/Skipping_Pages

Salinn 12th September 2008 09:55

Ah, i found what you were talking about.

Sorry, i didn`t paid attention earlier.

Thanks for helping.


All times are GMT. The time now is 04:33.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.