Change the deploy mode to interactive only if file is in use

Topics: Archive - Deployment Scripts
Oct 1, 2014 at 10:09 PM
Hi
I am wanting to deploy a Java update to machines. The issue I have is that if IE is open, the installation will not complete properly. Long story short, installing at log on and log off via SCCM are not working out so I would like to use the powershell app deployment toolkit to install the update.

What I would like to do is run the installation silently unless IE is open. I don't want to display a welcome screen, I just want to check if IE is open first and if it is then prompt the user and allow them to defer the installation. If it isn't, then I want to run the installation silently so the user doesn't know it's happening.

Can anyone suggst the best way of achieving this ?

Thanks

G
Oct 2, 2014 at 10:13 AM
It looks like -AllowDeferColseApps does what I need.

G
Marked as answer by OhhAhh on 10/2/2014 at 3:14 AM