Having trouble with getting an MSI pushed out. K1000
I have an msi file which is at \\server\share\mymsi.msi
I have a batch file that sits in the same location \\server\share.
I can double click my batch file and it opens up a command prompt and I see "V:\folder\folder msiexec /i mymsi.msi /quiet" in the command prompt window.
It runs fine and the software is installed.
When I attempt to use K1000 to do this same thing, it fails.
I tried a managed install first, and I found that because it uses "system" account it was failing or at least that is what I thought. (I used psexec to open a prompt as system account and when I try to run the install from there it will not run)
So the answer was supposed to be to switch to using an online Kscript because you could configure some credentials to run under rather than SYSTEM account. So I configured it to run under DOMAIN ADMIN credentials...
My script has the box checked to "allow run without a logged-in user"
It looks like this..
verify 1. launch "\\server\share\mybatchfile.bat" with params ""
That's it... The batch file itself contains "msiexec /i mymsi.msi /quiet" (the msi file is in the same directory as the batch so it works fine like this. I've tried both ways with the entire path spelled out and it still doesn't work.
What am I missing?
Community Chosen Answer
I don't see why you are not uploading the MSI into the software inventory
and then using the managed install with the parameters you need.
But if you want to go the scripting way.....
Why not Zip up the MSI and the batch file together and upload it to the k1 as
then in the Task section "on success section" ------> launch program
leave the parameters empty, as you have them in the bat file.
I think it should work