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:
What Criteria Does Patch My PC Use to Prioritize New Applications and Features?
View the Public Roadmap for Patch My PC
Patch My PC Publisher Release Notes
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.
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.