For our product we don't want to bother the user with different installers depending on system architecture. Now we want to install only the x64 binaries on an x64 Windows and only ARM64 binaries on a native ARM64 Windows.
It puzzles me that there seems to be no built-in functionality for this. Of course I could write a custom action and find out via IsWow64Process2, but this seems a bit overengineered for such a simple thing!
Did I overlook some easy way to do this?