Creating Setup of large data with NSIS Script

风流意气都作罢 提交于 2019-12-10 23:46:30

问题


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 ?


回答1:


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...



来源:https://stackoverflow.com/questions/21108762/creating-setup-of-large-data-with-nsis-script

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!