Anyways, here is my problem:
I've created an installer and now there have to be some extra options. I have 4 sections and 4 fields which have to write in 2 files. A .txt file and a .cmd file.
The first 2 fields aren't a problem as they need to be filled in always. But the last to 2 fields should be hidden or grayed-out when sec04 is unchecked.
So SEC04 brings the .cmd file and then the last 2 fields are needed to fill in.
!insertmacro MUI_INSTALLOPTIONS_WRITE "ihm.ini" "Field 6" "State" $HOST
!insertmacro MUI_INSTALLOPTIONS_WRITE "ihm.ini" "Field 2" "State" $SERVER
!insertmacro MUI_INSTALLOPTIONS_WRITE "ihm.ini" "Field 8" "State" $DLC
!insertmacro MUI_INSTALLOPTIONS_WRITE "ihm.ini" "Field 10" "State" $DBMTC Section "MM" SEC04 So what I was thinking was something like if SEC04 is Checked then show the last 2 fields: Field 8 en Field 10.Attached is a picture of the four fields I'm reffering to.
I hope you can help me with my sucky english :-)
If you have any questions left, let me know!