Consider the following:
I have two files, for example
XXX.txtandYYY.txtI want to install them to a folder (let's say
files), in which there are alreadyXXX.txtandYYY.txtfilesI want to "back up" the two original files, renaming them to
XXX.txt.backupandYYY.txt.backupOn uninstall I want to restore the two files to their original state
How can I achieve this with Inno Setup?