Search code examples
installationwixwix3.5wix3.8

Can't suppress WiX warning LGHT1076


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


Solution

  • 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>