O'Reilly logo
  • Chris Kang thinks this is interesting:

A second way is to use the Add a Reference screen to reference the C# project in your WiX project and then use the $(var. ProjectName .TargetDir) preprocessor variable to point to the referenced project's output directory:

From

Cover of WiX 3.6: A Developer's Guide to Windows Installer XML

Note

This options applies if you have integrated wix into your IDE project.