Got it working :) AND it is the last line in the parent element which is
perfect...
now to figure out how to remove it on uninstall, I guess it would be the
same as "install" but "uninstall"?
<util:XmlConfig
Id="XmlWebConfigAddCreate"
File="[DIRECTORY_PATH_CLIENT]Web.Config"
Action="create"
Node="element"
ElementPath="//configuration/location/system.webServer/modules"
Name="add"
On="install"
Sequence="1"/>
<util:XmlConfig
Id="XmlWebConfigAddType"
File="[DIRECTORY_PATH_CLIENT]Web.Config"
ElementId="XmlWebConfigAddCreate"
Name="type"
Value="Blah, blah.2.2013"
Sequence="2"/>
<util:XmlConfig
Id="XmlConfigAddName"
File="[DIRECTORY_PATH_CLIENT]Web.Config"
ElementId="XmlWebConfigAddCreate"
Name="name"
Value="AppCacheModule"
Sequence="3"/>
</Component>
--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/trying-to-add-XML-element-to-a-web-config-file-tp7596447p7596452.html
Sent from the wix-users mailing list archive at Nabble.com.
------------------------------------------------------------------------------
Slashdot TV.
Video for Nerds. Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users