Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Creating Setup of large data with NSIS Script

I am creating setup of large data approximetly 10 GB with NSIS Script and trying to create a single setup (exe). Its giving an Error -

Internal compiler error #12345: error mmapping file (xxxxxxxxxx, xxxxxxxx) is out of range.

Note: you may have one or two (large) stale temporary file(s) left in your temporary directory (Generally this only happens on Windows 9x).

Please tell me how to solve this issue ? Is there any other way to create a setup for this kinda situation ?

like image 763
Abhit Avatar asked Oct 27 '25 04:10

Abhit


2 Answers

I have used https://sourceforge.net/projects/nsisbi/ instead of normal NSIS. It solved the problem.

like image 167
bahadirdogru Avatar answered Oct 30 '25 23:10

bahadirdogru


NSIS installers are limited to 2Gb.

If you absolutely need it to be one file and you want to continue to use NSIS you have to append the data to the end of the generated setup. I'm not sure I would recommend that approach but it could work if the appended data is a zip file (or some other format with the header at the end) and you use one of the NSIS zip plugins to extract at run-time...

like image 38
Anders Avatar answered Oct 31 '25 00:10

Anders