try unmount dmg if it was mounted previously (e.g. user installed app and mounted dmg)