Archive: Please help with InstallOptions: How to change the form?


Please help with InstallOptions: How to change the form?
Hi NSIS users,

I'm creating the custom form for my installer. The form contains the combo box. The value is checked after it has been selected and another field should become invisible. I tried to perform following call:

    WriteINIStr "$PLUGINSDIR\myform.ini/" "Field 10" "Flags" "DISABLED"


But it doesn't work. The element is still active. Then I tried to put the value in the text box. I used this code:

WriteINIStr "$PLUGINSDIR\myform.ini/" "Field 4" "Text" "111111111111"


The element was not changed. But when the value is requested with using of ReadINIStr then it is received correctly.

Is it needed to refresh the form in someway? I tried to find it in the documentation, but I could not. I saw only how to read values, but it is not said how to change form in the run-time.

Please help.
Eugene.

You'd need to study the included example testnotify.nsi, it shows how to do that.

Also a similar example posted at wiki,

http://nsis.sourceforge.net/InstallO...of_NOTIFY_Flag


SendMessage is what I need
Yes, I see it now.
Thanks.