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 &lt;add element underneath the first...

&lt;util:XmlConfig
          Id=&quot;XmlWebConfigAddCreate&quot;
          File=&quot;[DIRECTORY_PATH_CLIENT]Web.Config&quot;
          Action=&quot;create&quot;
          Node=&quot;element&quot;
         
ElementPath=&quot;//configuration/location/system.webServer/modules&quot;
          Name=&quot;add&quot;
          On=&quot;install&quot;
          Sequence=&quot;1&quot;/>
        
        <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

Reply via email to