Question: how to install mojave from dmg file?
Answer: Go to App Store app on your Mac and search for macOS Mojave, then click the Get button next to it. This file will be called Install macOS Mojave. app, and all you need to do is click the Download button in the Software Update utilitiy that automatically launches when you click on Get in the App Store.