Win32_ShortcutAction, ROOT\CIMV2

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

Description

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.

Win32_ShortcutAction methods

Win32_ShortcutAction has 1 methods (1 Derived)

NameOriginReturn
InvokeCIM_Actionuint32 {'out':True}

Win32_ShortcutAction properties

Win32_ShortcutAction has 16 properties (7 Local, 9 Derived)

NameOriginCIMType
key
ActionID
CIM_Action8 [string]
ArgumentsWin32_ShortcutAction8 [string]
CaptionCIM_Action8 [string]
DescriptionCIM_Action8 [string]
DirectionCIM_Action18 [uint16]
HotKeyWin32_ShortcutAction18 [uint16]
IconIndexWin32_ShortcutAction8 [string]
NameCIM_Action8 [string]
ShortcutWin32_ShortcutAction8 [string]
ShowCmdWin32_ShortcutAction18 [uint16]
SoftwareElementIDCIM_Action8 [string]
SoftwareElementStateCIM_Action18 [uint16]
TargetWin32_ShortcutAction8 [string]
TargetOperatingSystemCIM_Action18 [uint16]
VersionCIM_Action8 [string]
WkDirWin32_ShortcutAction8 [string]

Detailed description of Win32_ShortcutAction methods

Derived methods (1) of Win32_ShortcutAction 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_ShortcutAction properties

Local properties (7) of Win32_ShortcutAction class

Arguments property
CIMTYPE'string'
Description'The command-line arguments for the shortcut.'
readTrue
Arguments property is in 2 classes of ROOT\cimv2 and in 11 namespaces
HotKey property
CIMTYPE'uint16'
Description'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. '
readTrue
HotKey property is in 1 class (Win32_ShortcutAction) of ROOT\cimv2 and in 2 namespaces
IconIndex property
CIMTYPE'string'
Description'The icon index for the shortcut.'
IconIndex property is in 1 class (Win32_ShortcutAction) of ROOT\cimv2 and in 6 namespaces
Shortcut property
CIMTYPE'string'
Description'The name of the shortcut to be created.'
readTrue
Shortcut property is in 1 class (Win32_ShortcutAction) of ROOT\cimv2 and in 2 namespaces
ShowCmd property
CIMTYPE'uint16'
Description'The Show Command specifies the view state of the application window and is similar to the ShowWindow Windows function.'
readTrue
ValueMap['0', '3', '7']
Values['SW_SHOWNORMAL', 'SW_SHOWMAXIMIZED', 'SW_SHOWMINNOACTIVE']
ShowCmd property is in 1 class (Win32_ShortcutAction) of ROOT\cimv2 and in 2 namespaces
Target property
CIMTYPE'string'
Description'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.'
readTrue
Target property is in 2 classes of ROOT\cimv2 and in 6 namespaces
WkDir property
CIMTYPE'string'
Description'The name of the Win32_Property that has the path of the working directory for the shortcut.'
readTrue
WkDir property is in 1 class (Win32_ShortcutAction) of ROOT\cimv2 and in 2 namespaces

Derived properties (9) of Win32_ShortcutAction 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
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_ShortcutAction Qualifiers

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

Win32_ShortcutAction System properties

NameValueOriginCIMTypeLocalArray
__PATH'\\.\ROOT\cimv2:Win32_ShortcutAction'___SYSTEM8
__NAMESPACE'ROOT\cimv2'___SYSTEM8
__SERVER'.'___SYSTEM8
__DERIVATION['CIM_Action']___SYSTEM8
__PROPERTY_COUNT16___SYSTEM3
__RELPATH'Win32_ShortcutAction'___SYSTEM8
__DYNASTY'CIM_Action'___SYSTEM8
__SUPERCLASS'CIM_Action'___SYSTEM8
__CLASS'Win32_ShortcutAction'___SYSTEM8
__GENUS1___SYSTEM3

Similar Classes to Win32_ShortcutAction

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_RemoveFileAction0141999---
Win32_RemoveIniAction0131999---
Win32_SelfRegModuleAction0111----
Win32_SoftwareElementAction020999---
Win32_SoftwareFeatureAction020999---
Win32_TypeLibraryAction012131---
comments powered by Disqus
WUtils.com