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.
The script is broken down into the following sections:
|Gathers information about the deployment and machine environment to instantiate PSADT from.
|Close applications, uninstall or clean-up previous versions.
|Install the primary application, or components of the application
|Drop additional files, registry tweaks
|Uninstall / rollback the changes performed in the install section.
|Repair the changes performed in the install section.