Compartilhar via


How to Run a Program

 

Applies To: System Center 2012 SP1

You can configure a ribbon button to run a program. This type of add-in does not require any coding and is created by defining and configuring a ribbon entry. When a user clicks the ribbon button, the application will start.

To configure a ribbon button to run a program

  1. Inside the root XML node of the manifest file, create a node and name it ActionAddIn.

  2. Add an attribute named Contexts to the action node and set the value to one or more context values. For more information about which context values can be used, see Context values.

  3. Add an attribute named ActionType to the action node and set the value to Application.

  4. Add an attribute named ActionParam to the action node and set the value to the full file path of the file that will run.

  5. Add an attribute named Name to the action node and give it a value.

  6. Optionally, add the Icon and ShowInContextMenu attributes.

See Also

Scenario: Build a Basic Action Add-in
How to Open a Web Browser