- NSIS Discussion
- Licence Page
Archive: Licence Page
cai_sebas
2nd January 2004 16:04 UTC
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
kichik
2nd January 2004 16:06 UTC
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.
cai_sebas
2nd January 2004 16:09 UTC
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
kichik
2nd January 2004 16:11 UTC
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?
cai_sebas
2nd January 2004 16:17 UTC
?
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
kichik
2nd January 2004 16:22 UTC
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.
cai_sebas
2nd January 2004 16:31 UTC
NSIS
So i need to instal the new nsis, > nsis 2 rc1.
Or am i wrong?
kichik
2nd January 2004 16:37 UTC
RC1 will do. There is no need to get the latest CVS version but that would be OK too.
cai_sebas
2nd January 2004 16:42 UTC
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
kichik
2nd January 2004 16:46 UTC
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.
cai_sebas
2nd January 2004 16:55 UTC
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
Joost Verburg
2nd January 2004 17:28 UTC
It's impossible that this script gave you this error, because this macro does have a parameter.
You probably used the wrong script.