diff options
| author | Raul Metsma <raul@metsma.ee> | 2025-05-26 10:52:16 +0300 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2025-12-13 14:23:15 -0800 |
| commit | 56072818e7f18611ba7d5e717a6b3dafc952f440 (patch) | |
| tree | 9ba670ef6085179f979d084dc2175cbb0d757adc /src/ext | |
| parent | 48b80e2d67c1f98ab5fe4aee28d849e36a1828d9 (diff) | |
| download | wix-56072818e7f18611ba7d5e717a6b3dafc952f440.tar.gz wix-56072818e7f18611ba7d5e717a6b3dafc952f440.tar.bz2 wix-56072818e7f18611ba7d5e717a6b3dafc952f440.zip | |
Add exists option to ProductSearchResult for matching other search types
(e.g. FileSearch, DirectorySearch, RegistrySearch)
Signed-off-by: Raul Metsma <raul@metsma.ee>
Diffstat (limited to 'src/ext')
| -rw-r--r-- | src/ext/Util/wixext/UtilCompiler.cs | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ext/Util/wixext/UtilCompiler.cs b/src/ext/Util/wixext/UtilCompiler.cs index 1ad27322..919cc49b 100644 --- a/src/ext/Util/wixext/UtilCompiler.cs +++ b/src/ext/Util/wixext/UtilCompiler.cs | |||
| @@ -2736,8 +2736,11 @@ namespace WixToolset.Util | |||
| 2736 | case "assignment": | 2736 | case "assignment": |
| 2737 | type = WixProductSearchType.Assignment; | 2737 | type = WixProductSearchType.Assignment; |
| 2738 | break; | 2738 | break; |
| 2739 | case "exists": | ||
| 2740 | type = WixProductSearchType.Exists; | ||
| 2741 | break; | ||
| 2739 | default: | 2742 | default: |
| 2740 | this.Messaging.Write(ErrorMessages.IllegalAttributeValue(sourceLineNumbers, attrib.Parent.Name.LocalName, attrib.Name.LocalName, result, "version", "language", "state", "assignment")); | 2743 | this.Messaging.Write(ErrorMessages.IllegalAttributeValue(sourceLineNumbers, attrib.Parent.Name.LocalName, attrib.Name.LocalName, result, "version", "language", "state", "assignment", "exists")); |
| 2741 | break; | 2744 | break; |
| 2742 | } | 2745 | } |
| 2743 | break; | 2746 | break; |
