Use a internal command to detect the CHM header because the !searchparse hack fails with a encoding error if the ACP codepage is 936.

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6853 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
anders_k 2017-04-25 13:58:43 +00:00
parent c8370fd064
commit e004b5893e
3 changed files with 22 additions and 9 deletions

View file

@ -161,7 +161,7 @@ ${MementoSection} "NSIS Core Files (required)" SecCore
File ..\makensisw.exe
File ..\COPYING
File ..\NSIS.chm
!searchparse /file "..\NSIS.chm" "ITSF" VALIDATE_CHM
!pragma verifychm "..\NSIS.chm"
File ..\NSIS.exe
!if /FileExists "..\NSIS.exe.manifest"
File "..\NSIS.exe.manifest"