Okay newbie question here concerning the updating of a .config file during
install, using WiX 3.7.

I was given the task to update a new .config file during our install and I
found the documentation for XmlConfig Element (Util Extension):
http://wixtoolset.org/documentation/manual/v3/xsd/util/xmlconfig.html

And XmlFile Element (Util Extension):
http://wixtoolset.org/documentation/manual/v3/xsd/util/xmlfile.html

Now I have never used these before and have not updated a .xml file during
install so I was trying to find examples for these. There are a few examples
out there, but the one problem I am running into is the ElementPath entry. I
have not found out how it is set, meaning what values are expected and where
do you get or know what the values are suppose to be...

So how do I find out what I am supposed to enter in for ElementPath and
should I be using Xmlfile or Xmlconfig?

The information I was given to update the .config file was only:
Add 2 keys to the .config file:
1. ServiceInfo with value of [LYNC_SERVER_ADDRESS]
2. ClientMode with value of [CLIENT_MODE] - can be one of 3 values - Room,
Personal, or Thin

I was also given an example of the <key,value> pairs in the application
.config file:
<configuration>
  ...
  <appSettings>
                ...
    <add key="ServiceInfo" value=LYNC_SERVER_ADDRESS />

   

    <add key="ClientMode" value="Room" />  </appSettings>
</configuration>

So can anyone help me in how this is configured in my WiX project and how I
determine what the ElementPath should be or how I can get the information to
know how it should be set?

Thanks for any and all help that can be provided.



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

Reply via email to