• Welcome to Support Forum: Get Support for Patch My PC Products and Services.
 

Want to skip updates of certain applications on certain devices

Started by lorfo, June 27, 2020, 02:00:21 AM

Previous topic - Next topic

lorfo

Hi all

I have need to skip updates of Java on just certain devices.

At first, was going to just put the required devices into a device collections but with the Java updates being pushed via ADR this creates a manual overhead I don't want.

So was thinking that putting a file on the C:\ drive i.e. "$DO_NOT_UPDATE_JAVA.MARKER", if the update finds this file skip update.

If I create a PS script and place it into the pre-update script section what logic would I need to skip the update fully as I gather just an "if found exit" logic would just exit the current script not the actual update that is run in another script?

Hope this makes sense .. :-/

Thanks

Liam

Justin Chalfant (Patch My PC)

The best option for this would be to create an exclude collection for your deployment?

lorfo

Thanks for getting back to me but the complexity of doing this in the ADR update process is quite high.

I take it from that answer no simple way with PMP to "break" the update in code?

Thanks

Liam

Justin Chalfant (Patch My PC)