I have a project that has a large number of files. Between versions of our software, new files get added and some get removed. Therefore, in automating our build process, I would like to have heat auto-generate a .wxs
file (let's call it files.wxs
).
But then there are certain hand-generated items, like the <product>
element with its associated version and <environment>
tags for environment variables that we need to set. These never change (except for the version number which increments). Right now, I have put all of that in a file named product.wxs
.
How can I best combine them into one .msi? Do I need to create a <component>
element inside the <product>
element for each of the fragments that were auto-generated in the files.wxs
file? If so, that kind of defeats the purpose of auto-generating that file. I'm hoping there is another way.
Help! Thanks, in advance.