fix(msi): move Custom element conditions to Condition attribute (WIX0400)

WiX v7 requires conditions to be set via the Condition attribute,
not as inner text of the Custom element.
This commit is contained in:
Laurent Trinques
2026-05-21 03:00:49 +02:00
parent 9760288db6
commit 96b8e4b19c

View File

@@ -130,8 +130,8 @@
Return="ignore" /> Return="ignore" />
<InstallExecuteSequence> <InstallExecuteSequence>
<Custom Action="CA_ResolveElementsPath" After="InstallFiles">NOT Installed AND NOT REMOVE</Custom> <Custom Action="CA_ResolveElementsPath" After="InstallFiles" Condition="NOT Installed AND NOT REMOVE" />
<Custom Action="CA_SetElementsReadOnly" After="CA_ResolveElementsPath">NOT Installed AND NOT REMOVE</Custom> <Custom Action="CA_SetElementsReadOnly" After="CA_ResolveElementsPath" Condition="NOT Installed AND NOT REMOVE" />
</InstallExecuteSequence> </InstallExecuteSequence>
<!-- ============================================================ <!-- ============================================================