{I+=codeWee;}
[NSIS] NSIS : How to Resolve 2GB Limit by 7z plugin (Internal compiler error #12345: error mmapping file () is out of range)q
1. Download Nsis7z plug-in (https://nsis.sourceforge.io/Nsis7z_plug-in)
2. Install Nsis7z plug-in to NSIS Program Plugins Path(C:\Program Files (x86)\NSIS\Plugins)
3. Compress your big data folder to xxx.7z by 7zip.
4. Write following in your nsi file.


Function CallbackUn7zip
  Pop $R8
  Pop $R9

  SetDetailsPrint textonly
  DetailPrint "Extracting $R8 / $R9..."
  SetDetailsPrint both
FunctionEnd

Section ...

  ...
  GetFunctionAddress $R9 CallbackUn7zip
  Nsis7z::ExtractWithCallback "$EXEDIR\xxx.7z" $R9

  ...
SectionEnd



5. Distribute your setup exe file with the xxx.7z file after compile the nsi



HTML | PHP | C++ | DirectX11 | Javascript | C# | HTML5 | ASP | SQL | General | CSS | Oculus Rift | Unity3d | Virtools SDK | Tip | NSIS | PowerShell | node.js | Web API | RTSP | All
Copyright© 2016 CodeWee.com All rights reserved.