Hello,
I'm very sorry, but I'm afraid it is still unclear to me what you are trying to achieve. What do you mean by "I need to copy 'fileX' to 'file'"? Do you want to copy the content of the "fileX" to the existing content of the "file"?
Or do you have multiple versions of the same file named like this: file, file1, file2, file3, etc and depending on the user selection you want to install only one of the above files and rename it to "file"? If so, the only option for this will be to use the How to install two files with the same name in the same folder approach. There is no other solution. Therefore, you will have to add all the fileX files in subfolders of the target folder.
All the best,
Daniel
FOLLOW US
Get the latest news in Application Packaging