View Single Post
Old 25th April 2009, 12:37   #121
Afrow UK
Afrow UK's Avatar
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
TobbeSweden, late reply but looking at the NSISArray script header of course you cannot use an ErrorStyle of 2. Using 2 stops the plugin pushing errors to the stack but of course the script macros are still popping the same number of elements. Hence why your problem occurs as it is expecting 4 items on the stack but only gets 3.

What you should have used was the ArrayErrorStyle macro which has 3 possible values: MsgBox, LogWin and Off. All 3 options still push items to the stack and therefore do not break any of the script header macros.

Edit: Will upload new version later with fixed SearchI/ExistsI.
Edit #2: Uploaded.

Afrow UK is offline   Reply With Quote