I have a tricky one that i'm running out of ideas on

The situation is that a revamped installation setup is marked to first uninstall the previous version. So far all is good. The setup informs in the prereq part that it needs to remove the existing version, before rebooting and continuing.
Now for the problem. That old version contains a license file in tve $TARGETDIR$ that should remain untouched by the uninstall/install process.
My lack of knowledge at the time of creating the old setup resulted inme NOT flagging this file as "leave and never uninstall" so that ship has passed

I have tried to copy it, rename it etc. I the prereq section, but nothing happens, which i find a bit weird. Is it so that all such commands really happens at a later stage in the setup, and not when the script reaches that line?
Could you please give me an idea of how to solve this problem
Best regards
Per Malmstedt
Ps. Just upgraded to X3 from ver 17
