Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Attempt reinstall when exit code != 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!
in OCS Inventory NG agent for Windows by (200 points)

Please log in or register to answer this question.

 
Powered by Question2Answer
...