Hi all,

I am creating a merge module that (optionally) modifies the application's 
configuration file. Which file is to be changed is passed to the module through 
ConfigurationData elements.

Because the merge module can be used in a number of applications, I cannot make 
assumptions on the content of the configuration file. What I would like to do 
is add information for a WCF client configuration, for example:

<configuration>
  <system.serviceModel>
    <client>
      <endpoint name="SomeName" address="http://host/path"; 
contract="IInterface" />
    </client>
  </system.serviceModel>
</configuration> 

Now, the application might have already have content in its configration file. 
For example, the <system.serviceModel> element might already be there (or 
not!). Even more, there might already be an endpoint element with the required 
contract attribute.

How can I make sure my model only adds the missing elements? 

Kind regards,
Alexander op de Weegh


------------------------------------------------------------------------------
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to