MoveFile Table

This table contains a list of files to be moved or copied from a specified source directory to a specified destination directory.

The MoveFile table has the following columns.

Column Type Key Nullable
FileKey Identifier Y N
Component_ Identifier N N
SourceName Text N Y
DestName Filename N Y
SourceFolder Identifier N Y
DestFolder Identifier N N
Options Integer N N

 

Columns

FileKey

Primary key that uniquely identifies a particular MoveFile record.

Component_

External key into the Component table. If the component referenced by this key is not selected for installation or removal, then no action is taken on this MoveFile entry.

SourceName

This column contains the localizable name of the source files to be moved or copied. This column may be left blank. See the description of the SourceFolder column. This field must contain a long file name and may contain wildcard characters (* and ?).

DestName

This column contains the localizable name to be given to the original file after it is moved or copied. If this field is blank, then the destination file is given the same name as the source file.

SourceFolder

This column contains the name of a property having a value that resolves to the full path to the source directory. If the SourceName column is left blank, then the property named in the SourceFolder column is assumed to contain the full path to the source file itself (including the file name).

DestFolder

The name of a property whose value resolves to the full path to the destination directory.

Options

Integer value specifying the operating mode.

Constant Hexadecimal Decimal Meaning
(none) 0x000 0 Copy the source file.
msidbMoveFileOptionsMove 0x001 1 Move the source file.

 

Remarks

If a "*" wildcard is entered in the SourceName column of the MoveFile table and a destination file name is specified in the DestName column, all moved or copied files retain the names in the sources.

This table is processed by the MoveFiles action.

Validation

ICE03
ICE06
ICE18
ICE32
ICE45
ICE85