Adding WiX References
Introduction
The WiX toolset supports adding WiX library and extension DLL references to a WiX project. This allows the reuse of WiX elements (such as Custom Actions and Properties) defined in those references. When a WiX reference is added to the project, the WiX toolset automatically adds the necessary parameters to the compiler and linker command lines so that it will be correctly resolved when building the project.
To add a WiX library or extension reference to a WiX project:
- Right-click on the References node of the project in the Solution Explorer and choose Add Reference...
- In the Add Reference dialog, click on the Browse tab.
- Locate the desired .wixlib files and/or WiX extensions and click the Add button, then click OK to dismiss the dialog.