When I click to select any RadioButton in Group2 then RadioButton in the Group1 become unchecked.
So, how to create 2 RadioButton groups by nsDialogs without affecting each other ? (on 1 page).
This is my code:
!include "MUI2.nsh"
Page custom BASIC_OPTIONS_Create
!insertmacro MUI_LANGUAGE "English"
Section "Main Section" SECTION1
SectionEnd
Var /GLOBAL Arial_9_Normal
Var /GLOBAL Arial_9_Bold
Function BASIC_OPTIONS_Create
CreateFont $Arial_9_Normal 'Arial' '9.25' '400'
CreateFont $Arial_9_Bold 'Arial' '9.25' '700'
nsDialogs::Create 1044
Pop $1
${If} $1 == error
Abort
${EndIf}
SendMessage $1 ${WM_SETFONT} $Arial_9_Normal 0
${NSD_CreateLabel} 6.58u 43u 320u 10u 'Group1'
Pop $1
SendMessage $1 ${WM_SETFONT} $Arial_9_Bold 0
${NSD_CreateRadioButton} 10u 58u 310u 10u 'Install1'
${NSD_CreateRadioButton} 10u 73u 310u 10u 'Install2'
${NSD_CreateRadioButton} 10u 88u 310u 10u 'Install3'
${NSD_CreateLabel} 6.58u 110u 320u 10u 'Group2'
Pop $1
SendMessage $1 ${WM_SETFONT} $Arial_9_Bold 0
${NSD_CreateRadioButton} 10u 125u 310u 10u 'Get1'
${NSD_CreateRadioButton} 10u 140u 310u 10u 'Get2'
${NSD_CreateRadioButton} 10u 155u 310u 10u 'Get3'
nsDialogs::Show
FunctionEnd