title: Custom radio-button INI page via Eclipse
body: <p>I'm using Eclipse's create InstallOptions menu to create a custom INI page with radio-buttons for repackaging the Blackberry Desktop installer.</p>
  <p>There are 2 sections for each type: &quot;Internet&quot; and &quot;Enterprise&quot;.</p>
  <p>I need a user to select 1 of the 2 options and depending on their selection, the page will carry over the selection chosen in the custom page, jump to the INSTFILES page, and continue onto the end.</p>
  <p>I couldn't find any concrete documentation on getting INI pages to load in the script (I'm probably searching incorrectly), and then pass data from one page to the next (according to fields I guess?)</p>
  <p>Any help is appreciated. Even if it's to tell me I'm blind and can't read a doc (though a link would help :) )</p>
  <p>Here's the INI code:</p>
  <hr />
  <p>; Auto-generated by EclipseNSIS InstallOptions Script Wizard<br>
  ; Jul 29, 2009 5:42:56 PM<br></p>
  <p>[Settings]<br>
  NumFields=7<br>
  Title=RIM BlackBerry Desktop 5.0 installation<br>
  CancelEnabled=1<br></p>
  <p>[Field 1]<br>
  Type=RadioButton<br>
  Left=15<br>
  Top=28<br>
  Right=100<br>
  Bottom=38<br>
  Text=Internet<br>
  State=<br>
  Flags=NOTIFY<br></p>
  <p>[Field 4]<br>
  Type=RadioButton<br>
  Left=15<br>
  Top=95<br>
  Right=100<br>
  Bottom=105<br>
  Text=Enterprise<br>
  Flags=NOTIFY<br></p>
  <p>[Field 2]<br>
  Type=GroupBox<br>
  Left=0<br>
  Top=10<br>
  Right=300<br>
  Bottom=75<br>
  Text=<br></p>
  <p>[Field 5]<br>
  Type=Label<br>
  Left=30<br>
  Top=42<br>
  Right=235<br>
  Bottom=52<br>
  Text=For users who are NOT on the Enterprise (Exchange) server<br></p>
  <p>[Field 6]<br>
  Type=Label<br>
  Left=30<br>
  Top=111<br>
  Right=235<br>
  Bottom=121<br>
  Text=Choose this only if you are on the Exchange server<br></p>
  <p>[Field 3]<br>
  Type=GroupBox<br>
  Left=0<br>
  Top=75<br>
  Right=300<br>
  Bottom=140<br></p>
  <p>[Field 7]<br>
  Type=Label<br>
  Left=0<br>
  Top=0<br>
  Right=130<br>
  Bottom=10<br>
  Text=Please choose your installation method<br></p>
  <hr />
  <p>...And here's the NSI code:</p>
  <hr />
  <p>Auto-generated by EclipseNSIS Script Wizard<br>
  Jul 29, 2009 5:42:16 PM<br></p>
  <p>Name &quot;BlackBerry Desktop&quot;<br></p>
  <p>RequestExecutionLevel admin<br></p>
  <p>General Symbol Definitions<br>
  !define VERSION 5.0.0.11<br>
  !define COMPANY RIM<br>
  !define URL <a href="http://www.blackberry.com" rel="nofollow noreferrer">http://www.blackberry.com</a><br></p>
  <p>MUI Symbol Definitions<br>
  !define MUI_ICON BBD.ico<br>
  !define MUI_LICENSEPAGE_RADIOBUTTONS<br></p>
  <p>Included files<br>
  !include Sections.nsh<br>
  !include MUI2.nsh<br></p>
  <p>Reserved Files<br>
  ReserveFile &quot;${NSISDIR}\Plugins\AdvSplash.dll&quot;<br></p>
  <p>Installer pages<br>
  !insertmacro MUI_PAGE_WELCOME<br>
  !insertmacro MUI_PAGE_LICENSE license.txt<br>
  !insertmacro MUI_PAGE_COMPONENTS<br>
  !insertmacro MUI_PAGE_INSTFILES<br>
  !insertmacro MUI_PAGE_FINISH<br>
  Installer languages<br>
  !insertmacro MUI_LANGUAGE English<br></p>
  <p>Installer attributes<br>
  OutFile RIM_BlackBerry_Desktop_5.0.exe<br>
  InstallDir &quot;$TEMP\RIM BlackBerry Desktop 5.0 Setup Files&quot;<br>
  CRCCheck on<br>
  XPStyle on<br>
  ShowInstDetails hide<br>
  VIProductVersion 5.0.0.11<br>
  VIAddVersionKey /LANG=${LANG_ENGLISH} ProductName &quot;BlackBerry Desktop&quot;<br>
  VIAddVersionKey /LANG=${LANG_ENGLISH} ProductVersion &quot;${VERSION}&quot;<br>
  VIAddVersionKey /LANG=${LANG_ENGLISH} CompanyName &quot;${COMPANY}&quot;<br>
  VIAddVersionKey /LANG=${LANG_ENGLISH} CompanyWebsite &quot;${URL}&quot;<br>
  VIAddVersionKey /LANG=${LANG_ENGLISH} FileVersion &quot;${VERSION}&quot;<br>
  VIAddVersionKey /LANG=${LANG_ENGLISH} FileDescription &quot;&quot;<br>
  VIAddVersionKey /LANG=${LANG_ENGLISH} LegalCopyright &quot;&quot;<br></p>
  <p>Installer sections<br>
  Section /o Main SEC0000<br>
  SetOutPath $INSTDIR<br>
  SetOverwrite ifdiff<br>
  ; TESTING PHASE    <br>
  SectionEnd<br></p>
  <p>SectionGroup /e &quot;BlackBerry Desktop Section&quot;<br>
  Section /o Internet SEC0001<br>
  SetOutPath $INSTDIR\DRIVERS<br>
  SetOverwrite ifdiff<br>
  ;    Execwait 'msiexec /i &quot;$INSTDIR\BlackBerry USB and Modem Drivers_ENG (DM5.0b28).msi&quot; /passive'    <br>
  SetOutPath $INSTDIR<br>
  SetOverwrite ifdiff<br>
  ;    File /r *<br>
  ;    ExecWait '&quot;$INSTDIR\Setup.exe&quot; /S/v/qb!'<br>
  SectionEnd<br></p>
  <p>Section /o Enterprise SEC0002<br>
  SetOutPath $INSTDIR\DRIVERS<br>
  SetOverwrite ifdiff<br>
  ;    Execwait 'msiexec /i &quot;$INSTDIR\BlackBerry USB and Modem Drivers_ENG (DM5.0b28).msi&quot; /passive'  <br>
  SetOutPath $INSTDIR<br>
  SetOverwrite ifdiff<br>
  ;    File /r * <br>
  ;    Delete /REBOOTOK &quot;$INSTDIR\Setup.ini&quot; <br>
  ;    Rename /REBOOTOK &quot;$INSTDIR\Setup_Enterprise.ini&quot; &quot;$INSTDIR\Setup.ini&quot; <br>
  ;    ExecWait '&quot;$INSTDIR\Setup.exe&quot; /S/v/qb!' <br>
  SectionEnd <br>
  SectionGroupEnd <br></p>
  <p>Section Descriptions <br>
  !insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN <br>
  !insertmacro MUI_DESCRIPTION_TEXT ${SEC0000} $(SEC0000_DESC) <br>
  !insertmacro MUI_DESCRIPTION_TEXT ${SEC0001} $(SEC0001_DESC) <br>
  !insertmacro MUI_FUNCTION_DESCRIPTION_END <br></p>
  <p>Installer Language Strings <br>
  TODO Update the Language Strings with the appropriate translations. <br></p>
  <p>LangString SEC0000_DESC ${LANG_ENGLISH} &quot;Installation for non-Exchange/Enterprise BlackBerry Users&quot; <br>
  LangString SEC0001_DESC ${LANG_ENGLISH} &quot;Installation for Exchange/Enterprise BlackBerry Users&quot; <br></p>