Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Installer
Installer Database
Database Tables
 RemoveFile Table

  Switch on low bandwidth view
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
FileKeyIdentifierYN
Component_IdentifierNN
FileNameWildCardFilenameNY
DirPropertyIdentifierNN
InstallModeIntegerNN

 

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

Send comments about this topic to Microsoft

Build date: 6/25/2009

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker