Sounds like you downloaded the installer using Explorer so your system doesn't know what the file is. See this link:
Help!!! dmg thinks its an Excell or QuickTime document (click on link)
Explorer is NOT fully OSX compatible. Never use it to download dmg files. It doesn't understand them & you end up with an incomplete dmg file.