Archive: Licence Page


Licence Page
Can some body help me, i have a custom licence page,

With this code;

;Pages

!insertmacro MUI_PAGE_WELCOME
!define MUI_LICENSEPAGE_CHECKBOX
!define LICENSE_FORCE_SELECTION "I accept the terms of the License Agreement."
!define MUI_LICENSEPAGE_TEXT_TOP "Please review the terms of the License Agreement: "
!define MUI_LICENSEPAGE_TEXT '"If you accept the terms of the License Agreement, \
check the box below and then click NEXT \
to continue with the installation."'
!define MUI_PAGE_HEADER_TEXT "License Agreement"
!define MUI_PAGE_HEADER_SUBTEXT " "
!insertmacro MUI_PAGE_LICENSE "..\setup files\licence.txt"


it gives this error when compiling:

!insertmacro: macro "MUI_PAGE_LICENSE" requires 0 parameter(s), passed 1!

How can i let this work?

Sebas


You're probably using an old version of NSIS. MUI_PAGE_LICENSE takes a parameter only since b4 (CVS). You should upgrade to RC1. Don't forget to backup any changes you've made to any files in the NSIS directory before you install the new version.


Help
ok tnx, but where can i find a page with thing that changed in this new version so i can make my script work?

Sebas


The release notes in Appendix D contain major changes you should take note of. But why would you need it if your script is already built for b4/rc1?


?
Because if i use that installer and i continue to work on the script i cant get any help (like my question above) because people say that i need to update my nsis version.

Any idee how to fix my problem above?

Sebas


If you have that error, the script you have is already RC1. You don't need any list of changes. To fix the problem above you just need to get the latest version, RC1, to match your script.


NSIS
So i need to instal the new nsis, > nsis 2 rc1.

Or am i wrong?


RC1 will do. There is no need to get the latest CVS version but that would be OK too.


Jee
Okay i did but then i get new errors (update to nsis 2rc1)
(could you post a link to the download of the rc1 you mean)

Error:

!insertmacro: MUI_PAGE_WELCOME
!insertmacro: end of MUI_PAGE_WELCOME
!insertmacro: MUI_PAGE_LICENSE
!insertmacro: macro "MUI_PAGE_LICENSE" requires 1 parameter(s), passed 0!
Error in script "C:\Documents and Settings\Sebas\Mijn documenten\iMesh Light\IM-L 412\4.2.3b\Modern UI\b02.nsi" on line 34 -- aborting creation process


I was hoping that you could tell me the prob, maby i only need the rc1 version you mean.

Im sorry for asking you all this stuff :p


Why did you change the script? Use the same script you've used to get the error in the first post.

There is only one RC1.


Its the same script:

Ive attached my script so you can take a look if you want

This is the script where the topic is about


It's impossible that this script gave you this error, because this macro does have a parameter.

You probably used the wrong script.