The error means invalid image format. Since you are on a 64bit OS, we can presume the OneDriveSetup.exe is fine, but one of the files it tries to load is the wrong architecture. If OneDriveSetup.exe is a 32-bit binary, it tried to load a 64-bit dependency or vice versa. Quite possible the correct dependency is present on the system, but default file search order found the wrong one first.