If I have file being copied using the following
SetOutPath "$FOO_DIR"
File "..\..\Bar.Dat"
...
SetOutPath "$OTHER_FOO_DIR"
File "..\..\Bar.Dat"
Note that the file Bar.Dat is supposed to be copied to other locations later on to during the installation. How do I rename it for this specific copy operation? If I do a Rename on it the later operations will not find it. I have been looking for an option to pass a destination file name to the File operation, but can’t find one.
Of course I managed to find the answer straight after posting this question. *smack*
File does in fact take a flag of the destination name.