Debugging "The Installer encountered an error that caused the installation to fail."?
Aha! It turns out the log for the installer can be found in the application menu.

Window -> Installer Log (⌘ + L)



You may need to set the log window to Show All Logs to see all the relevant information: