Previous Topic: Create Application PackagesNext Topic: Execute Commands


Execute Application Installation or Commands

To define the installation process for an application package, specify the application file to execute and specify action options to define how to execute the application.

Follow these steps:

  1. Click Resources.

    The Resources page appears.

  2. Open the Explore pane.

    Available groups, services, and systems appear.

  3. Select OnDemand Services, Application.
  4. When creating or editing an application, select the Configure Installation Actions tab.
  5. Click + (Add).

    The Define Action dialog opens.

  6. On the Action Details pane, select Execute Program from the Action drop-down list.
  7. Specify Description and then specify the Program Name or commands to execute.

    Note: From the Program Name field, you can input directly the command and options that are required to execute the application file. However, this option does not enable you to modify the application options.

  8. Select the supported Operating System for the specified action.

    Note: Specifying supported operating systems for actions and applications enables you to define separate OS-specific actions. An action only executes when an application deploys to the specified operating systems for the action. For example, define an application that supports Windows and Linux, and specify separate .bat and .sh actions for Windows and Linux respectively.

  9. (Optional) Specify user credentials to use when executing the action.

    Note: This option enables user-restricted actions during service provisioning. The primary use case is to enable clustered application deployment using domain user credentials.

  10. (Optional) Add an entry of options by clicking the Action Options pane and clicking the New Option icon.
    1. From the option table, specify the option name (for example, action parameter).
    2. Specify a Description, Label, Data Type, and Default Value for the action parameter.
    3. (Optional) Select User Editable to indicate that the end user can input a value for the action parameter during the execution of the application. Specify a Label as the prompt the end user receives when an input is required.
    4. (Optional) Select Mandatory to specify that a user input is required.
    5. (Optional) Select the option and click the Up or Down icon to adjust the order of the parameter.

    Note: Click the Parse icon to input an entire executable command, with all its options. After you input the full command, press Enter to trigger the parsing process. The command parser parses the command and creates each individual action option. Edit each action option individually before continuing.

  11. Click OK to exit the Define Action dialog.