Not sure yet how to check if the value is already written in the file. But to
write it, you could use something like:

<ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER">
      <Component Id="CMP_MyFileXML"
Guid="{05AB616A-AD9E-468B-AE86-477759234CA0}">
        <File Source="MyFile.xml" KeyPath="yes" />
      
        <util:XmlConfig Id="ConfigureMyFileXML" 
                        File="[INSTALLFOLDER]MyFile.xml" 
                        Action="create" 
                        On="install" 
                        Node="element"
                        Name="user" 
                        ElementPath="//users" 
                        Value="BDC" />
      </Component>
    
</ComponentGroup>



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/How-to-change-xml-element-value-tp7584198p7584218.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to