Anders - 2014-03-10

This seems to have been fixed in 3.0a2 (probably by FileRead changes?), can you confirm?

!include TextFunc.nsh
Section
!define tempfile "$%temp%\test.txt"
!delfile "${tempfile}"
!appendfile "${tempfile}" "$echo off$\r$\n"
!appendfile "${tempfile}" "set foo=123$\r$\n"
!appendfile "${tempfile}" "SET winbootdir=x:\yz$\r$\n"
!appendfile "${tempfile}" "set bar=456$\r$\n"
MessageBox mb_ok Before
${ConfigWrite} "${tempfile}" "SET winbootdir=" "D:\WINDOWS" $R0
MessageBox mb_ok After=$R0
SectionEnd