Archive: makensis-bz2.exe and no files bug


makensis-bz2.exe and no files bug
Hi!

I have discovred a bug in NSIS installers made with makensis-bz2.exe that contains no files (no File commands). After I compile them and run them it gives me an error saying "error reading installer info block".
It doesn't happen when I compile with makensis.exe.

I am using NSIS 1.92.

Example code:

OutFile bla.exe
InstallDir "F:\Temp\WinTemp"

Section Main
ExecShell "open" "http://kichik.********/"
MessageBox MB_OK "asdasd"
SectionEnd


KiCHiK

Ahh interesting, it's actually a bug in the padding code I think.
It works properly if you use CRCCheck off.

I'll look into fixing.

-Justin


That's odd. I get the same error with the pre-compiled executable. But when I recompiled using mingw with bzip2 turned on, I don't get the errors anymore.


Robert


Thanks justin, version 1.93 solved the bug.

KiCHiK