Skip to content
⌘ NSIS Forum Archive

Reusing the license page

4 posts

bfogerty#

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#
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#
I think multiple licenses is actually part of the documentation for:
4.5.6 PageEx