Using WiX to put an assembly into both the GAC and Install Path

dskiles picture dskiles · Dec 11, 2009 · Viewed 14.6k times · Source

I'm just starting to learn how to use WiX and I'm running into a snag. My package uses a third party library that requires some file to exist both in the GAC and the package installation directory.

Using WiX, I can make files show up in the installation directory, or in the GAC, but not both.

Is there any way to work around this?

Answer

CAbbott picture CAbbott · Dec 11, 2009

There's a post here about installing an assembly to both the GAC and local file system. This has some actual WiX code in it that does what you're looking for.