Our problem is that if we push a MSI install via batchfile distribution package to a windows xp-sp3 machine, and if the msiexec.exe process is in busy performing another install, e.g. MS security updates, the LanDesk task fails.
Shouldn't LanDesk be smart enought to wait for its turn and not just fail?
Here is how our command in the batch file looks like:
msiexec /update \\sharelocation\AdbeRdrUpd932_all_incr.msp /quiet
Not really, as such. If you think about it, the expectation is pretty sensible that "if you have a tool like LANDesk, you will be using LANDesk to do your distribution" ... and SDCLIENT does go around checking whether another instance of itself is already running.
So 'from our' point of view, we're making sure that we're waiting for other tasks to finish, as it were.
BAT-files in particular are a bit tricky, since LDMS can't really be expected to know what's supposed to go on in the BAT-file (and string-search checking won't be wise, since the difference between just copying an MSI from A to B and actually installing is quite big).
If this is something you frequently run into, I would suggest just including some kind of VB-based 'wrapper' so to speak, you can check TASKMON whether MSIEXEC is running, and if it is, decide yourself. Do you want to:
- Fail the task and start it another time?
- Keep the task ticking, checking again in a certain time incremement for whether MSIEXEC is running?
- Mark the task as 'succeeded' with a specific status message.
All this stuff is possible, it's more of a question of policy. Should those things be installing without LDMS control (i.e. "should Windows users have the power to install patches"), or - respectively - if you're using a non LANDesk-patching solution (because VULSCAN will be using SDCLIENT to install its patches), then it's a matter of communicating with the relevant department and agree on time-windows, and such things.
It depends on whether this is more of a technological, or more of a social problem, as it were .
Hope this helps.
- Paul Hoffmann
LANDesk EMEA Technical Lead
We have an ER out on something similar. LANDesk has responded and is working on a solution.
Prior to LanDesk, we used a different software deployment tool and handled tasks like these with no problems. It appears that LanDesk should be able to make it possible.
Thanks for your comment.
I see that this functionallity has been included with Landesk 9. Thanks a bunch!