Commit 3a23265
committed
fix(build): use WiX 4/5 attribute syntax for Component Condition
The WXS template declared xmlns="http://wixtoolset.org/schemas/v4/wxs"
but used WiX 3 syntax (<Condition>SOMEPROP</Condition> as a child of
<Component>). WiX 4 and later expect the condition as a Component
attribute. The build now fails with `WIX0005: The Component element
contains an unexpected child element 'Condition'`. Move the
ICINGA2_SERVICE_FOUND check from a child element to an attribute.
Validated against the v2.2.1 WXS, which used the same nested Directory
structure and Component-with-only-ServiceControl pattern successfully.
The Property/RegistrySearch addition from the October 2025 rewrite uses
standard WiX 4/5 syntax and stays.1 parent 7982d2e commit 3a23265
1 file changed
Lines changed: 1 addition & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
41 | | - | |
| 40 | + | |
42 | 41 | | |
43 | 42 | | |
44 | 43 | | |
| |||
0 commit comments