Another workaround for mavericks is to copy the original app from the dmg to the Applications folder and then get info of the app using Apple + I. Once the info inspector is opened, check the checkbox that says "Locked". This will prevent MacOS of modifying the app once it has been launched for the first time.