Unable to get Next Button to work
Hi,
I have a custom page here which should ask the user what they want to install / uninstall
However it never allows a user to click on the Next button
The next button is displayed, but greyed out... how do I ungrey it!!!!
Help!!!
Nniol
All my code for the window here....
Page custom CreateOptionDialog "" ": Choose Installer Function?"
Page instfiles
########################################
# CreateOptionDialog
########################################
Function CreateOptionDialog
InstallOptions::dialog $PLUGINSDIR\InstOptions.ini
Pop $R1
StrCmp $R1 "cancel" done
StrCmp $R1 "back" done
StrCmp $R1 "success" done
error: MessageBox MB_OK|MB_ICONSTOP "InstallOptions error:$\r$\n$R1"
done:
FunctionEnd
########################################
# .onInit
########################################
Function .onInit
Push "ODSUpgrdae_Log"
Call OpenLogFile
; .... more stuff
InitPluginsDir
File /oname=$PLUGINSDIR\InstOptions.ini InstOptions.ini
; ... more stuff
FunctionEnd
------
InstOptions.ini
[Settings]
NumFields=4
Title=ODS Upgrade
CancelEnabled=1
CancelShow=1
BackEnabled=0
CancelButtonText=Cancel
NextButtonText=&Next
[Field 1]
Type=Groupbox
Text=Select which task you wish to perform:
Left=0
Right=246
Top=0
Bottom=76
[Field 2]
Type=RadioButton
Text=Undo - attempt to restore the previous installation
Flags=GROUP
Left=10
Right=203
Top=14
Bottom=25
State=1
[Field 3]
Type=RadioButton
Text=Uninstall - remove current installation
Left=10
Right=203
Top=28
Bottom=40
[Field 4]
Type=RadioButton
Text=Upgrade - Attempt to install version 3.2 of DocBroker
Left=10
Right=203
Top=44
Bottom=54