Win32_RemoveFileAction, ROOT\CIMV2

Class | Methods (1) | Properties (14) | Qualifiers (6) | Instances (999) | Namespaces (2)
Samples: VB Script | C# | VB.Net | Search on:Microsoft

Description

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.

Win32_RemoveFileAction methods

Win32_RemoveFileAction has 1 methods (1 Derived)

NameOriginReturn
InvokeCIM_Actionuint32 {'out':True}

Win32_RemoveFileAction properties

Win32_RemoveFileAction has 14 properties (4 Local, 10 Derived)

NameOriginCIMType
key
ActionID
CIM_Action8 [string]
CaptionCIM_Action8 [string]
DescriptionCIM_Action8 [string]
DirectionCIM_Action18 [uint16]
DirPropertyWin32_RemoveFileAction8 [string]
FileCIM_RemoveFileAction8 [string]
FileKeyWin32_RemoveFileAction8 [string]
FileNameWin32_RemoveFileAction8 [string]
InstallModeWin32_RemoveFileAction18 [uint16]
NameCIM_Action8 [string]
SoftwareElementIDCIM_Action8 [string]
SoftwareElementStateCIM_Action18 [uint16]
TargetOperatingSystemCIM_Action18 [uint16]
VersionCIM_Action8 [string]

Detailed description of Win32_RemoveFileAction methods

Derived methods (1) of Win32_RemoveFileAction class

Invoke method
Returnuint32 {'out':True}
Description' The invoke method is to take a particular action. The details of how the method performs the action is implementation specific. The results of the method are based on the return value. - A 0 (zero) is returned if the condition is satisfied. - A 1 (one) is returned if the method is not supported. - Any other value indicates the condition is not satisfied. '
Invoke method is in 48 classes of ROOT\cimv2 and in 4 namespaces

Detailed description of Win32_RemoveFileAction properties

Local properties (4) of Win32_RemoveFileAction class

DirProperty property
CIMTYPE'string'
Description'The 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.'
readTrue
DirProperty property is in 1 class (Win32_RemoveFileAction) of ROOT\cimv2 and in 2 namespaces
FileKey property
CIMTYPE'string'
Description'A unique key identifying this remove file action within its product.'
readTrue
FileKey property is in 3 classes of ROOT\cimv2 and in 4 namespaces
FileName property
CIMTYPE'string'
Description'The 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.'
readTrue
FileName property is in 21 classes of ROOT\cimv2 and in 23 namespaces
InstallMode property
CIMTYPE'uint16'
Description'A 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.'
readTrue
InstallMode property is in 1 class (Win32_RemoveFileAction) of ROOT\cimv2 and in 2 namespaces

Derived properties (10) of Win32_RemoveFileAction class

ActionID property
CIMTYPE'string'
Description'The ActionID property is a unique identifier assigned to a particular action for a software element. '
keyTrue
maxlen256
readTrue
ActionID property is in 25 classes of ROOT\cimv2 and in 2 namespaces
Caption property
CIMTYPE'string'
maxlen64
readTrue
Caption property is in 1050 classes of ROOT\cimv2 and in 37 namespaces
Description property
CIMTYPE'string'
Description'A description of the object.'
readTrue
Description property is in 1061 classes of ROOT\cimv2 and in 142 namespaces
Direction property
CIMTYPE'uint16'
Description'The 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".'
readTrue
Values['Install', 'Uninstall']
Direction property is in 25 classes of ROOT\cimv2 and in 9 namespaces
File property
CIMTYPE'string'
Description'The file name.'
maxlen1024
readTrue
File property is in 8 classes of ROOT\cimv2 and in 4 namespaces
Name property
CIM_keyTrue
CIMTYPE'string'
Description'Name is used to identify this software element'
maxlen256
Propagated'CIM_SoftwareElement.Name'
readTrue
Name property is in 1046 classes of ROOT\cimv2 and in 142 namespaces
SoftwareElementID property
CIM_keyTrue
CIMTYPE'string'
Description' The SoftwareElementID is an identifier for this software element.'
maxlen256
Propagated'CIM_SoftwareElement.SoftwareElementID'
readTrue
SoftwareElementID property is in 53 classes of ROOT\cimv2 and in 3 namespaces
SoftwareElementState property
CIM_keyTrue
CIMTYPE'uint16'
Description' The SoftwareElementState indicates the state of a software element '
Propagated'CIM_SoftwareElement.SoftwareElementState'
readTrue
Values['Deployable', 'Installable', 'Executable', 'Running']
SoftwareElementState property is in 53 classes of ROOT\cimv2 and in 3 namespaces
TargetOperatingSystem property
CIM_keyTrue
CIMTYPE'uint16'
Description'The TargetOperatingSystem indicates the target operating system of the owning software element.'
Mappingstrings['MIF.DMTF|Software Component Information|002.5']
Propagated'CIM_SoftwareElement.TargetOperatingSystem'
readTrue
Values['Unknown', 'Other', 'MACOS', 'ATTUNIX', 'DGUX', 'DECNT', 'Digital Unix', 'OpenVMS', 'HPUX', 'AIX', 'MVS', 'OS400', 'OS/2', 'JavaVM', 'MSDOS', 'WIN3x', 'WIN95', 'WIN98', 'WINNT', 'WINCE', 'NCR3000', 'NetWare', 'OSF', 'DC/OS', 'Reliant UNIX', 'SCO UnixWare', 'SCO OpenServer', 'Sequent', 'IRIX', 'Solaris', 'SunOS', 'U6000', 'ASERIES', 'TandemNSK', 'TandemNT', 'BS2000', 'LINUX', 'Lynx', 'XENIX', 'VM/ESA', 'Interactive UNIX', 'BSDUNIX', 'FreeBSD', 'NetBSD', 'GNU Hurd', 'OS9', 'MACH Kernel', 'Inferno', 'QNX', 'EPOC', 'IxWorks', 'VxWorks', 'MiNT', 'BeOS', 'HP MPE', 'NextStep', 'PalmPilot', 'Rhapsody', 'Windows 2000', 'Dedicated', 'VSE', 'TPF']
TargetOperatingSystem property is in 53 classes of ROOT\cimv2 and in 3 namespaces
Version property
CIM_keyTrue
CIMTYPE'string'
Description'Version should be in the form .. or ..'
Mappingstrings['MIF.DMTF|ComponentID|001.3']
Maxlen64
Propagated'CIM_SoftwareElement.Version'
readTrue
Version property is in 101 classes of ROOT\cimv2 and in 142 namespaces

