Hey Dan, Thanks for that, I just read the section on that just after posting to the list. It works fine if I put it in the generated .wxs file but not if I put it in the non-generated Product.wxs file so anytime someone reruns the batch file this key bit of info will get obliterated ...
How can I get around this in a repeatable fashion so that the generated fragment is always valid? Cheers, James -----Original Message----- From: Daniel Madill [mailto:dan.mad...@quanser.com] Sent: 16 January 2012 16:59 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Cab File Hi James, Preprocessor variables and WixVariable's are not the same thing. A preprocessor variable is defined using <?define name="value"?>. For example: <?define RFileSource="..\..\lib\R\R-2.14.1"?> Preprocessor variables are handled much like the C preprocessor handles #define macros. Dan LEGAL NOTICE This message is intended for the use of the named recipient(s) only and may contain confidential and / or privileged information. If you are not the intended recipient, please contact the sender and delete this message. Any unauthorised use of the information contained in this message is prohibited. Mango Business Solutions Limited is registered in England under No. 4560258 with its registered office at Suite 3, Middlesex House, Rutherford Close, Stevenage, Herts, SG1 2EF, UK. PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL ------------------------------------------------------------------------------ RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users