[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).
- 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.
- 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.
- Alternatively, to view the list of variables or find a specific one, click 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.
To quickly insert this variable again, use the Recent list of actions and variables.
- To save the package, select MENU > Save.
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.