that you can do with change...
change your shell call to run.
then after the run statement:

do sleep 1
until not setfocus("Microsoft Internet Explorer Update")
$x=sendkeys("{enter}")
exit 0

this waits until the question for reboot comes up, answers yes and exits kix.
the setfocus text used is probably dependent on the language packet used.
I used the english one.

cheers,
_________________________
!

download KiXnet