DuplicateFile Table

[This is preliminary documentation and subject to change.]

The DuplicateFile table contains a list of files that are to be duplicated, either to a different directory than the original file or to the same directory but with a different name. The original file must be a file installed by the InstallFiles action.

The DuplicateFile table has the following columns.

Column Type Key Nullable
FileKey Identifier Y N
Component_ Identifier N
File_ Identifier N
DestName Filename Y
DestFolder Identifier Y

Columns

FileKey
Primary key, non-localized token, used to uniquely identify a particular DuplicateFile record.
Component_
Foreign key referencing an entry in the Component table. If this component is not selected for installation or removal, no action is taken on the associated DuplicateFile entry.

External key to column one of the Component table.

File_
Foreign key referencing an entry in the File table representing the original file to be duplicated.
DestName
Name to be given to the duplicate file. If blank, the destination file is given the same name as the original file
DestFolder
Name of a property whose value is the full path where the duplicate file is to be copied. If this directory is the same as the directory containing the original file and the name for the proposed duplicate file is the same as the original file, no action takes place.

Remarks

The table is processed by the DuplicateFiles action and the RemoveDuplicateFiles action.