Yes.  XmlFile is create for setting things that already exist.  If you need 
more than that, I tend to choose XmlConfig.

Note that I usually write the XPath to the element, and then write to the 
attribute as specified in "Name."
--
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 5:00 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Which is best to use in my case: XmlFile or XmlConfig?

Well I created the Sample and it worked correctly, using exactly what was shown.

So then I simply substituted my app.config file with the sample.config file and 
built and ran the test again and it failed? 

So I figured that it was my .config file that was the issue, but then I simply 
added the following entry to the .config file:
<add key="ServiceLocation" value="localhost"/>

Ran the test again and this time it worked... So that implies that if the key 
that is to be updated does not exist then it will fail???

So if a key entry is not there then it has to be created and a value set to it, 
but according to that last link it shows that it will create and set the value. 
So why did it not work for me?  I guess more work is required, what a pain as I 
have been looking at this for most of the day.........




--
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-tp7594691p7594720.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

Reply via email to