If you need to reference a property from another you could try using
setproperty.

So keep what you have here but swap the Property element for a SetProperty
one.

<SetProperty Id=" DestFilesFolder"
Value="[INSTALLLOCATION]\Website\App_Config " After="AppSearch "
Sequence="both" />

-----Original Message-----
From: chennam [mailto:chatrapathi.chen...@gmail.com] 
Sent: 28 February 2013 14:58
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Copy File Setting source and destination property
valuesetting

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.P
roductionBuild.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-Setti
ng-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
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


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