Special Builds: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
No edit summary
No edit summary
Line 10: Line 10:
[http://prdownloads.sourceforge.net/nsis/nsis-{{NSISVersion}}-log.zip?download Download advanced logging build]
[http://prdownloads.sourceforge.net/nsis/nsis-{{NSISVersion}}-log.zip?download Download advanced logging build]


[http://prdownloads.sourceforge.net/nsis/nsis-3.0a0-log.zip?download Download advanced logging build for 3.0a0]
{{#ifeq:{{NSISIsPreRelease}}|yes|
[http://prdownloads.sourceforge.net/nsis/nsis-{{NSISPreVersion}}-log.zip?download Download advanced logging build for {{NSISPreVersion}}]
}}


=== Build Command ===
=== Build Command ===
Line 22: Line 24:
[http://prdownloads.sourceforge.net/nsis/nsis-{{NSISVersion}}-strlen_8192.zip?download Download large strings build]
[http://prdownloads.sourceforge.net/nsis/nsis-{{NSISVersion}}-strlen_8192.zip?download Download large strings build]


[http://prdownloads.sourceforge.net/nsis/nsis-3.0a0-strlen_8192.zip?download Download large strings build for 3.0a0]
{{#ifeq:{{NSISIsPreRelease}}|yes|
[http://prdownloads.sourceforge.net/nsis/nsis-{{NSISPreVersion}}-strlen_8192.zip?download Download large strings build for {{NSISPreVersion}}]
}}


=== Build Command ===
=== Build Command ===


   scons NSIS_MAX_STRLEN=8192 PREFIX=C:\somewhere install-compiler install-stubs
   scons NSIS_MAX_STRLEN=8192 PREFIX=C:\somewhere install-compiler install-stubs

Revision as of 01:10, 20 May 2013

You can recompile NSIS with a custom configuration to remove features you are not using (to decrease the overhead size), to enable features that are not enabled by default (like advanced logging) or to change advanced settings of compression methods and variables. For available configurations, use scons --help before building.

For the users without a building environment, some special builds of makensis.exe are provided here. These builds are only compatible with NSIS 3.10 (older versions). Always make sure you extract the stubs files as well as they are part of makensis.

Advanced logging

This build includes advanced logging features that allow you create an exact log of all installer actions (see the users manual for details). You can use it if you want testers or users to send installation reports.

Download advanced logging build


Build Command

 scons NSIS_CONFIG_LOG=yes PREFIX=C:\somewhere install-compiler install-stubs

Large strings

If you are working with large strings use this build which has a maximum string length of 8192 bytes instead of the default of 1024 bytes.

Download large strings build


Build Command

 scons NSIS_MAX_STRLEN=8192 PREFIX=C:\somewhere install-compiler install-stubs