Severity of this bug promoted to 'grave' because further tests show that generated installers may not work at all:

Testcase:

$ cat /etc/debian_version
12.1

$ makensis -VERSION
v3.08-3

$ cat test.nsi
RequestExecutionLevel user
Section "Test"
  MessageBox MB_OK "Hello, World!"
SectionEnd

$ makensis test.nsi
...

$ objdump -p test-debian.exe >/dev/null
BFD: error: test-debian.exe(.reloc) is too large (0x8e4 bytes)


If test.exe is started on a Windows machine, CreateProcess() fails with GetLastError()==193 (ERROR_BAD_EXE_FORMAT).

The same installer built with upstream NSIS 3.09 on Windows is much smaller and works:

-rwxr-xr-x 1 ... 94699 Aug 24 09:45 test.exe
-rwxr-xr-x 1 ... 38886 Aug 24 09:43 test-built-on-windows.exe

Reply via email to