However the attachment also demonstrates what I think could be another manifestation of an NSIS bug originally reported here (and subsequently fixed by kichik). I was experimenting with the Page command whose documentation (4.3.1) says can be used to rearrange the page ordering and even show the same page more than once. However, the following code produces weird results:
Try running the second version of the .exe (renamed BugDemo.exe) included in the zip, and observe the buttons.
; I *think* this is a bug in NSIS:
; Page License ; When enabled, these 4 lines should have the effect (in
; Page Instfiles ; this case) of running the program twice, but some of the
; Page License ; buttons (next, continue, back, close) loose their button
; Page Instfiles ; text. Also, the back button on page 3 doesn't work.
It is possible the bug lies in my understanding of the documentation (I'm afraid I don't quite understand the use of the terminology "callback function" -- who is calling who back? 😕 ) Maybe there is something else I have to do to make this work as intended. But in case it really is a bug, I thought I should point it out.
Kichik, a question: Is it possible to have two DIFFERENT license pages (each one with its own LicenceData and with a different LicenseText, button_text?) I am currently doing something like that by compiling separate .exes and having the first exec the second just before terminating. Then it occurred to me that the Page command might be able to achieve the same thing in the one .exe. Can it be done?