Archive: Problem with SetCurInstType


Problem with SetCurInstType
I want to change current install type before component page, but not work. These is a min script. Using NSIS v2.06.


Very strange


If you wanted to get the Full install type, you should have used SetCurInstType 3, not 4. SetCurInstType works with 0 based indexes. But even if you use 3, you'll get the Recommended install type because they are identical.


I want to set InstType to "Previous", and the index is 5 - 1 = 4, but "SetCurInstType 4" always set "Minimum" to current InstType. What wrong for me?


Your problem is that minimal and previous are identical.