Home / Guides / Pre/Post Scripts — Troubleshooting
Troubleshooting

Pre/Post Scripts: troubleshooting

Diagnose and fix the failures you'll actually hit.

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.

  1. Reproduce minimally. 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
  2. Read the telemetry. 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
  3. Check the common causes. 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
  4. Apply the fix. 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
  5. Verify. 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

Do it live in the workspace →