Quantcast
Channel: Ocsinventory Q&A - Recent questions
Viewing all articles
Browse latest Browse all 4370

Attempt reinstall when exit code != 0

$
0
0
Is there a way to tell OCS to re-attempt an installation, when the previous attempt failed? I have packages that cannot be installed under certain conditions (e.g. Firefox is running). In my script (AutoIt or Bat) I would like to check for these conditions and exit with a specific exit code (e.g. 75, ex_tempfail). The agent should then retry the installation after some period of time.

Is this in any way possible? Right now I have to manually remove the package from the history file (on the agent side) and re-affect it on the server side.

Thanks!

Viewing all articles
Browse latest Browse all 4370

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>