diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/burn/engine/search.cpp | 3 | ||||
| -rw-r--r-- | src/xsd/util.xsd | 5 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/burn/engine/search.cpp b/src/burn/engine/search.cpp index 626ffb28..1f128e95 100644 --- a/src/burn/engine/search.cpp +++ b/src/burn/engine/search.cpp | |||
| @@ -1252,7 +1252,8 @@ static HRESULT MsiProductSearch( | |||
| 1252 | hr = BVariantChangeType(&value, type); | 1252 | hr = BVariantChangeType(&value, type); |
| 1253 | ExitOnFailure(hr, "Failed to change value type."); | 1253 | ExitOnFailure(hr, "Failed to change value type."); |
| 1254 | 1254 | ||
| 1255 | // Alter value here after value has changed to numberic type. | 1255 | // When testing if a product exists, replace the value with a numeric "true" or "false" |
| 1256 | // based on the calculated install state. | ||
| 1256 | if (BURN_MSI_PRODUCT_SEARCH_TYPE_EXISTS == pSearch->MsiProductSearch.Type) | 1257 | if (BURN_MSI_PRODUCT_SEARCH_TYPE_EXISTS == pSearch->MsiProductSearch.Type) |
| 1257 | { | 1258 | { |
| 1258 | value.llValue = (value.llValue == INSTALLSTATE_ABSENT) ? 0 : 1; | 1259 | value.llValue = (value.llValue == INSTALLSTATE_ABSENT) ? 0 : 1; |
diff --git a/src/xsd/util.xsd b/src/xsd/util.xsd index ef304762..99a1b58c 100644 --- a/src/xsd/util.xsd +++ b/src/xsd/util.xsd | |||
| @@ -1346,7 +1346,10 @@ | |||
| 1346 | </xs:enumeration> | 1346 | </xs:enumeration> |
| 1347 | <xs:enumeration value="exists"> | 1347 | <xs:enumeration value="exists"> |
| 1348 | <xs:annotation> | 1348 | <xs:annotation> |
| 1349 | <xs:documentation>Saves true if a matching product entry is found; false otherwise.</xs:documentation> | 1349 | <xs:documentation> |
| 1350 | [WiX v7 and later] | ||
| 1351 | Saves true if a matching product entry is found (non-absent); false otherwise. | ||
| 1352 | </xs:documentation> | ||
| 1350 | </xs:annotation> | 1353 | </xs:annotation> |
| 1351 | </xs:enumeration> | 1354 | </xs:enumeration> |
| 1352 | </xs:restriction> | 1355 | </xs:restriction> |