Win32_RemoveFileAction Qualifiers

NameValueToInstanceToSubclassOverridableAmendedLocal
Description'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.'
dynamicTrue
Locale1033
MappingStrings['Microsoft.MSI']
provider'MSIProv'
UUID'{AE565838-DB33-11d2-85FC-0000F8102E5F}'

Win32_RemoveFileAction System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\cimv2:Win32_RemoveFileAction'___SYSTEM8
__NAMESPACE'ROOT\cimv2'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_RemoveFileAction', 'CIM_FileAction', 'CIM_Action']___SYSTEM8
__PROPERTY_COUNT14___SYSTEM3
__RELPATH'Win32_RemoveFileAction'___SYSTEM8
__DYNASTY'CIM_Action'___SYSTEM8
__SUPERCLASS'CIM_RemoveFileAction'___SYSTEM8
__CLASS'Win32_RemoveFileAction'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_RemoveFileAction

Number of classes:45
Class nameChildsPropertiesMethodsClass
Instances
Child
Instances
AbstractSingleton
CIM_Action1691-999-
CIM_ActionSequence020---
CIM_CopyFileAction1121---
CIM_CreateDirectoryAction1101-40-
CIM_DirectoryAction2101-40-
CIM_FileAction391-40-
CIM_FromDirectoryAction020---
CIM_ModifySettingAction0141---
CIM_RebootAction091---
CIM_RemoveDirectoryAction0111---
CIM_RemoveFileAction1101-40-
CIM_SoftwareElementActions120-40-
CIM_ToDirectoryAction020---
MSFT_NetServiceCrashNoAction040---
Win32_ActionCheck020999---
Win32_BindImageAction011140---
Win32_ClassInfoAction01912---
Win32_CreateFolderAction010140---
Win32_DuplicateFileAction0131999---
Win32_ExtensionInfoAction0171----
Win32_FontInfoAction0111----
Win32_MIMEInfoAction0121----
Win32_MoveFileAction0151----
Win32_PerfFormattedData_MSDTC_DistributedTransactionCoordinator02201--
Win32_PerfFormattedData_MSSQLMICROSOFTNumberNumberWID_MSSQLMICROSOFTNumberNumberWIDTransactions02201--
Win32_PerfFormattedData_MSSQLSERVER_SQLServerTransactions02201--
Win32_PerfFormattedData_XTPDatabaseEngine_XTPTransactionLog0110----
Win32_PerfFormattedData_XTPDatabaseEngine_XTPTransactions0190----
Win32_PerfRawData_MSDTC_DistributedTransactionCoordinator02201--
Win32_PerfRawData_MSSQLMICROSOFTNumberNumberWID_MSSQLMICROSOFTNumberNumberWIDTransactions02301--
Win32_PerfRawData_MSSQLSERVER_SQLServerTransactions02301--
Win32_PerfRawData_XTPDatabaseEngine_XTPTransactionLog0110----
Win32_PerfRawData_XTPDatabaseEngine_XTPTransactions0190----
Win32_PublishComponentAction0121----
Win32_RegistryAction0141999---
Win32_RemoveIniAction0131999---
Win32_SelfRegModuleAction0111----
Win32_ShortcutAction016132---
Win32_SoftwareElementAction020999---
Win32_SoftwareFeatureAction020999---
Win32_TypeLibraryAction012131---
comments powered by Disqus
WUtils.com