The error says that it can't find the node specified by the XmlFile/@XPath. The syntax looks correct. I wonder if there are XML namespaces involved here.
Edwin G. Castro Software Developer - Staff Electronic Banking Services Fiserv Office: 503-746-0643 Fax: 503-617-0291 www.fiserv.com Please consider the environment before printing this e-mail > -----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[\[]U > ser::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].Properti > es[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