Old 6th March 2008, 16:33   #1
acelango
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.
acelango is offline   Reply With Quote
Old 6th March 2008, 17:01   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 6th March 2008, 17:12   #3
acelango
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!
acelango is offline   Reply With Quote
Old 6th March 2008, 17:17   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
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
kichik is offline   Reply With Quote
Old 6th March 2008, 21:18   #5
acelango
Junior Member
 
Join Date: Mar 2008
Posts: 3
Thanks for the timely help! I identified the problems and it works fine now.
acelango is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump