Pre/Post Scripts
Versioned PowerShell that edits like metadata.
What it does
Attach versioned pre-install and post-install PowerShell to any package and edit it in the portal — script edits apply as metadata, not as a full repackage, re-upload, and re-download lifecycle. This mirrors the direction of Intune's new PowerShell-script installer support, where the script becomes portal-editable metadata, while sidestepping the 64/32-bit switch bug that shipped with it. Every script version is diffable and reversible.
Configuration
- {'label': 'Execution context', 'kind': 'select', 'options': ['64-bit', '32-bit', 'Auto']}
- {'label': 'Version scripts', 'kind': 'toggle'}
- {'label': 'Script name', 'kind': 'text'}
Why it's better
Patch My PC's own blog notes that when installer logic lives in PowerShell, every script fix becomes a full app lifecycle event; metadata-level script edits make small fixes cheap and safe again.
Telemetry
Scripts versionedMetadata-only updatesReverted edits