Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
In Configuration Manager, the executable action runs a program or opens a file by using the program registered with Windows for that file type.
The following attributes and elements are specific to an action that runs a program:
The
ActionDescription
elementClass
attribute is set toExecutable
.The
Executable
element is parent toFilePath``,
the path to the program, and toParameters
, the parameters passed to the executable.
Sample Executable Action XML
<ActionDescription Class="Executable" DisplayName="Test Action (execute)" MnemonicDisplayName="A test item" Description="A test item Description">
<ShowOn>
<string>DefaultHomeTab</string>
<string>ContextMenu</string>
</ShowOn>
<!--<ResourceAssembly>
<Assembly>Microsoft.ConfigurationManagement.dll</Assembly>
<Type>Microsoft.ConfigurationManagement.AdminConsole.Properties.Resources.resources</Type>
</ResourceAssembly>-->
<!--<ImagesDescription>
<ExternalImage>
<Assembly>AdminUI.Package.dll</Assembly>
<Type>Microsoft.ConfigurationManagement.AdminConsole.Package.SmsPackageUtils</Type>
<Method>ShowPackageLockedIcon</Method>
</ExternalImage>
<ResourceAssembly>
<Assembly>AdminUI.UIResources.dll</Assembly>
<Type>Microsoft.ConfigurationManagement.AdminConsole.UIResources.Properties.Resources.resources</Type>
</ResourceAssembly>
<ImageResourceName>New</ImageResourceName>
</ImagesDescription>-->
<!--<ImagesDescription AliasProperty="OwnedByThisSite">
<ResourceAssembly>
<Assembly>AdminUI.UIResources.dll</Assembly>
<Type>Microsoft.ConfigurationManagement.AdminConsole.UIResources.Properties.Resources.resources</Type>
</ResourceAssembly>
<AliasResourceAssembly>
<Assembly>AdminUI.UIResources.dll</Assembly>
<Type>Microsoft.ConfigurationManagement.AdminConsole.UIResources.SMS_Collection-OwnedByThisSite.resources</Type>
</AliasResourceAssembly>
<ImageResourceName>CollectionsIcon</ImageResourceName>
</ImagesDescription>-->
<!--<ActionStateAssembly>
<Assembly>AdminUI.Report.dll</Assembly>
<Type>Microsoft.ConfigurationManagement.AdminConsole.Report.ReportsUtilityClass</Type>
<Method>EnableReportMenu</Method>
-->
<!--Method signature: public static bool EnableMenu(object sender, ScopeNode scopeNode, ActionDescription action, ResultObjectBase resultObject)-->
<!--
</ActionStateAssembly>-->
<!--<InstancePermissions>
<SecurityFlagsDetailDescription BitName="Delete" BitValue="4" DependsOn="1" />
</InstancePermissions>-->
<!--<MatchPattern>[^1]</MatchPattern>
<MatchValueToTest>##SUB:Order##</MatchValueToTest>-->
<Executable>
<FilePath>https://go.microsoft.com/fwlink/?LinkId=67307</FilePath>
</Executable>
</ActionDescription>
Other elements and attributes are documented in ActionDescription.
See Also
Configuration Manager Actions
How to Create a Configuration Manager Action
How to Find a Configuration Manager Node GUID