Archive: Problem making installer with large files


Problem making installer with large files
Hey guys/gals

I just started using NSIS and love the program.
Been using it without problems...until i started making a Exe installer using zip2Exe of a 1.8gig zip file.

I get this error. Something of a too large stale temp file?
:cry: and then gives me a code of "12345"?
Also, the NSIS keeps on using my C:\ drive as the temp.
How can i change it?

Ta


Search the forum for "12345" and you get a few topics.
It's meant to occur when you don't have enough available space left on the hard drive that has your temp folder on it, but people have had it when they've had loads of space left too.

-Stu


NSIS uses the temporary directory defined by Windows. NSIS installers are capped at about 2GB. You've probably reached that limit if you get compiler error #12345. You can use external files and copy them using CopyFiles or extract them using one of the many plug-ins available for this task.


Ta for the replys

OK, so thats my problem.
I've got enough hardrive space and still get this error...so it must b my 2gb cap giving me this problem.

@kichik,
Will "CopyFiles" sort out my problem? And what does it do?
Also (sorry for all the questions:D)can Zip2exe make a split or spanned installer?

Ta


With CopyFiles you could simply inclide the files outside your installer and then use CopyFiles to copy them to the correct location. This will only be a good idea for CD/DVD distributions though.

For example:
$EXEDIR will be the CD/DVD drive if the setup.exe file is on the root of the CD...
CopyFiles "$EXEDIR\Data\*.*" "$INSTDIR"

-Stu