Added wait after reboot after XenApp install script
Added exit code output