I used XmlConfig Element, but the file was not change.

File.dtsConfig:

  <?xml version="1.0" ?> 
 <DTSConfiguration>
 <DTSConfigurationHeading>
  <DTSConfigurationFileInfo GeneratedBy="CONVERGENCIA\felipe.miana"     
GeneratedFromPackageName="ConnectionStrings"    
GeneratedFromPackageID="{6CD6920D-A4F0-4733-A08F-125106F531F0}"         
GeneratedDate="21/10/2009 14:13:46" /> 
  </DTSConfigurationHeading>
 <Configuration ConfiguredType="Property" 
Path="\Package.Variables[User::path].Properties[Value]" ValueType="String">
  <ConfiguredValue>\\convs07\Historical 
Integration\DataFarm\WIT\Files\</ConfiguredValue> 
  </Configuration>
<Configuration ConfiguredType="Property"        
Path="\Package.Variables[User::WITPath].Properties[Value]"      
ValueType="String">
  <ConfiguredValue>Provider=SQLNCLI10.1;Data Source=CONVS04;Integrated  
Security=SSPI;Initial Catalog=WIT_Historical</ConfiguredValue> 
  </Configuration>
  </DTSConfiguration>


Wix Code:

...

<Directory Id="configFolder" Name="Config">
  <Component Id="ConfigComp" Guid="{DC3B7A24-A638-47e9-8794-A6622C34401D}">
       <File Id="ConnectionstringsDTSCONFIG" Name="Connectionstrings.dtsConfig" 
Source=".\source\Config\Connectionstrings.dtsConfig" DiskId="1"                 
                Vital="yes" KeyPath="no"/>
       <File Id="WITConfigDTSCONFIG" Name="WIT_Config.dtsConfig" 
Source=".\source\Config\WIT_Config.dtsConfig" DiskId="1" Vital="yes" 
KeyPath="no"/>

                <Util:XmlConfig
                   Id="ConfigurationRemove"
                   
File="[INSTALLLOCATION]WitDataFarm/Source/Config/Connectionstrings.dtsConfig"
                   Action="delete"
                   ElementPath="//DTSConfiguration/Configuration"
                   Node="element"
                   VerifyPath="ConfiguredValue"
                   Sequence="1"
                   On="install"/>
                                   
  </Component>
</Directory>

...


Do you know why this is happening?


Thanks,

Carolina Zuqueto.

-- 
Carolina Zuqueto Amaral

tel: +55 21 2494-5476
cel: +55 21 9524-7186
email: carolina.ama...@conv.com.br
-----Original Message-----
From: Pally Sandher [mailto:pally.sand...@iesve.com] 
Sent: quinta-feira, 10 de junho de 2010 13:11
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Configure file.dtsConfig

http://wix.sourceforge.net/manual-wix3/util_xsd_xmlconfig.htm or
http://wix.sourceforge.net/manual-wix3/util_xsd_xmlfile.htm

Palbinder Sandher
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500
F: +44 (0) 141 945 8501

http://www.iesve.com
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer

-----Original Message-----
From: Carolina Zuqueto Amaral [mailto:carolina.ama...@conv.com.br]
Sent: 10 June 2010 16:56
To: WiX-users@lists.sourceforge.net
Subject: [WiX-users] Configure file.dtsConfig

Hi,
I need to configure a lot of files.dtsConfig in the installation.
How  Do I do this?

Thanks,
Carolina Zuqueto Amaral
carolina.ama...@conv.com.br<mailto:carolina.ama...@conv.com.br>
tel +55 21 2494-5476
cel +55 21 9524-7186


------------------------------------------------------------------------
------
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

Reply via email to