Arrays in NSIS: Difference between revisions

From NSIS Wiki
Jump to navigationJump to search
Line 12: Line 12:


== NSISArray plug-in ==
== NSISArray plug-in ==
The plug-in features full array support for NSIS, though not with native commands.
The plug-in features full '''dynamic''' array support for NSIS, though not with native commands.
The .dll file handles everything related to the arrays on runtime.
The .dll file handles everything related to the arrays on runtime.



Revision as of 22:27, 6 June 2007

Author: Afrow UK (talk, contrib)


NSIS is currently missing array support. There are only single-dimensional variables, no arrays or structures of any kind.

A feature request has been submitted to fix this issue and add array support to NSIS [1].

Meanwhile, two solutions have been created by Afrow UK, to work with arrays in NSIS:

Array Header File

The Array header (nsh) file is a collection of macros and functions that simulates arrays in native NSIS, but has been superseded by the NSISArray plug-in, which is faster, uses less resources and offers more advanced options (below).

NSISArray plug-in

The plug-in features full dynamic array support for NSIS, though not with native commands. The .dll file handles everything related to the arrays on runtime.

NSISArray.zip (99 KB) Also includes documentation and example files

Links