[wix-users] Question on the copy order of companion files

Jerry Chung jchung at proofpoint.com
Thu Apr 16 15:07:10 PDT 2020


Hi,

I have many assemblies and config files where config files were associated with companionFile attribute. When the installer tries to upgrade the assemblies on the of prior versions, the copy order for companion files doesn't seem to be consistent. As a result of this, some of the config files are not copied over.

These are steps I observed for upgrade:


  1.  remove existing assemblies and config files
  2.  copy a new assembly
  3.  try to copy the assembly's config file, but it is not copied saying "Existing file is of an equal version"

Note. if the order of 2 and 3 is switched, it works.

My environment:

  *   Wix Toolset 3.9
  *   .Net 4.5
  *   VS Professional 2012 update 5
  *   Target Host: Windows Server 2016

Any idea on this?

Thanks,
jerry


More information about the wix-users mailing list