A check is a condition or characteristic that is expected to be true in an environment defined or scoped by an instance of a CIM_ComputerSystem. The checks associated with a particular software element are organized into one of two groups using the Phase property of the CIM_SoftwareElementChecks association. Conditions that are expected to be satisfied when a software element is in a particular environment are known as in-state conditions. Conditions that need to be satisfied in order to transition the current software element to its next state are known as next-state conditions A CIM_ComputerSystem object represents the environment in which CIM_SoftwareElement are already installed or in which CIM_SoftwareElement will be installed. For the case in which a software element is already installed, the CIM_InstalledSoftwareElement association is used to identify the CIM_ComputerSystem object that represents the "environment". When a software elements is being distributed and installed on a different computer system, the CIM_ComputerSystem object for the targeted system is the environment.
' The invoke method is to evaluate a particular check. The details of how the method evaluates a particular check in a CIM context is described by the non-abstract CIM_Check sub classes. 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. '
' The CheckMode property is used to indicate whether the condition is expected to exist or not exist in the environment. When the value is True, the condition is expected to exist (e.g., a file is expected to be on a system) so invoke() is expected to return True. When the value is False, the condition is not expect to exist (e.g., a file is not to be on a system) so invoke is expected to return false '
' A check is a condition or characteristic that is expected to be true in an environment defined or scoped by an instance of a CIM_ComputerSystem. The checks associated with a particular software element are organized into one of two groups using the Phase property of the CIM_SoftwareElementChecks association. Conditions that are expected to be satisfied when a software element is in a particular environment are known as in-state conditions. Conditions that need to be satisfied in order to transition the current software element to its next state are known as next-state conditions A CIM_ComputerSystem object represents the environment in which CIM_SoftwareElement are already installed or in which CIM_SoftwareElement will be installed. For the case in which a software element is already installed, the CIM_InstalledSoftwareElement association is used to identify the CIM_ComputerSystem object that represents the "environment". When a software elements is being distributed and installed on a different computer system, the CIM_ComputerSystem object for the targeted system is the environment.'