Archive: Display Readme.txt directly on the finishpage


Display Readme.txt directly on the finishpage
How can I display the installed Readme.txt directly on the finishpage. Not with a checkbox, directly on a textarea.

Now I use it:
http://193.224.61.147:85/pub/attachm...howreadme1.jpg

I want to dispaly it like this:
http://193.224.61.147:85/pub/attachm...howreadme2.jpg


Not a simple task. What is wrong with opening in notepad?

Stu


Can you help me?
:rolleyes: :rolleyes: :rolleyes:
Can you help me?


Design a custom page which suits your preferences and replace with this the standard mui finish page.


The non simple way would be to add a multi-line text field, hide it before you display the dialog and show it when the user checks the check-box. You still have a problem though if the file is longer than 1023 characters (in which case you'll need to use the NSIS special build for longer strings).

Stu


Can I have a sample code for your idea? I'm a beginner NSIS programmer.


AfrowUK, I think that 1023 bytes is not a limitation. He can use CustomLicense plugin which loads bigger files.

In this case I am using:

nsDialogs::CreateControl /NOUNLOAD ${__NSD_Text_CLASS} \
${DEFAULT_STYLES}|${WS_TABSTOP}|${ES_MULTILINE}|${ES_READONLY}|${WS_VSCROLL} \
${__NSD_Text_EXSTYLE} 0% 10% 100% 110 ""
Pop $0

CustomLicense::LoadFile "$PLUGINSDIR\License.txt" "$0"
${NSD_AddStyle} $0 ${ES_MULTILINE}|${ES_READONLY}


You may use this, works right with mui1 not tested yet with mui2,

http://nsis.sourceforge.net/Readme_P...I_License_Page