Hi Peter, I have used the copy file but no use,not sure I am doing any wrong.Please see below statements; for time being I have hard coded source and destination folders in setup project of MSI. Note: Below file paths are the one where MSi package installation destination not the source location from.
<Property Id="SourceFilesFolder" Value="E:\Websites\SCBUDirect\Website\SCBUDirect.B2CWeb\App_Config\basic.log4net.dev" /> <Property Id="DestFilesFolder" Value="E:\Websites\SCBUDirect\Website\SCBUDirect.B2CWeb\App_Config\" /> <DirectoryRef Id="INSTALLLOCATION"> <Component Id="CMP_LOG4TXT"> <CopyFile Id="Copy_LOG4TXT" SourceProperty="SourceFilesFolder" DestinationProperty="DestFilesFolder" DestinationName="basic.log4net" /> </Component> </DirectoryRef> -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Rename-File-based-on-Argument-passed-to-MSI-Installation-tp7583717p7583746.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