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:

9 VOTE
Status NOTED
Created by Adam Cook
Created on May 6, 2021

Make PatchMyPC-ScriptRunner.exe exit code same as pre/post script

If the application's installer exit code is a success, and the user has a pre or post script define, please consider allowing PatchMyPC-ScriptRunner.exe to exit with exit code of the pre or post script. It might be ideal for an admin to fail the install of an app or update if a pre or post script fails.

Perhaps this behaviour could be controlled via a checkbox in the Add custom pre/post script dialogue where the default behaviour is how it is today (not to use the pre/post script exit code, only the installer's) and enabling the checkbox would enable this new proposed functionality.

Perhaps the checkbox could be worded as "Use script exit code if installation is successful"

  • Attach files
  • +2
6 VOTE

Allow for custom exit codes from Pre/post scripts to pass to Intune Management Extension

Merged
When using custom scripts allow the exit codes to be passed to intune management this will allow for additional error handling in a pre/post script
James Russell over 3 years ago in Patch My PC Publisher 1 NOTED