pereduR, my quess is that this line:
code:
$cmd = "m:\common\deployment\pkunzip.exe -d " + $patchDir + $patch + " " + $usysDir + " -o"

might cause some trouble.
try changing it to:
code:
$cmd = "%comspec% /c m:\common\deployment\pkunzip.exe -d " + $patchDir + $patch + " " + $usysDir + " -o"

if it still does not work, add some checks after the line to make sure it really finishes.
this is not first similar post lately, so can't be sure what it is.

also, what is the kix-version used?
_________________________
!

download KiXnet