From 838d10a319d0c35ed71fcd3e14d2a830883dbbbd Mon Sep 17 00:00:00 2001 From: Bob Arnson Date: Sun, 7 Mar 2021 19:28:18 -0500 Subject: Correctly handle missing/null values with ~<> operator. (That's case-insensitive non-equal.) Fixes https://github.com/wixtoolset/issues/issues/5372 --- src/engine/condition.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/engine') diff --git a/src/engine/condition.cpp b/src/engine/condition.cpp index 316224db..56fe76c2 100644 --- a/src/engine/condition.cpp +++ b/src/engine/condition.cpp @@ -896,7 +896,7 @@ static HRESULT CompareOperands( else { // not a combination that can be compared - *pfResult = (BURN_SYMBOL_TYPE_NE == comparison); + *pfResult = (BURN_SYMBOL_TYPE_NE == comparison || BURN_SYMBOL_TYPE_NE_I == comparison); } LExit: -- cgit v1.2.3-55-g6feb