${If} "$var_DB_TOOLS_INSTALLED" == "1"
;DO A
${Else}
;DO B
${EndIf}
The code never gets into ';DO A' so therefore I know I'm evaluating the variable wrong.Any ideas?
2 posts
${If} "$var_DB_TOOLS_INSTALLED" == "1"
;DO A
${Else}
;DO B
${EndIf}
The code never gets into ';DO A' so therefore I know I'm evaluating the variable wrong.Whereas I moved it to just before I was evaluating the variable i.e.:!insertmacro MUI_INSTALLOPTIONS_READ $var_DB_TOOLS_INSTALLED "Main_Screen_3.ini" "Field 3" "State"
!insertmacro MUI_INSTALLOPTIONS_READ $var_DB_TOOLS_INSTALLED "Main_Screen_3.ini" "Field 3" "State"
${If} "$var_DB_TOOLS_INSTALLED" == "1"
;DO A
${Else}
;DO B
${EndIf}