You need to escape the [] in the ElementPath as these have special meaning to the installer.
-- John Merryweather Cooper Build & Install Engineer - ESA Jack Henry & Associates, Inc.® Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -----Original Message----- From: TimM [mailto:timmay...@smarttech.com] Sent: Tuesday, May 13, 2014 3:35 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig? Thanks eyoung, I made the recommended changes: <util:XmlFile Id="SetServiceInfo" Action="setValue" ElementPath="/configuration/appSettings/add[@key='ServiceInfo']/@value" Value="[LYNC_SERVER_ADDRESS]" File="[INSTALLDIR]RemoteInk.exe.config" Sequence="5" /> But when I build the install I get the following error: C:\Work\Projects\Lync2013SP\RemoteInk.Lync2013SP\Src\Client\Installs\Client\Product.wxs(85,0): error LGHT0204: ICE03: Invalid format string; Table: XmlFile, Column: ElementPath, Key(s): SetServiceInfo So where did I go wrong? -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Which-is-best-to-use-in-my-case-XmlFile-or-XmlConfig-tp7594691p7594704.html Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. ------------------------------------------------------------------------------ "Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE Instantly run your Selenium tests across 300+ browser/OS combos. Get unparalleled scalability from the best Selenium testing platform available Simple to use. Nothing to install. Get started now for free." http://p.sf.net/sfu/SauceLabs _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users