Failure when compiling a big installer: Difference between revisions
From NSIS Wiki
Jump to navigationJump to search
m (Updated author and download links, and changed format of some pages.) |
m (Updated author links.) |
||
Line 1: | Line 1: | ||
{|align=right | |||
|<small>Author: [[{{ns:2}}:virtlink|virtlink]] ([[{{ns:3}}:virtlink|talk]], [[{{ns:-1}}:Contributions/virtlink|contrib]])</small> | |||
|} | |||
<br style="clear:both;"> | |||
; Issue | ; Issue | ||
: Compiler errosr when trying to compile very large installers. | : Compiler errosr when trying to compile very large installers. | ||
Line 13: | Line 17: | ||
:*Try changing the value of FileBufSize | :*Try changing the value of FileBufSize | ||
:*Use a system with Windows 2000, XP or 2003 | :*Use a system with Windows 2000, XP or 2003 | ||
Revision as of 02:56, 30 April 2005
Author: virtlink (talk, contrib) |
- Issue
- Compiler errosr when trying to compile very large installers.
- Cause
- NSIS can theoretically compile installers with a size up to 2 Gb. However, the system hardware and operating system may also limit the size.
- Solution
- If possible, it is always better to keep large datafiles separate from the installer. This will generally improve performance. You can decompress external files using plug-ins such as ExtractDLL or ZipDLL.
- If you want everything to be in one executable file, try the following:
- Use SetCompression /SOLID
- Decrease the compression level or dictionary size
- Try changing the value of FileBufSize
- Use a system with Windows 2000, XP or 2003