WiX installer and redistribution of libstdc++6.dll from MinGW -


i building msi installer wix redistributing mingw64 application. requires ship mingw dlls executable.

the libstdc6.dll file not versionned. cleanest approach this?

i have tried:

  1. adding companion file dll component, pointing main app exe, versionned. however, wix complains cannot set companion dll
  2. putting dll in main app exe component, discouraged in every wix faq, howto , forum...
  3. adding attribute defaultversion="!(bind.fileversion.mainapp.exe)" dll file element overriding (missing) dll version. seems work @ first glance, wix issuing warnings related this:

c:\users\etienne\documents\coding\ocean\ocean.wxs(116) : warning lght1103 : defaultversion '!(bind.fileversion.mainapp.exe)' used file 'libstdc6.dll' has no version. no entry file placed in msifilehash table. unversioned files, specifying version different actual file may result in unexpected versioning behavior during repair or while patching. version resource eliminate warning.

what best way solve this?

thanks,

etienne

imho, best bet option #2. rules assume executable code versioned , best deployed keypaths of respective components. since .dll not versioned, placing data file versioned file next best thing.

although, record, versioning .dll far optimal solution. :)


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -