| Win32_ShortcutAction |
| The CreateShortcuts action manages the creation of shortcuts. In the Advertise mode, the action creates shortcuts to the key files of components of features that are enabled. Advertised shortcuts are those for which the Target property is the feature of the component and the directory of the shortcut is one of the Shell folders or below one. Advertised shortcuts are created with a Microsoft installer technology Descriptor as the target. Non-advertised shortcuts are those for which the Target column in the Shortcut class is a property or the directory of the shortcut is not one of the Shell folders or below one. Advertised shortcuts are created with a Microsoft installer technology Descriptor as the target. In the non-advertise mode (normal install) the action creates shortcuts to the key files of components of features that are selected for install as well as non-advertised shortcuts whose component is selected for install. |
| 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. |
| Arguments | | String | The command-line arguments for the shortcut. |
| 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". |
| HotKey | | UInt16 | The hotkey for the shortcut. It has the virtual-key code for the key in the low-order byte, and the modifier flags in the high-order byte. |
| IconIndex | | String | The icon index for the shortcut. |
| Name | | String | Name is used to identify this software element |
| Shortcut | | String | The name of the shortcut to be created. |
| ShowCmd | | UInt16 | The Show Command specifies the view state of the application window and is similar to the ShowWindow Windows function. |
| SoftwareElementID | | String | The SoftwareElementID is an identifier for this software element. |
| SoftwareElementState | | UInt16 | The SoftwareElementState indicates the state of a software element |
| Target | | String | The Shortcut target specifies the action to be taken when a shortcut is launched. This can reference a software feature or a file specification of directory specification. |
| TargetOperatingSystem | | UInt16 | The TargetOperatingSystem indicates the target operating system of the owning software element. |
| Version | | String | Version should be in the form .. or .. |
| WkDir | | String | The name of the Win32_Property that has the path of the working directory for the shortcut. |
| SAMPLE DATA INSTANCE |
   Timed out
|