Skip to Main Content
Patch My PC Feature and Application Request

A community where customers and the community can provide feedback to make a better product for everyone! For more details on how we prioritize request, please see:

Categories Publishing Service
Created by Adam Cook
Created on Feb 22, 2021
Merged idea

This idea has been merged into another idea. To comment or vote on this idea, please visit PATCHMYPC-I-1348 Update specific variables available in custom pre/post scripts.

Installer exit code from within a custom post-script Merged

It would be useful to know the exit code of the installer from within a post-script.

Maybe the exit code could be stored in an environment variable from PatchMyPC-ScriptRunner.exe's session/scope, therefore child processes/scopes would inherit it.

It would be useful for this to be available in custom post-scripts for ConfigMgr Apps, WSUS/ConfigMgr Updates, and Intune Apps and Updates.

  • +1