Create [INSTALLLOCATION]\Website\App_Config in your Directory Tree & use the 
DestinationDirectory attribute instead of DestinationProperty.

Palbinder Sandher 
Software Platform Engineer 
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: chennam [mailto:chatrapathi.chen...@gmail.com] 
Sent: 28 February 2013 15:29
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Copy File Setting source and destination property value 
setting

Hi,

I want to achieve copy file and was able to do when I am setting the 
destination and source folder property values hard coded. But when I try to do 
using the property value like "[INSTALLLOCATION]\Website\App_Config" it does 
give an error saying "could not find the location". And [INSTALLOCATION] value 
is provided through command line when installing MSI package as installation 
location. Can any one help in setting the custom based property value.

<Fragment>
  <Property Id="DestFilesFolder"
Value="[INSTALLLOCATION]\Website\App_Config" />
  <ComponentGroup Id="CopyFiles">
  
      <Component Id="CMP_LOG4TXT"
Guid="341BD660-7249-42DD-9744-DBEF0776AD52" Directory="INSTALLLOCATION">
        
        <File Id="File_installme"
Source="C:\Workspaces\Chatra\Website\CBUDirect.Web\App_Config\basic.log4net.ProductionBuild.config.xml"
KeyPath="yes">
          <CopyFile Id="Copy_LOG4TXT"    
          DestinationProperty="DestFilesFolder" 
          DestinationName="basic.log4net" />
          </File>
      </Component>

    </ComponentGroup>
</Fragment>
  



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Copy-File-Setting-source-and-destination-property-value-setting-tp7584031.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for free 
today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to