[Sorry if this is a resend, I have been having problems with my email account
and some mails are boucing back]
I am trying to use XmlConfig to delete an element from a xml file which was
installed as part of same package. but that isn't working. If I try to modify
an attribute using XmlFile for same ElementPath, it works fine. Am I missing
something here?
my code:
<Component Id="WHManagerXml_$(var.LCID)" DiskId="1"
Guid="111BCB33-664E-42ca-A186-DE04C317681D">
<File Id="TestxmlFile" Name="test.xml" Source="test.xml"/>
<util:XmlConfig
Id="TestXmlChange"
File="[TestxmlFile]"
Action="delete"
Node="element"
ElementPath="Parent/Descendant1/Descendant2"
VerifyPath="Parent/Descendant1"
/>
</Component>
Am I missing anything here?
Thanks
Ravi
---------------------------------
From: [EMAIL PROTECTED]
To: wix-users@lists.sourceforge.net
Subject: XmlConfig and XmlFile...
Date: Mon, 8 Oct 2007 19:10:40 -0700
.ExternalClass .EC_hmmessage P { PADDING-RIGHT: 0px; PADDING-LEFT: 0px;
PADDING-BOTTOM: 0px; PADDING-TOP: 0px } .ExternalClass EC_body.hmmessage {
FONT-SIZE: 10pt; FONT-FAMILY: Tahoma } What is the difference between
XmlConfig and XmlFile elements? Is XmlConfig used to add/modify/delete both
elements and attributes from xml files and XmlFile used to add/modify/delete
attributes only from xml files?
I need to install a xml file and then delete some of its elements based on some
condition. Do I use XmlConfig or XmlFile for this operation?
Thanks
Ravi
---------------------------------
Moody friends. Drama queens. Your life? Nope! - their life, your story.
Play Sims Stories at Yahoo! Games.
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users