First of all, please keep in mind that the "File Copy/Move" operation is intended for files outside the package only. The behavior you are encountering is the normal behavior and that is happening because the MoveFiles action (the moment when the "File Copy/Move" action takes places) is happening before the "InstallFiles" action (the moment when the files from "Files and Folders" page are installed).
That means that, at the time you are trying to move the files from your package, they don't actually exist.
A solution for your scenario is to simply add the file again in the specified folder from "Files and Folders" page and then, if necessary, you can condition the installation of its component from "Organization page".
Thank you for your reply. But it will not work
cause:
In my case, I need to copy (4 files) related to a driver, and these 4 files have 4 releases each release must install on some operating system. so I have here 4 folders in each folder have 4 files with the same name but with different attributes and contents.
Soi cannot add all files in Files and folders, no duplicates allowed here. Soi creates a folder then create 4 different folders and place every 4 files with one folder. Then I do File copy move operation and the source is a property. then i will assign the property with the correct path depending on the operation system with a custom action (set property)
FOLLOW US
Get the latest news in Application Packaging