added copyout support to installapp
added copyout support to installapp