Okay I have it "working"... the only problem is that it is replacing the first <add element which I don't want, I want it to be a new <add element underneath the first...
<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" Action="create" Node="value" ElementPath="//configuration/location/system.webServer/modules/add" Name="type" Value="Blah, Blah.2.2013" On="install" Sequence="2"/> <util:XmlConfig Id="XmlConfigAddName" File="[DIRECTORY_PATH_CLIENT]Web.Config" Action="create" Node="value" ElementPath="//configuration/location/system.webServer/modules/add" Name="name" Value="AppCacheModule" On="install" Sequence="3"/> -- 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-tp7596447p7596448.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 WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users