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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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

Reply via email to