View Single Post
Old 16th March 2010, 01:27   #9
jrenbaum
Junior Member
 
Join Date: Feb 2007
Posts: 13
I am relatively new to nsis and am also trying to add a print button to our license agreement page. I am having problems getting my custom page to display our license agreement text. When using the default

!insertmacro MUI_PAGE_LICENSE "${LICENSE_FILE}"

approach the text shows up fine even with formatting and copywrite symbols. However, when I try to have my custom page display text it gets mangled when I use:

!define /file LICENSE_TEST ${LICENSE_FILE}

Formatting issues abound and everything is written to one line. I've tried the nsDialogs approach as well, but that did not work for me either. I've tried to read the file line by I must be missing some basic method of displaying the text from a file.

Any suggestions on how to read our rather long license agreement into the installer and display it on the custom page would be greatly appreciated.

Thanks,

Jay
jrenbaum is offline   Reply With Quote