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

Reply via email to