[wix-users] warning LGHT1076: ICE60: The file xxx.dll is not a Font, and its version is not a companion file reference.

Vilius Šumskas v.sumskas at advantes.tech
Mon May 10 13:42:08 PDT 2021


Thank you! This explains documentation part.

Still not sure what is the best practice in case DLL file comes from 3rd party and is missing the language, though.

-- 
   Vilius

-----Original Message-----
From: Rob Mensching <rob at firegiant.com> 
Sent: Monday, May 10, 2021 11:23 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Vilius Šumskas <v.sumskas at advantes.tech>
Subject: RE: warning LGHT1076: ICE60: The file xxx.dll is not a Font, and its version is not a companion file reference.

light.exe -sf


- - - - - - - - - - - - - - -
I provide short answers on wix-users. Full commercial support is offered by FireGiant at http://www.firegiant.com/services

-----Original Message-----
From: wix-users <wix-users-bounces at lists.wixtoolset.org> On Behalf Of Vilius Šumskas via wix-users
Sent: Monday, May 10, 2021 1:22 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Vilius Šumskas <v.sumskas at advantes.tech>
Subject: Re: [wix-users] warning LGHT1076: ICE60: The file xxx.dll is not a Font, and its version is not a companion file reference.

Yes, I know that this file doesn‘t have language information defined. Newest version doesn’t have it either, tried that. Hence my question was is this solvable with DefaultLanguage=”0” or should I just ignore ICE60 errors in Wix projects with such files?

Also does anybody know what is this “suppress file” option Wix documentation talks about in the DefaultLanguage description?
“…This is the default language of this file. The linker will replace this value from the value in the file _if the suppress files option_ is not used….”

--
   Vilius

From: Hoover, Jacob <Jacob.Hoover at greenheck.com>
Sent: Monday, May 10, 2021 11:10 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Vilius Šumskas <v.sumskas at advantes.tech>
Subject: RE: warning LGHT1076: ICE60: The file xxx.dll is not a Font, and its version is not a companion file reference.

It seems that there is an error with the 3rd party component you are using.

https://docs.microsoft.com/en-us/windows/win32/msi/ice60

Seems the MS JDBC developer included version info in the DLL but not a language in the version file info.

My guess is that you can’t upgrade to a newer version (which may have fixed this [I didn’t look]), so if you want to avoid excessive file copying you could add a second file to the component and make it the key path.

From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org>> On Behalf Of Vilius Šumskas via wix-users
Sent: Monday, May 10, 2021 2:48 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Cc: Vilius Šumskas <v.sumskas at advantes.tech<mailto:v.sumskas at advantes.tech>>
Subject: Re: [wix-users] warning LGHT1076: ICE60: The file xxx.dll is not a Font, and its version is not a companion file reference.

Just simple one file component:

<Component Id="sqljdbc_auth.dll" Guid="*" Win64="$(var.Win64)"> <File Id="sqljdbc_auth.dll" Source="src\dll\$(var.DllPath)\sqljdbc_auth.dll" KeyPath="yes" /> </Component>

$(var.Win64) and $(var.DllPath) is prefilled with correct value depending on the platform.

--
Vilius

From: Hoover, Jacob <Jacob.Hoover at greenheck.com<mailto:Jacob.Hoover at greenheck.com>>
Sent: Monday, May 10, 2021 6:39 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org>>
Cc: Vilius Šumskas <v.sumskas at advantes.tech<mailto:v.sumskas at advantes.tech>>
Subject: RE: warning LGHT1076: ICE60: The file xxx.dll is not a Font, and its version is not a companion file reference.

How is the component which includes this file authored?

From: wix-users <wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org<mailto:wix-users-bounces at lists.wixtoolset.org%3cmailto:wix-users-bounces at lists.wixtoolset.org>>> On Behalf Of Vilius Šumskas via wix-users
Sent: Saturday, May 8, 2021 5:15 PM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org<mailto:wix-users at lists.wixtoolset.org%3cmailto:wix-users at lists.wixtoolset.org>>>
Cc: Vilius Šumskas <v.sumskas at advantes.tech<mailto:v.sumskas at advantes.tech<mailto:v.sumskas at advantes.tech%3cmailto:v.sumskas at advantes.tech>>>
Subject: [wix-users] warning LGHT1076: ICE60: The file xxx.dll is not a Font, and its version is not a companion file reference.

Hello,

my Wix project has one DLL file which doesn‘t have Language information or entry point defined. It‘s actually a Microsoft JDBC SQL library which should be called by the application directly.

Every time when I compile a project I get:
warning LGHT1076: ICE60: The file sqljdbc_auth.dll is not a Font, and its version is not a companion file reference.

Internet search suggests that I should use DefaultLanguage=”0” for such files, but this produces:
warning LGHT1101: The DefaultLanguage '0' was used for file 'sqljdbc_auth.dll' which has no language.

I suppose this has something to do with this description from Wix documentation:
“…This is the default language of this file. The linker will replace this value from the value in the file _if the suppress files_ option is not used….”

What is this “suppress files” option? What is the proper way to fix this warning? Or should I just ignore ICE60 warnings for projects which use such DLL files?

--
Best Regards,
Vilius


____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/<http://www.firegiant.com><http://www.firegiant.com>
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/
NOTE: This email was received from an external source. Please use caution when opening links or attachments in the message.

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list