EN
Dieser Inhalt ist in Ihrer Sprache leider nicht verfügbar. Im Folgenden finden Sie die englische Version.

RemoveFile Table

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.

ColumnTypeKeyNullable
FileKey Identifier YN
Component_ Identifier NN
FileName WildCardFilename NY
DirProperty Identifier NN
InstallMode Integer NN

 

Columns

FileKey

Primary key used to identify this particular table entry.

Component_

External key the first column of the Component table. This field references the component that controls the file to be removed.

FileName

This column contains the localizable name of the file to be removed. If this column is null, then the specified folder will be removed if it is empty. All of the files that match the wildcard will be removed from the specified directory.

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.

ConstantHexadecimalDecimalDescription
msidbRemoveFileInstallModeOnInstall0x0011Remove only when the associated component is being installed (msiInstallStateLocal or msiInstallStateSource).
msidbRemoveFileInstallModeOnRemove0x0022Remove only when the associated component is being removed (msiInstallStateAbsent).
msidbRemoveFileInstallModeOnBoth0x0033Remove in either of the above cases.

 

Remarks

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

Validation

ICE03
ICE06
ICE18
ICE32
ICE45
ICE64

 

 

Community-Beiträge

HINZUFÜGEN
Anzeigen:
© 2014 Microsoft