I've updated my code to take out the "." from anything that is a path. Here's
what I'm using now...

<util:XmlConfig Id="Config_DNS_Path"
        File="[#Fi.config]"
        On="install"
        Sequence="1"
        Action="create"
        Node="element"
        Name="Plugin[\.]Dns[\.]Properties[\.]Settings"
        ElementPath="/configuration/applicationSettings" />

<util:XmlConfig Id="Config_DNS_DnsServer_Key"
        File="[#Fi.config]"
        Sequence="2"
        Action="create" 
        On="install"
        Node="element"
        Name="setting"
        ElementPath="Config_DNS_Path" />

<util:XmlConfig Id="Config_DNS_DnsServer_Key_Name"
        File="[#Fi.config]"
        Sequence="3"
        Name="name"
        Value="DNSServer"
        ElementId="Config_DNS_DnsServer_Key" />

<util:XmlConfig Id="Config_DNS_DnsServer_Key_Serialize"
        File="[#Fi.config]"
        Sequence="3"
        Name="serializeAs"
        Value="String"
        ElementId="Config_DNS_DnsServer_Key" />

<util:XmlConfig Id="Config_DNS_DnsServer_Value"
        File="[#Fi.config]"
        Sequence="4"
        Action="create"
        On="install"
        Node="element"
        Name="value"
        Value="[CONFIG.DNS.DNS_SERVER]"
        ElementPath="Config_DNS_DnsServer_Key" />

This is what the log file is dumping as the command:
MSI (s) (94!E8) [09:02:00:710]: PROPERTY CHANGE: Adding ExecXmlConfig
property. Its value is '1€C:\Program Files (x86)\Pareto Systems\CRM Admin
Tool\CRMAdminTool.exe.config€6€0€/configuration/applicationSettingsPlugin.Dns.Properties.Settings€€0€6€0Config_DNS_Path€€setting€€3€name€DNSServer€serializeAs€String€valuetest'.



Now I get the following error:

ExecXmlConfig:  Error 0x800710d8: failed to find node: Config_DNS_Path in
XML file: C:\Program Files (x86)\Pareto Systems\CRM Admin
Tool\CRMAdminTool.exe.config
MSI (s)
(94!E8) [09:02:05:177]: Product: CRM Admin Tool -- Error 25542. Failed to
find node: Config_DNS_Path in XML file: C:\Program Files (x86)\Pareto
Systems\CRM Admin Tool\CRMAdminTool.exe.config, system error: -2147020584

-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/XmlConfig-not-referencing-other-XmlConfig-elements-tp5560885p5563668.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to