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.4.1 available

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

Two commands at once?

Is it possible to make a package to kill a process and then install another program?

Example: Clamwin updates need to be pushed out, but in order to install, you need to first kill a process that clamwin relies on. This would require, at the least, a command stating taskkill /IM "Clamtray.exe", but could be done in a batch file. One could say that you could install the program through the batch file, but alas that requires an elevated command prompt, which is why I use OCS.

So far the only thing I can think of is pushing a batch file to kill clamtray first and then pushing the install file. Seems like a little too much work, that will more than likely get messed up in the middle of it.

asked in OCS Inventory NG server for Unix by (240 points)

Please log in or register to answer this question.

Powered by Question2Answer