Is it possible to include the "source" files in wixlib?
I have a number of C ++ solutions, each of which contains a project or projects, as well as wixlib with a fragment containing such entries as:
<File Id="MY_ID" KeyPath="yes" Source="$(var.my_path)\foo.exe" />
I would like to build "foo.exe" and enable it in wixlib, and then create a WiX project that binds several of these wixlibs and creates an MSI.
The reading I did seems to suggest that WiX3 and its support support this, and it is preferable to use merge modules.
I am currently using an environment variable that describes the path to the binary files that is used during the link to search for light.exe files. However, it has the following disadvantages:
- version of files for changing wixlib compilation time and wixlib binding in MSI and
- Being specific to the environment used to build wixlib (for example: if the wixlib compilation and communication were performed on different computers, both of them should have the necessary binary files).
source
share