BACK TO INDEX

Win32_RemoveFileAction
The RemoveFiles action uninstalls files previously installed by the InstallFiles action. Each of these files is 'gated' by a link to an entry in the Component class; only those files whose components are resolved to the iisAbsent Action state, or the iisSource Action state IF the component is currently installed locally, will be removed. The RemoveFiles action can also remove specific author-specified files that weren't installed by the InstallFiles action. Each of these files is 'gated' by a link to an entry in the Component class; those files whose components are resolved to any 'active' Action state (i.e. not in the 'off', or NULL, state) will be removed (if the file exists in the specified directory, of course). This implies that removal of files will be attempted when the gating component is first installed, during a reinstall, and again when the gating component is removed.
NameSpace Path
\ROOT\CIMV2
PROPERTYSMS_REPORTCIMTYPEDESCRIPTION
ActionIDStringThe ActionID property is a unique identifier assigned to a particular action for a software element.
CaptionStringNA
DescriptionStringA description of the object.
DirectionUInt16The Direction property indicates whether a particular CIM_Action object is part of a sequence of actions to transition the current software element to its next state, such as "Install" or to remove the current software element, such as "Uninstall".
DirPropertyStringThe name of a Win32_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 iproperty for a Win32_DirectorySpecification or any other property that represents a full path.
FileStringThe file name.
FileKeyStringA unique key identifying this remove file action within its product.
FileNameStringThe property contains the 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.
InstallModeUInt16A bit map that tells when this action will be preformed based on the following Hexadecimal Decimal Description 0x001 1 Remove only when the associated component is being installed (msiInstallStateLocalor msiInstallStateSource). 0x002 2 Remove only when the associated component is being removed (msiInstallStateAbsent). 0x003 3 Remove in either of the above cases.
NameStringName is used to identify this software element
SoftwareElementIDString The SoftwareElementID is an identifier for this software element.
SoftwareElementStateUInt16 The SoftwareElementState indicates the state of a software element
TargetOperatingSystemUInt16The TargetOperatingSystem indicates the target operating system of the owning software element.
VersionStringVersion should be in the form .. or ..
SAMPLE DATA INSTANCE
   Timed out