Added !appendfile /CHARSET parameter, output is written using the new NOStream class

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6326 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2013-04-03 22:46:17 +00:00
parent fe8e4a36bf
commit 9b35c900cb
10 changed files with 390 additions and 97 deletions

View file

@ -38,9 +38,11 @@ Causes the NSIS compiler to scan the given directory for plug-in DLLs. If you do
\S1{appendfile} !appendfile
\c file text
\# NOTE: \NsisOutputCharset define cannot be used in a \c block
Appends \e{text} to \e{file}.
\c [/CHARSET=ACP|OEM|CP#|UTF8[SIG]|UTF16<LE|BE>[BOM]] file text
Appends \e{text} to \e{file}. The text is written as ANSI (ACP) unless the file already has a BOM. Using /CHARSET will force a specific character encoding.
\c !tempfile FILE
\c !appendfile "${FILE}" "XPStyle on$\n"

View file

@ -28,6 +28,8 @@ Released on ?, 2013
\S2{} Minor Changes
\b Added !appendfile /CHARSET parameter
\b %temp%\\Low will be used if the installer cannot write to %temp% nor %windir%\\Temp (\W{http://sourceforge.net/support/tracker.php?aid=2909242}{bug #2909242}, \W{http://sourceforge.net/support/tracker.php?aid=2912824}{patch #2912824})
\b Added $\{NSIS_PACKEDVERSION\}, the NSIS version packed in a hex number (\W{http://sourceforge.net/support/tracker.php?aid=2680832}{patch #2680832})