proper dmg mount/unmount w/ an if to check file type (.app or .pkg) and functional .app installation