I’m trying to write a custom actiont that uninstall a program (there are several services), then wait for the agent to reboot (whitout disturbing the user) and then reinstall it.
How is it possible to let the action wait before proceding with the new install???
Look back at my original post and try following that exactly. The two part need to be in separate custom tasks that are run one after another in a baseline. If you try to put it all in one task, it will not work.
But the problem is that the agent is rebooted also without user intervention, cause of the restart command.
if I try without the “restart 60” command, the client starts the next action before the client restart, and when the user reboots, the clause fails with error.