The DuplicateFiles action duplicates files installed by the InstallFiles action. The duplicate files can be copied to the same directory with a different name or to a different directory with the original name.
|Field||Description of action data|
|||Identifier of duplicated file.|
|||Size of duplicated file.|
|||Identifier of directory holding duplicated file.|
The string in the DestFolder field is a property name whose value is expected to resolve to a fully qualified path. This property can either be any of the directory entries in the Directory table, any pre-defined folder property (CommonFilesFolder, for example), or a property set by any entry in the AppSearch table. If the DestFolder property does not evaluate to a valid path the DuplicateFiles action does nothing for that entry.
If the name of the destination file in the DestName column of the DuplicateFile table is left blank, the destination file name will be the same as the original file name.
Files installed by the DuplicateFiles action are removed by the RemoveDuplicateFiles action when appropriate.