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

Two commands at once?

$
0
0
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.

Thoughts?

Viewing all articles
Browse latest Browse all 4370

Trending Articles



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