Apple Silicon install package fails unless Rosetta is installed first
When installing a package created for Apple Silicon macs, the installer will fail unless Rosetta is already installed. Rosetta is only required when you are attempting to run an x86 application on Apple Silicon, so this feels like a bug. The installer fails with no indication of what the problem is and the logs do not help. I stumbled upon the fix by accident. It should be noted that Rosetta is not installed by default on M1 Macs and is only invoked when you attempt to run an "Intel" application. The installer is for Apple Silicon, so it does not invoke this prompt.
I was able to reproduce this on two brand-new, fresh out of the box M1 13" MacBook Pros. I'm an IT admin and was getting ready to deploy them.