Fix DLL Hijacking Vulnerability

Closes #2086

DLL Hijacking Vulnerability is present in old version of NSIS. This
issue is fixed by updating new version of NSIS to build Notepad++
installer.
pull/2141/head
Don HO 2016-08-03 20:01:52 +02:00
parent 8b0f5165d2
commit f8a24efa90
1 changed files with 2 additions and 1 deletions

View File

@ -173,7 +173,8 @@ If ErrorLevel 1 goto End
If ErrorLevel 1 goto End
"C:\Program Files\7-Zip\7z.exe" a -r .\build\npp.bin.7z .\zipped.package.release\*
If ErrorLevel 1 goto End
IF EXIST "%PROGRAMFILES(X86)%" ("%PROGRAMFILES(x86)%\NSIS\Unicode\makensis.exe" nppSetup.nsi) ELSE ("%PROGRAMFILES%\NSIS\Unicode\makensis.exe" nppSetup.nsi)
rem IF EXIST "%PROGRAMFILES(X86)%" ("%PROGRAMFILES(x86)%\NSIS\Unicode\makensis.exe" nppSetup.nsi) ELSE ("%PROGRAMFILES%\NSIS\Unicode\makensis.exe" nppSetup.nsi)
IF EXIST "%PROGRAMFILES(X86)%" ("%PROGRAMFILES(x86)%\NSIS\makensis.exe" nppSetup.nsi) ELSE ("%PROGRAMFILES%\NSIS\makensis.exe" nppSetup.nsi)
rem Notepad++ Unicode package
rmdir /S /Q .\zipped.package.release