Custom button in InstallOptions
I'm writing code with MUI/InstallOptions referring to sample code "testnotify.nsi"
Custom buttons are added in INI file with "Flags=NOTIFY"
By "Page custom CustomPageNetwork LeaveCustomPageNetwork",
following function is called. But regardless of the button, always it shows "Custom Button". $0 seems to be zero always.
What should be done to detect what button is pressed or checked.
Function LeaveCustomPageNetwork
ReadINIStr $0 "ioNet.ini" "Settings" "State"
StrCmp $0 0 validate CCC ; Next button?
Abort ; Return to the page
CCC:
MessageBox MB_OK "Custom button"
Abort ; Return to the page
validate:
MessageBox MB_OK "Next button"
...
Thanks in advance
Scott