Is there a standard way to create a postinstall task to just copy files?  I have an xml profile I need to insert as a postinstall task on a system image.  All of the methods I've tried have failed.  They've been built as windows tasks.

Trying to do a straight xcopy command in the command line fails - reviewing tasks.xml shows that it truncates the command to just "xcopy" with none of the additional parameters in the task. 
I've also tried batch and vbs scripts, but in both cases I get "system cannot find the file specified", even though I can navigate to the Kace\applications\X folder and run the command successfully from its specified location.

I would prefer to keep the file in Kace rather than map a drive to another resource.

0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity


I ended up uploading a zip file and ran a batch file to do the any work like xcopy via a vbs script.

here is one that xcopys from the server to the local drive:

Answered 10/09/2014 by: SMal.tmcc
Red Belt

  • Why use a .vbs to run a .bat? Why not just have it run the .bat?
Please log in to comment