Winamp Forums Textfile to Textbox installoptions

 20th September 2012, 19:41 #1 spkelly86 Junior Member   Join Date: Sep 2012 Posts: 18 Textfile to Textbox installoptions I have been trying to take data from a text file created by the installer and then printing that file to a textbox on my custom finish page. I am trying to use the nsRichEdit which I found on the forum to do this but I'm having a little trouble understanding how the function works. If there is an easier way to do this please let me know. This is all I have so far. I'll read more to try to figure it out but any help would be appreciated. What I have so far: Function FinishPage !insertmacro MUI_INSTALLOPTIONS_READ $0${FINISH_PG} "Field 1" "HWND" nsRichEdit::Load $0 "$DOCUMENTS\temp\item_list.txt !insertmacro MUI_INSTALLOPTIONS_DISPLAY ${FINISH_PG} FunctionEnd  20th September 2012, 21:55 #2 Afrow UK Moderator Join Date: Nov 2002 Location: Birmingham, England Posts: 8,202 If it is a regular text box then you cannot use nsRichEdit. The plug-in is for rich edit controls only. For plain text, just read the file into a variable using FileRead (limited to 1024 characters). If that limit is too low, considering using a rich edit control instead (switch to MUI2 and nsDialogs). Stu Need an installer? http://www.afrowsoft.co.uk  20th September 2012, 21:56 #3 Anders Moderator Join Date: Jun 2002 Location:${NSISDIR} Posts: 2,777 IntOp $PostCount$PostCount + 1