[PSADT] Add variablesΒΆ

Insert the pre-defined PSAppDeployToolkit variables into the actions of the deployment script.

Important

Precondition: Open the PSAppDeployToolkit package in Packag Wrapper (see Open PSAppDeployToolkit).


  1. Go to the Package Designer tab and select the Actions section (e.g. Pre-install, Post-uninstall) that you need to configure.

    Note

    The Repair section is only available from the PSAppDeployToolkit version 3.8.1.

    pkg-wrapper-actions-pre-install

  2. To add a variable, place a cursor in the body of the script where you want to insert it.
    • If you know the variable name, start typing it and the IntelliSense will help you to complete the name.

      pkg-wrapper-actions-instellisense-variables

    • Alternatively, to view the list of variables or find a specific one, click Add > Variable.

      pkg-wrapper-actions-add-variable


      Select the required variable from the list and click Add. Use the search box in the upper right corner to filter the list of variables.

      pkg-wrapper-actions-add-variable-dialog


      To quickly insert this variable again, use the Recent list of actions and variables.

      pkg-wrapper-actions-add-recent

  3. To save the package, select MENU > Save.

    pkg-wrapper-menu




Note

PACE Suite covers the whole range of application packaging tasks - learn more.

Try PACE Suite for free - 21 days no obligations unlimited trial with all functions unlocked.