But now I'm getting a "bus error". It occurs when makensis tries to add a large (22M) file to the installer. I know it's daft to include a 22M file in a windows installer, but it's part of the Sun JVM and there's pressure to distribute the JVM with the app, rather than make people download it separately. Please don't just tell me this is a bad idea - I know that already.
In an attempt to narrow down the problem, I created this script:
And here's the output when I run it:
$cat test.nsi
SetCompress off
Section
File /r jre/lib/rt.jar
SectionEnd
I'm using a version of makensis built yesterday from cvs code.$ makensis /V4 test.nsi
MakeNSIS v2.01 - Copyright 1999-2004 Nullsoft, Inc.
Portions Copyright (C) 1995-1998 Jean-loup Gailly and Mark Adler (zlib).
Portions Copyright (C) 1996-2002 Julian R Seward (bzip2).
Portions Copyright (C) 1999-2003 Igor Pavlov (lzma).
Contributors: nnop@newmail.ru, Ryan Geiss, Andras Varga, Drew Davidson,
Peter Windridge, Dave Laundon, Robert Rainwater, Yaroslav Faybishenko, Jeff Doozan,
Amir Szekely, Ximon Eighteen, et al.
Processing config:
Processing plugin dlls: "NSIS/Plugins/*.dll"
... lots of dlls ...
!define: "MUI_INSERT_NSISCONF"=""
Changing directory to: ...
Processing script file: "test.nsi"
SetCompress: off
Section: ""
File: "rt.jar"Bus error