bfogerty
24th May 2009 17:17 UTC
Reusing the license page
After someone finishes my games install, I want to display some additional information in a textbox for them to read. I would rather not reinvent the wheel and go through the hassle of creating my own custom page and loading it.
I want to have a page that looks identical to the license page however I want to change the license text to my own personal message. Does anyone know how I can get a pointer to the textbox so that I can change the text using a send message? Or is there any better way to do it? Thanks in advance!
bfogerty
24th May 2009 17:59 UTC
I just noticed that if I use MUI, I can insert multiple
!insertmacro MUI_PAGE_LICENSE "test.txt"
!insertmacro MUI_PAGE_LICENSE "test2.txt"
So I can have multiple licenses. However if I use the standard nsis interface, which is what I want, and I do
LicenseData "license.txt"
Page license
LicenseData "license2.txt"
Page license
the license2.txt will be displayed on both license pages. Is there a way I can load multiple licenses without using MUI?
Animaether
24th May 2009 19:13 UTC
I think multiple licenses is actually part of the documentation for:
4.5.6 PageEx
http://nsis.sourceforge.net/Docs/Chapter4.html#4.5.6
bfogerty
24th May 2009 20:00 UTC
Thanks Animaether. That was exactly what I was looking for!