I am using Wix v3.0.4721.0 and want to replace (in-place update) assemblies in the GAC of which only the file version is different. Therefore I am forced to use the -fv option of light.exe.
Light.exe -fv fails when it encounters an assembly without the AssemblyFileVersion attribute.
error LGHT0112 : The assembly in component 'Interop.SHDocVw.dll' has a null or empty fileVersion assembly name value.
Shouldn't light.exe in that case just ignore the missing file version and leave it empty?
See the sample attached.
Sample
Also, the assembly in the file does have an AssemblyVersion attribute, yet I can see with Orca that the Version column of the File table is empty. Does that indicate that it has no win32 file version? Then maybe that is the problem? But then again, light does not fail on that if I omit the -fv option.
A missing win32 version resource is the problem. Not the missing AssemblyFileVersion attribute. But question stays: Shouldn't light.exe in that case just ignore the missing file version and
leave it empty? It does it already when filling the File table, why not when filling the MsiAssemblyName table?
Moved the error to a warning.
This Tracker item was closed automatically by the system. It was
previously set to a Pending status, and the original submitter
did not respond within 21 days (the time period specified by
the administrator of this Tracker).