|
|
#1 |
|
Junior Member
Join Date: Mar 2008
Posts: 3
|
MUI question
Hi,
I'm a newbie to NSIS and having trouble finding help on the following. I have a tomcat nsi script where it has the line: !insertmacro MUI_PAGE_LICENSE INSTALLLICENSE I've searched the forum to find what INSTALLLICENSE is pointing to but to no avail. Could one of you please help me understand this? Where is this INSTALLLICENSE variable defined? Thanks much in advance. |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
INSTALLLICENSE is a file that should be located in the installer script's directory.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Mar 2008
Posts: 3
|
Thanks for the quick reply. The directory that has tomcat.nsi has a file by name "LICENSE". I see that this file is being picked up and displayed correctly in the installer screen, just not sure how specifying INSTALLLICENSE is picking up this file.
Also, not sure about the significance of the following lines in the script. There is no file by name License.rtf in the directory where tomcat.nsi is present but the installer build is not erroring out. ;License dialog LicenseData License.rtf Thank you! |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Both INSTALLLICENSE and License.rtf must exist for the script to build properly. They might be created in some pre-build step and deleted right after the installer is built. Unless that code is somehow commented out, the installer will not build if the file doesn't exist.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Mar 2008
Posts: 3
|
Thanks for the timely help! I identified the problems and it works fine now.
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|