In general, path properties in WiX and in MSI installers in general already have a trailing '\'. However, I hate the [INSTALLDIR]Remotelnk.exe.config idiom. If you're installing this file (and almost certainly you are), give it a File@Id element. Then you can reference it's absolute path directly. For example, if the File@Id was FileRemotelnkConfig, you could get the path using [#FileRemotelnkConfig].
Finally, order doesn't matter in XML (in general). -- 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: Carter Young [mailto:ecyo...@grandecom.net] Sent: Tuesday, May 13, 2014 3:43 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig? I believe the File comes before the Value... Also I think the File Location needs a backslash. Quoting TimM <timmay...@smarttech.com>: > 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 > > ------------------------------------------------------------------------------ "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