WiX Version
4.0.6
.NET or MSBuild or Visual Studio Version
.NET 9.0.102
HeatWave Version
Not installed
Windows Version
Win10 22H2
Repro Repo
No response
Repro Steps
- Create WXS including a FirewallException element with attribute "Enabled" (does not matter if value is "yes" or "no").
- Execute command to build msi from wxs (dotnet wix build -ext "WixToolset.Firewall.wixext" Example.wxs -o Example.msi).
Additional notes:
- WXS file generated with WixSharp 2.4.3.0
- User-global installed (via flag -g) wix extension is WixToolset.Firewall.wixext version 4.0.6
Actual Result
Build fails with: "error WIX0004: The FirewallException element contains an unexpected attribute 'Enabled'."
Expected Result
According to the Firewall Schema, the attribute Enabled should be expected and not produce this error.
This unexpected result was already asked about by another user within discussions (currently without answers): https://github.com/orgs/wixtoolset/discussions/8925
Thanks for looking into it!
Acknowledgements
WiX Version
4.0.6
.NET or MSBuild or Visual Studio Version
.NET 9.0.102
HeatWave Version
Not installed
Windows Version
Win10 22H2
Repro Repo
No response
Repro Steps
Additional notes:
Actual Result
Build fails with: "error WIX0004: The FirewallException element contains an unexpected attribute 'Enabled'."
Expected Result
According to the Firewall Schema, the attribute
Enabledshould be expected and not produce this error.This unexpected result was already asked about by another user within discussions (currently without answers): https://github.com/orgs/wixtoolset/discussions/8925
Thanks for looking into it!
Acknowledgements