3

I'm using WiX tool to harvest files and create an installer

The heat linker produces some warning LGHT1076, I tried adding -sw1076 to the command line to suppress the warning id 1076 but the warnings still show up on the console

EDIT

here the actual warning as displayed on the console:

components.wx s(436): warning LGHT1076: ICE60: The file fil7B3FA00E2521DBF8AC02D1673A643A1A is not a Font, and its version is not a companion file reference. It should have a language specified in the Langu age column

Gianluca Ghettini
  • 11,129
  • 19
  • 93
  • 159

1 Answers1

5

Wix project editor does not save suppress warnings values into the file. You need to add them manually. Open wixproj file in Notepad and add the following property group:

<PropertyGroup>
    <SuppressIces>ICE03</SuppressIces>
    <SuppressSpecificWarnings>1076</SuppressSpecificWarnings>
</PropertyGroup>
  • Add it where? Inside what other XML tag? – ixe013 Jun 04 '21 at 13:43
  • @ixe013: It must be placed inside the `Project` XML tag. Same level as other `PropertyGroup` or `ItemGroup` tags. – huha Jul 05 '22 at 08:03
  • I got a similar warning: **light.exe(0,0): warning LGHT1076: ICE03: String overflow...**. Either of the elements `1076` and `ICE03` is enough to suppress it. The other tag is not needed in my case. – huha Jul 05 '22 at 08:08