Question: how to install mountain lion dmg file?
Answer: Download OS X 10.8 Mountain Lion from the App Store.
Go to the /Applications/ directory and right-click on “Install Mac OS X Mountain Lion.app” selecting “Show Package Contents”