Old 25th June 2007, 12:43   #1
rippi
Junior Member
 
Join Date: Jun 2007
Posts: 2
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:

code:
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:

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.
rippi is offline   Reply With Quote
Old 25th June 2007, 13:53   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
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

Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 26th June 2007, 05:32   #3
rippi
Junior Member
 
Join Date: Jun 2007
Posts: 2
SendMessage is what I need

Yes, I see it now.
Thanks.
rippi is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump