PSADT v4 — Your First Package
A free beginner course in six lessons: what enterprise software packaging is, how a PSAppDeployToolkit 4.1 package is structured, which tools a packager uses, how a first MSI package for 7-Zip is built and tested, and how it is handed over to Configuration Manager or Intune.
Start with lesson 1 →This course covers the first steps in enterprise application packaging with the PSAppDeployToolkit (PSADT), version 4.1. It is written for administrators who deploy software with Configuration Manager or Intune and want to replace ad-hoc install scripts with a standard package format, and for anyone starting out as a software packager. No previous PSADT experience is assumed.
The course works with a single example from start to finish: the 7-Zip MSI installer. Each lesson ends with a hands-on exercise, a few questions to check understanding, and a short summary. The result after six lessons is one complete, tested package and a clear picture of what happens to it after handover.
What is needed
- A test VM (
CL01in the exercises). Windows 10 22H2 or Windows 11 (any version listed on the PSADT requirements page), with a checkpoint taken on a clean, fully updated state. Every test in this course starts from that checkpoint. A production workstation is not a suitable test system, because software already installed there hides missing prerequisites. - Local administrator rights on the VM. The default PSADT 4.1 template requires an elevated process.
- Windows PowerShell 5.1. PSADT 4.1 supports Windows PowerShell 5.1 and PowerShell 7.4 or later and needs .NET Framework 4.7.2 or later. The exercises use Windows PowerShell 5.1, because
Invoke-AppDeployToolkit.exe, the launcher that Configuration Manager and Intune call, starts Windows PowerShell 5.1 unless it is told otherwise. - Internet access on a packaging machine (
PKG01in the exercises) to download PSADT and the 7-Zip MSI. The test VM itself can stay offline if the files are copied to it. - Optional, for lesson 6: a Configuration Manager lab or an Intune test tenant. The lesson can be followed without either; the exercise then ends with a written handover sheet.
Version state
The course is written for PSAppDeployToolkit 4.1.8, the latest stable release as of 2026-11-29. Version 4.2.0 is available as a release candidate (RC2, 2026-10-01) and is not covered here. What changes for existing wrappers with 4.2 is described in PSADT 4.2 RC2 for ConfigMgr and Intune Packagers.
What this course does not cover
The free course stops at one MSI package that installs and uninstalls cleanly on a test VM. The following topics are deliberately left out and are treated in depth in a later, more advanced course:
- EXE installers and finding silent switches (Inno Setup, NSIS, InstallShield, WiX Burn)
- MSI transforms, patches and public properties beyond the basics
- User-context installations, HKCU settings and Active Setup
- User interaction in depth: closing applications, deferrals, restart prompts
- Upgrades, removal of previous versions and supersedence
- Detection strategies beyond the MSI product code
- Troubleshooting real deployment failures, code signing, and migration from PSADT 3.x or to 4.2
What enterprise software packaging is
Why organisations wrap vendor installers in packages, what silent installation and reproducibility mean in practice, where a package sits in the application lifecycle, and where PSADT fits between the installer and the deployment tool.
The structure of a PSADT v4 package
How PSAppDeployToolkit 4.1 is obtained, what the folders of a package contain, how Invoke-AppDeployToolkit.ps1 is organised into deployment types and phases, what $adtSession holds, and how the four deploy modes behave.
The packager's toolbox
The tools a packager uses every day, grouped by task: writing scripts, reading logs, inspecting MSIs, running as SYSTEM, testing on a clean system, verifying sources, and finding switches, extracting, administrative installs and transforms. Where each tool officially comes from, and which free option is enough to start.
First package: the 7-Zip MSI
A guided build of a complete PSADT 4.1 package for the 7-Zip MSI, from the source file to a wrapper with install, uninstall and repair logic, with a checkpoint after each step.
Testing locally and reading logs
A repeatable local test cycle for a PSADT 4.1 package: which runs to perform, where the PSADT and MSI logs are written, how to read them, which exit codes are documented, and what to check before handover.
Handover to ConfigMgr and Intune
How a tested PSADT 4.1 package becomes a Configuration Manager application or an Intune Win32 app: command lines, deploy mode, install context, a product code detection rule, return codes, and what to check after the first deployment.