Archive: Installoptions_write


Installoptions_write
Hi,

I have a custom page for selecting installation method with 2 radio buttons. Initially the first button is selected. Say user selects second button and go to next page. Then returns back to the given custom page again by clicking Back button. In this case I need to keep second button (as user selected before) checked. So I use !insertmacro INSTALLOPTIONS_WRITE ..... to set the user selected option in the custome page function as follows.

!insertmacro INSTALLOPTIONS_WRITE "InstallationMethodsPage.ini" "Field 1" "State" 0
!insertmacro INSTALLOPTIONS_WRITE "InstallationMethodsPage.ini" "Field 2" "State" 1

But still it selects the default selected button.
Pls help..


There is no need to store the selected values manually.
It is done automatically.