That error almost always means the installer file arrived corrupted or incomplete, so the fix is to remove it and download it again rather than trying to run it as-is.
Delete the installation file, clear your browser or download manager's partial files, and pull a fresh copy — ideally through Origin or the official store if you own it digitally. While you're at it, confirm the file size matches what the source lists; a truncated download is the single most common cause. If the error persists on a disc install, the disc itself is likely scratched.