Your XML is malformed:

<ConfiguredValue>\\convs07\Historical<file:///\\convs07\Historical> 
Integration\DataFarm\WIT\Files\</ConfiguredValue>

Should be either:

<ConfiguredValue><![CDATA[\\convs07\Historical<file:///\\convs07\Historical> 
Integration\DataFarm\WIT\Files\]]></ConfiguredValue>

Or

<ConfiguredValue>\\convs07\Historical&lt;file:///\\convs07\Historical&gt; 
Integration\DataFarm\WIT\Files\</ConfiguredValue>

Alex




-----Original Message-----
From: Carolina Zuqueto Amaral [mailto:carolina.ama...@conv.com.br] 
Sent: Tuesday, June 15, 2010 7:13 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] XMLFile

Hi,
I have the following node (file.dtsConfig):
<Configuration ConfiguredType="Property" 
Path="\Package.Variables[User::path].Properties[Value]" ValueType="String">
               
<ConfiguredValue>\\convs07\Historical<file:///\\convs07\Historical> 
Integration\DataFarm\WIT\Files\</ConfiguredValue>

   </Configuration>

Wix code:
...
<Util:XmlFile
Id="ConfigurationSetValue"
File="[INSTALLLOCATION]WitDataFarm\Source\Config\Connectionstrings.dtsConfig"
Action="setValue"
ElementPath="/DTSConfiguration/configuration[...@path='\Package.Variables[\[]User::path[\]].Properties[\[]Value[\]]'[\]]/ConfiguredValue"
Sequence="1"
Permanent="yes"
Value="[PATHFDB]"/>
...

When I installed, the following error occured:
Failied to find node:
/DTSConfiguration/configurati...@path='\Package.Variables[User::path].Properties[Value]']/ConfiguredValue
 in XML file: 
c:\Convergencia\WitDataFarm\Source\Config\Connectionstrings.dtsConfig, system 
error: -2147020584

Why is happening it?

Thanks,
Carolina Zuqueto.

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day 
Giveaway. ONE MASSIVE PRIZE to the lucky parental unit.  See the prize list and 
enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to