You can use the XmlConfig element to change any xml file.
You can use the attributes of XmlConfig element like
File:  <Path of the file to be modified>
Action: <the node to be created or deleted>
On: <whether the action should occur on install or uninstall>
ElementPath: <XPath to the node>
Name : <name of the element>
Node <Whether element or document>
Sequence: < Sequence no of actions>
Here are some links which maybe useful:

http://stackoverflow.com/questions/1648221/deleteing-whole-sections-of-my-xml-file-in-c

http://msdn.microsoft.com/en-us/library/system.xml.xmlnode.removechild.aspx

http://blogs.msdn.com/gisenberg/archive/2007/10/09/wix-v3-and-xmlconfig-xmlfile-troubleshooting.aspx
 Or you could also use the xmlfile element.

On Fri, Jan 8, 2010 at 7:39 PM, Kerber, Cameron
<cameron.ker...@philips.com>wrote:

> So I've seen a lot of documentation in using the XML Util Extension to
> modify xml files.  But generally all those tutorials are for changing XML
> files that are being included with the install.
>
> How would I change an XML file that is already existing for where I am
> going to deploy my Install?  Sorry this may be simple but this is my 3rd day
> on WiX and I can't figure it out.
>
> Thanks!
>
> ________________________________
> The information contained in this message may be confidential and legally
> protected under applicable law. The message is intended solely for the
> addressee(s). If you are not the intended recipient, you are hereby notified
> that any use, forwarding, dissemination, or reproduction of this message is
> strictly prohibited and may be unlawful. If you are not the intended
> recipient, please contact the sender by return e-mail and destroy all copies
> of the original message.
>
> ------------------------------------------------------------------------------
> This SF.Net email is sponsored by the Verizon Developer Community
> Take advantage of Verizon's best-in-class app development support
> A streamlined, 14 day to market process makes app distribution fast and
> easy
> Join now and get one step closer to millions of Verizon customers
> http://p.sf.net/sfu/verizon-dev2dev
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>



-- 
Best Regards.

Ricky
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to