Reference WiX define made in included file.
- by leiflundgren
I have a defines.wxi-file which contains some good definitions used in all my wxs-files.
When I attempt to reference the defined value I get Undefined preprocessor variable '$(var.MAGE_FOLDER)' back in my face.
I guess there is something trivial I am missing here...
Any ideas?
defines.wxi
<Include>
<?define IMAGE_FOLDER="Images" ?>
</Include>
Product.wxs
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<?Include defines.wxi ?>
<Product ... >
<Component Id='c.Images' Directory='$(var.IMAGE_FOLDER)' />