Started by grmorgan618, January 17, 2019, 07:38:45 AM
Quote from: grmorgan618 on January 17, 2019, 07:38:45 AMI haven't had any time to look at the pre/post scripts yet so I had some questions... and if the answers are no, then emerges my enhancement requests....1 - am I able to fail the patch from the pre-script? ... for instances, if my pre-script returns a greater than 0 return code does the patch fail?* my goal is to put logic in my pre script so I skip(fail) updates until the deadline, then kill processes but I want my pre-script to handle it - not be static like the publishing options are.
Quote from: grmorgan618 on January 17, 2019, 07:38:45 AM2 - is any information about the currently running update (product and version) passed to the pre/post scripts as arguments? * my goal is to make a single dynamic pre/post script based on the product and when needed the version. in simple usage, a single script for all products that utilized a switch/case function (or ... since I see PatchMyPC is written in Vb.net Select/Case ...)