K2000 3.6 Post install task fails: The system cannot find the file specified
Not sure why this is failing. I'm installing the KACE Agent as a post install task.
The file is in the correct location. I can install it from the location marked in the Edit Tasks.xml view cmd in the Task engine. But K2000 will not install the task automatically.
ANy ideas?
7 Comments
[ + ] Show comments
Answers (1)
Please log in to answer
Posted by:
stevech
10 years ago
One solution I heard works is to recreated the Application task as a Windows Script task. Another solution can be found at the following link:
http://www.kace.com/support/resources/kb/solutiondetail?sol=SOL118913
PO tasks have changed 3.6. Here is something on this subject -
http://www.kace.com/support/resources/kb/solutiondetail?sol=SOL118913
Although not specified (we are working on getting the documentation expanded), this affects several other things.
VBS scripts now need at the begining of the cmd - cscript.
Dos commands would need this - cmd.exe /c followed_by_the_command.
In my instances, my application tasks were failing with file not found errors, I needed to add the cmd.exe /c, or (my long winded solution) package the installer and a batch file with install commands inside of a zip, upload that to the K2 and call the batch file as the application task. - Asevera 10 years ago
Its a Flash Player install as a Windows Application with the associated .msi listed in the command line above.
Should it be cmd.exe msiexec.exe............ ? - jharrell 10 years ago
msiexec /i install_flash_player_12_plugin.msi /qn
maybe re-arrange your syntax a bit and see if that helps? - Asevera 10 years ago
C:\WINDOWS\system32\cscript.exe "C:\Program Files\Microsoft Office\Office14\OSPP.VBS" /inpkey:M - jharrell 10 years ago
cscript "C:\Program Files\Microsoft Office\Office14\OSPP.VBS" /inpkey:M
I've noticed that alot of my issues come from treating the 3.6 task engine like it's the old "dumb" engine. Try that out and let the engine sort out the file locations for you. - Asevera 10 years ago