If you don’t need a DMG and just want the installer app:
Cause: Missing or corrupted recovery files.
Fix: Use the createinstallmedia method instead of running the DMG directly. Ensure the USB is formatted correctly. Macos Catalina Dmg Direct Download
Corrupt download. Re-download and verify SHA-1 hash. If you don’t need a DMG and just want the installer app: