Search code examples
.netwixgac

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


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?


Solution

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