Archive: Mui_unpage_components


Mui_unpage_components
I want to make Uninstall components page


SubSection "Uninstall"

Section "Full" g1o1
SectionEnd

Section /o "Custom" g1o2
SectionEnd

SubSectionEnd

Function .onInit
StrCpy $1 ${g1o1}
FunctionEnd

Function .onSelChange
!insertmacro StartRadioButtons $1
!insertmacro RadioButton ${g1o1}
!insertmacro RadioButton ${g1o2}
!insertmacro EndRadioButtons
FunctionEnd


but compiler says you must close "Uninstall" section first

SubSection "Uninstall"
SubSectionEnd

Section "Full" g1o1
SectionEnd

Section /o "Custom" g1o2
SectionEnd

Function .onInit
StrCpy $1 ${g1o1}
FunctionEnd

Function .onSelChange
!insertmacro StartRadioButtons $1
!insertmacro RadioButton ${g1o1}
!insertmacro RadioButton ${g1o2}
!insertmacro EndRadioButtons
FunctionEnd


but when i do that sections "Full" and "Custom" in MUI_PAGE_COMPONENTS now. What i do wrong? Please help. :(

The uninstaller sections should start with the .un prefix.

The section called "Uninstall" will always be executed and is hidden (it's the same as a hidden section with the un. prefix).


Thanks for help. It works very good now.