Hi Carolina, Your XPath looks fine. You need to show your XML. Include <Configuration> element and its parents in the xml file. Do you have something like:
<DTSConfiguration> ... <Configuration> ... </Configuration> ... </DTSConfiguration> -----Original Message----- From: Carolina Zuqueto Amaral [mailto:carolina.ama...@conv.com.br] Sent: Thursday, June 17, 2010 11:28 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] XMLFile Log: ... ExecXmlFile: Error 0x800710d8: failed to find node: /DTSConfiguration/Configuration.Properties']/ConfiguredValue in XML file: c:\Convergencia\WitDataFarm\Source\Config\Connectionstrings.dtsConfig MSI (c) (E0:F0) [13:17:48:069]: Font created. Charset: Req=0, Ret=0, Font: Req=MS Shell Dlg, Ret=MS Shell Dlg Erro 25532. Failed 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 MSI (s) (C0!70) [13:24:26:667]: Produto: Convergencia WitDataFarm -- Erro 25532. Failed 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 ... The error is in the ElementPath. Is there another way for to make this string? Thanks, Carolina Zuqueto -----Original Message----- From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] Sent: terça-feira, 15 de junho de 2010 13:38 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] XMLFile 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 P 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.Variab > les[\[]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 Confidencialidade: A informação contida nesta mensagem de e-mail, incluindo quaisquer anexos, é confidencial e está reservada apenas à pessoa ou entidade para a qual foi endereçada. Se você não é o destinatário ou a pessoa responsável por encaminhar esta mensagem ao destinatário, você está, por meio desta, notificado que não deverá rever, retransmitir, imprimir, copiar, usar ou distribuir esta mensagem de e-mail ou quaisquer anexos. Caso você tenha recebido esta mensagem por engano, por favor, contate o remetente imediatamente e apague esta mensagem de seu computador ou de qualquer outro banco de dados. Grato. Confidentiality Notice: The information contained in this email message, including any attachment, is confidential and is intended only for the person or entity to which it is addressed. If you are neither the intended recipient nor the employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that you may not review, retransmit, convert to hard copy, copy, use or distribute this email message or any attachments to it. If you have received this email in error, please contact the sender immediately and delete this message from any computer or other data bank. Thank you. ------------------------------------------------------------------------------ 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