title: How to store extra text file in installer
body: <p>I am trying to create a electron-builder NSIS script with an extra page that contains a RichEdit with text loaded from a text file. However, the text file doesn't compile into the installer, so if you open the installer on another machine the RichEdit is empty. Is there a way to tell the script to include this text file?</p>
  <p>How I am currently adding the RichEdit:</p>
  <pre><code>nsDialogs::CreateControl &quot;RichEdit20A&quot; ${__NSD_Text_STYLE}|${ES_MULTILINE}|${WS_VSCROLL}|${WS_HSCROLL}|${ES_READONLY} ${__NSD_Text_EXSTYLE} 0 0 100% 112u &quot;&quot;
  Pop $0
  
  FileOpen $4 &quot;${PROJECT_DIR}\textFile.txt&quot; r
  loop:
      FileRead $4 $1
      SendMessage $0 ${EM_REPLACESEL} 0 &quot;STR:$1&quot;
      IfErrors +1 loop
  FileClose $4
  </code></pre>