Following the excellent suggestion I have moved some variables to WXI file. How do I include it in WXS file?
for reference:
http://wix.sourceforge.net/manual-wix2/preprocessor.htm
Although this is about wix 2.0 and uses a file with extension .wxs - the game stays the same, as only the "include" element is required to exist in the file.
A good article how to use this can be found here: http://weblogs.sqlteam.com/mladenp/archive/2010/02/17/WiX-3-Tutorial-Understanding-main-WXS-and-WXI-file.aspx
use <?include ?> preprocessor tag, for example:
<?include include.wxi ?>
<?include ... ?>
at the top of the wsx file. wsi files containing <Fragment>
elements must be added after the <Product>
element –
Edelstein for reference:
http://wix.sourceforge.net/manual-wix2/preprocessor.htm
Although this is about wix 2.0 and uses a file with extension .wxs - the game stays the same, as only the "include" element is required to exist in the file.
A good article how to use this can be found here: http://weblogs.sqlteam.com/mladenp/archive/2010/02/17/WiX-3-Tutorial-Understanding-main-WXS-and-WXI-file.aspx
© 2022 - 2024 — McMap. All rights reserved.