XhmikosR / notepad2-mod

LOOKING FOR DEVELOPERS - Notepad2-mod, a Notepad2 fork, a fast and light-weight Notepad-like text editor with syntax highlighting

Home Page:https://xhmikosr.github.io/notepad2-mod/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

make_zip.bat fail - 7za wasn't found!

rexx opened this issue · comments

Hi,
I have a problem running the make zip, it says 7za was not found.
I look into the script, in the subroutine SubDetectSevenzipPath, I removed the following two line and then it works for me.
rem FOR %%G IN (7za.exe) DO (SET "SEVENZIP_PATH=%%~$PATH:G")
rem IF EXIST "%SEVENZIP_PATH%" (SET "SEVENZIP=%SEVENZIP_PATH%" & EXIT /B)
I'm using 7-zip 9.20 and I don't have 7za.exe in C:\Program Files\7-Zip, there's only 7z.exe
I'm not sure why it won't fall to use registry way to detect the path, but after removing the above lines, it just works.

After updating to 7-zip 16.02, it works now..

It's your environment that lacked the needed registry keys anyway.