hi,

I’m using Wix 2.0.5805 and having problems using XMlConfig to add the below 
entries in an XML file (end up with only the last number being written), is 
this possible using WIX, and does anyone have any example code?
thanks in advance.


<start>
 <dev>
  <number>1.2</number>
 </dev>
 <dev>
  <number>1.3</number>
 </dev>
</start>


code i'm currently using is below:

  <XmlConfig
                    Id="ID01"
                    File="[TEST]demo.xml"
                    Action="create"
                    ElementPath="//start"
                    Name="version"
                    Node="element"
                    Sequence="1"
                    On="install" />


  <XmlConfig
                    Id="ID02"
                    File="[TEST]demo.xml"
                    Action="create"
                    ElementPath="//start/dev"
                    Name="number"
                    Node="element"
                    Sequence="2"
                    On="install" />
                    
 <XmlConfig
                    Id="ID03"
                    File="[TEST]demo.xml"
                    Action="create"
                    ElementPath="//start/dev/number"
                    Value="1.2"
                    Node="value"
                    Sequence="3"
                    On="install" />
 
 
   <XmlConfig
                    Id="ID04"
                    File="[TEST]demo.xml"
                    Action="create"
                    ElementPath="//start/dev"
                    Name="number"
                    Node="element"
                    Sequence="4"
                    On="install" />                   
                    
 <XmlConfig
                    Id="ID05"
                    File="[TEST]demo.xml"
                    Action="create"
                    ElementPath="//start/dev/number"
                    Value="1.3"
                    Node="value"
                    Sequence="5"
                    On="install" />     

regards
Quinton

_________________________________________________________________
Share what Santa brought you
https://www.mycooluncool.com
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to