Question: how to install dmg file in pc?
Answer: Download DMG Extractor (it's free). Once installed, DMG Extractor will run automatically.
Open DMG Extractor and select the DMG file you want to extract. Click the "Open" menu icon on the top-left of the window. ... 
DMG Extractor will load the file you selected. ... 
Extract the files you want.