Menu

#1425 light -fv fails on assemblies without AssemblyFileVersion

v3.0
closed
light (353)
2012-09-15
2008-12-01
LordLarry
No

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.

Discussion

  • LordLarry

    LordLarry - 2008-12-01

    Sample

     
  • LordLarry

    LordLarry - 2008-12-01

    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.

     
  • LordLarry

    LordLarry - 2008-12-01

    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?

     
  • Rob Mensching

    Rob Mensching - 2008-12-05

    Moved the error to a warning.

     
  • SourceForge Robot

    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).

     
MongoDB Logo MongoDB