This post will show you how to delete dmg disk image automatically – it will delete a mac disk image file (dmg) when you eject it from your mac
There is an easier way to do the following (just drag the mounted dmg file to the trash, but this is a nice solution too)
I found the instructions on lifehacker but for redundancy I’ve copied the instructions here