How can we copy, move, rename user files before installation?
We can easily delete files using the [InstallDelete] section:
[InstallDelete]
Type: files; Name: "{app}\SomeFile.exe";
Can we do copy, rename in a similar way?
EDIT:
I tried to make this in [Files] section but I receive an error during compilation because source file does not exist:
[Files]
Source: "{app}\SomeFile.exe"; DestDir: "{app}\SomeDir\SomeFile.exe";
externalflag, but it's a bad idea even if it would work. - TLama