We've upgraded our Salford Fortran compiler to version 6.0 & I'm now getting 
the following warning for the run time DLL as it has no language specified in 
its attributes:

  warning LGHT1076: ICE60: The file SALFLIBC.DLL is not a Font, and its version 
is not a companion file reference. It should have a language specified in the 
Language column.

So if I add DefaultLanguage="0" (or DefaultLanguage="1033" which matches the 
Product Language attribute) to its File entry I then get the following warning:

  warning LGHT1101: The DefaultLanguage '0' was used for file 'SALFLIBC.DLL' 
which has no language. Specifying a language that is different from the actual 
file may result in unexpected versioning behaviour during a repair or while 
patching. Either specify a value for DefaultLanguage or put the language in the 
version information resource to eliminate this warning.

which seems to imply that I'm causing this warning by doing exactly what the 
warning tells me to do to eliminate it! I don't particularly like warnings in 
my builds so does anyone have any suggestions on how to resolve the LGHT1101 
warning (which don't involve adding a Language attribute to the DLL, it's a 3rd 
party run time)? We use WiX v3.5.2519.0 at present.

Thanks,

Palbinder Sandher 
Software Deployment Engineer
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer

-----Original Message-----
From: wix-users-boun...@lists.sourceforge.net 
[mailto:wix-users-boun...@lists.sourceforge.net] On Behalf Of Mike Dimmick
Sent: 03 January 2008 00:47
To: 'Ted Berg'; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] ICE60 and DefaultLanguage

I can't do better than refer to the documentation for ICE60 at
http://msdn2.microsoft.com/en-us/library/aa369003.aspx.

"Failure to fix a warning reported by ICE60 generally leads to a file being
needlessly reinstalled when a product repair is done. This happens because
the file to be installed in the repair and the existing file on disk have
the same version (they are the same file) but different languages. The file
table lists the language as null, but the file itself has a language value
in the resource. Based on the file versioning rules, the installer favors
the file to be installed, so it is recopied needlessly."

I believe the installer is using the Translation key in the VarFileInfo of
the resources to get the list of languages from the already-installed
version.

WiX - specifically, light - is supposed to get the language information at
build time, unless you have specified the -sf or -sh switches. I would not
advise using these switches as they suppress ALL the version information
collection, throwing you into the chaos of unversioned files (where
last-installed wins).

Why does Windows Installer want you to duplicate all this information in the
database, when it's already in the files? To prevent it having to obtain the
file (potentially a CAB download from the Internet, for HTTP MSIs) just to
discover that it wasn't needed.

-- 
Mike Dimmick
 
-----Original Message-----
From: wix-users-boun...@lists.sourceforge.net
[mailto:wix-users-boun...@lists.sourceforge.net] On Behalf Of Ted Berg
Sent: 02 January 2008 23:27
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] ICE60 and DefaultLanguage

I am packaging third party DLLs in my .msi file.  These DLLs do not 
contain a Language entry in their resource bundle.  When I validate the 
MSI I get an ICE60 warning for each of these DLLs: "The file <component 
name> is not a Font, and its version is not a companion file reference. 
  It should have a language specified in the Language column."

If I manually add the value 1033 to the Language column for each of 
these entries I no longer get the validation warning.

I have added a DefaultLanguage="1033" attribute to the <File/> element 
for each of these libraries, but this value seems to be ignored.  I 
still get empty Language column values for these files.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to