Files
gsadmin aef1772774 feat: Add PSAppDeployToolkit 4.x application deployment template
Reusable, self-contained packaging template built on PSAppDeployToolkit 4.1.8.
The deployable package lives in src/ and carries the toolkit module, so it runs
on any endpoint without a pre-installed dependency and without a pinned version.

Deployment script (src/Invoke-AppDeployToolkit.ps1):
- Process elevation wrapper that relaunches elevated via -File and forwards every
  supplied parameter with type-aware quoting
- Single Switch on the deployment type with Install/Uninstall/Repair phases
- Application identity declared through the native $adtSession properties; only
  the settings the toolkit has no home for live in $PackageOptions
- Deployment mode detection overrides exposed (NoOobeDetection,
  NoSessionDetection, NoProcessDetection)
- Completion toast via Show-ADTBalloonTip
- Exit codes signalled with $Host.SetShouldExit so the script terminates
  naturally rather than the process being killed

Extensions (src/AppDeployToolkitExtensions.ps1):
- Automatic bundled module importing from SupportFiles\Modules, resolving
  RequiredModules prerequisites first and caching UNC sources locally
- Automatic assembly loading from SupportFiles\Libraries\<Arch>|All
- Automatic dot sourcing of SupportFiles\Functions
- Get-ADTDeploymentMedia / Invoke-ADTDeploymentMedia provide the automatic
  MSI/EXE discovery and execution, with transform and patch detection
- Wrapped in Try/Catch/Finally with Resolve-ADTErrorRecord

Also includes Templates/ (advanced function skeleton), docs/Template-Reference.md,
and a .gitignore that excludes working material and staged installation media.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-07-27 16:04:58 -04:00
..