| Win32_RegistryAction | |||
| The WriteRegistryValues action sets up registry information that the application desires in the system Registry. The registry information is gated by the Component class. A registry value is written to the system registry if the corresponding component has been set to be installed either locally or run from source. | |||
| NameSpace Path | |||
| \ROOT\CIMV2 | |||
| PROPERTY | SMS_REPORT | CIMTYPE | DESCRIPTION |
| ActionID | String | The ActionID property is a unique identifier assigned to a particular action for a software element. | |
| Caption | String | NA | |
| Description | String | A description of the object. | |
| Direction | UInt16 | 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". | |
| EntryName | String | This property contains the registry value name. If this is Null, then the data entered into the Value proeprty are written to the default registry key. | |
| EntryValue | String | This property is the registry value. | |
| key | String | The key for the registry value. | |
| Name | String | Name is used to identify this software element | |
| Registry | String | The registry value name. If the Value column is null, then the following strings in the Name column have special significance. + The key is to be created, if absent upon the installation of the component. - The key is to be deleted, if present, with all its values and subkeys upon the uninstallation of the component. * The key is to be created, if absent upon the installation of the component AND the key is to be deleted, if present, with all its values and subkeys upon the uninstallation of the component. | |
| Root | SInt16 | NA | |
| SoftwareElementID | String | The SoftwareElementID is an identifier for this software element. | |
| SoftwareElementState | UInt16 | The SoftwareElementState indicates the state of a software element | |
| TargetOperatingSystem | UInt16 | The TargetOperatingSystem indicates the target operating system of the owning software element. | |
| Version | String | Version should be in the form | |
| SAMPLE DATA INSTANCE | |||
|    [LOCALE(1033): ToInstance Amended]    instance of Win32_RegistryAction    {     ActionID = "RegistryEntry1{B2EC4425-945E-463D-A8A1-CC8ABE95BC96}";     Caption = "RegistryEntry1";     Description = "RegistryEntry1";     EntryName = "InstallDate";     EntryValue = "[Date]";     key = "SOFTWARE\\Actipro Software\\SyntaxEditor\\WindowsForms\\3.1";     Name = "RegistryEntry";     Registry = "RegistryEntry1";     Root = 2;     SoftwareElementID = "{5A90605E-AAFC-414B-A4D7-028AA4A63A68}";     SoftwareElementState = 2;     TargetOperatingSystem = 19;     Version = "3.1.0215";    }; | |||