Skip to content

Compilation fails due to invalid attribute "Enabled" for element "FirewallException" #8932

Description

@S1r0hub

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

  1. Create WXS including a FirewallException element with attribute "Enabled" (does not matter if value is "yes" or "no").
  2. 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

  • I acknowledge that this is a fully completed bug report. It is not a question or attempt to get help debugging my issue (because those should be sent to Discussions).

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions