Skip to main content

Deployment Script

The Deploy-Application.ps1 script is where you will spend most of your time when using PSAppDeployToolkit. This script is the main entry point for the deployment and is responsible for executing the deployment phases.

Deployment Phases

The script is broken down into the following sections:

PhaseDescription
InitializationGathers information about the deployment and machine environment to instantiate PSADT from.
Pre-InstallationClose applications, uninstall or clean-up previous versions.
InstallationInstall the primary application, or components of the application
Post-InstallationDrop additional files, registry tweaks
UninstallationUninstall / rollback the changes performed in the install section.
RepairRepair the changes performed in the install section.