I think you have done the right things. It's better (i.e. more reliable and easier to change) if you use a SetProperty element to set the source property to the actual installed location of the source file. This avoids hardcoding the source file path. Likewise use SetDirectory to set the source & target directory of the file.
<SetProperty Id="SourceFilesFolder" Value="[#FFF]" After="CostFinalize" /> Where FFF is the file ID of the source file. <SetDirectory Id="DestFilesFolder" Value="[$CCC]" /> Where CCC is the Component ID of the source file. If you still have problems, look at the verbose log to see what is actually happening. -----Original Message----- From: chennam [mailto:chatrapathi.chen...@gmail.com] Sent: 20 February 2013 14:45 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Rename File based on Argument passed toMSIInstallation Hi Peter thanks for the reply. The file "basic.log4net.dev" does come with Installer MSi package, and after package installation on destination folder the file name need to be changed to "basic.log4net". I assume you understand my requirement; the path I have provided is the destination folder path where package is installed, not the source directory on which heat.exe is applied.If am doing something wrong in setting the property value ,please let me know. Thanks In advance. -- View this message in context: http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Rename-File-bas ed-on-Argument-passed-to-MSI-Installation-tp7583717p7583765.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