anyone can help figuring out why is this failing? 🤪
im drawing blank now for days; im baffled by this odd behavior when it shoudl be straight forward 😱
FileOpen $0 "$TEMP\tmp.txt" "r"
FileRead $0 $1
FileClose $0
Delete $TEMP\tmp.txt
// everything is working OK to this point
// $1 contains the text from tmp.txt (single word VALID or INVALID)
// then it all goes south from here; doesn't matter what i do i end up on VALID
// LogicLib is in place and functioning for other element just fine in other sections of the script
// i tried StrCmp instead on ly to get the same exact behavior; always INVALID,
${If} $1 == "INVALID"
MessageBox MB_OK "INVALID"
Abort
${Else}
MessageBox MB_OK "VALID"
${EndIf} TIAChris
