If you download a DMG file and need to write it to a CD or DVD but don't have the necessary drive on your Mac, you can convert it to the Window's friendly ISO format using the hdiutil command.
The hdiutil command is only available in Mac OSX so these steps must be performed on the Mac side, not on a Windows host.
Open a terminal window (Finder -> Applications -> Utilities -> Terminal)Given the disk image image.dmg in the current directory, it can be converted with:
hdiutil convert ima...