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)

Window -> Installer Log

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

Show All Logs