7 ;--------------------------------
10 Function PageReinstall
12 ;Check whether this version is already installed
14 ReadRegStr $R0 SHELL_CONTEXT ${APP_REGKEY} "Version"
16 ${if} $R0 != "${APP_VERSION}"
20 !insertmacro MUI_HEADER_TEXT $(TEXT_REINSTALL_TITLE) $(TEXT_REINSTALL_SUBTITLE)
21 !insertmacro MUI_INSTALLOPTIONS_DISPLAY "reinstall.ini"
25 Function PageReinstallValidate
27 !insertmacro MUI_INSTALLOPTIONS_READ $R0 "reinstall.ini" "Field 2" "State"
30 !insertmacro SelectSection ${SecCore}
32 !insertmacro UnselectSection ${SecCore}