BACK TO INDEX

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
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".
EntryNameStringThis 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.
EntryValueStringThis property is the registry value.
keyStringThe key for the registry value.
NameStringName is used to identify this software element
RegistryStringThe 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.
RootSInt16NA
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
   [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";
   };