Colin Fox wrote: > First - The fragment file that Heat produces has absolute paths for all the > file references, which is unacceptable in a multi-developer project. This > directory is going to change maybe once every couple of years, so there is > no point in rebuilding the .wxs fragment for every compile. I would like to > create it once and just use it, but I need relative paths, like in all the > other files. >
Two solutions come to mind: 1. Edit the file. Heat isn't designed to be used in a build process; it's designed to generate a first pass of authoring that you can then edit and maintain by hand. Use a global search and replace on the root of the path to whatever you use to point to the output directory (e.g., a $(var.) preprocessor variable). See also http://www.joyofsetup.com/2009/01/01/choosing-your-payloads/. 2. Use the -t switch to specify an XSL transform to fix it up however you want (within the limits of what XSLT can do). -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users