RemoveFile Table

[This is preliminary documentation and subject to change.]

The RemoveFile table contains a list of files to be removed by the RemoveFiles action. Setting the FileName column of this table to Null supports the removal of empty folders.

The RemoveFile table has the following columns.

Column Type Key Nullable
FileKey Identifier Y N
Component_ Identifier N
FileName WildCardFilename Y
DirProperty Identifier N
InstallMode Integer N

Columns

FileKey
Primary key used to identify a particular file entry.
Component_
External key referencing the component that controls the file to be removed.

External key to column one of the Component table.

FileName
Name of the file to be removed. If this column is null, then the specified folder will be removed if it is empty.
DirProperty
Name of a property whose value is assumed to resolve to the full path to the folder of the file to be removed. The property can be the name of a directory in the Directory table, a property set by the AppSearch table, or any other property that represents a full path.
InstallMode
Must be one of the following values.
Value Meaning
1 Remove only when the associated component is being installed (iisLocal or iisSource).
2 Remove only when the associated component is being removed (iisAbsent).
3 Remove in either of the above cases.

Remarks

The file references in this table are processed by the RemoveFiles action.