Installation of Google Sitemap Generator fails on Windows 2008R2 with Error 1603

I was attempting to install the Google Sitemap Generator on my new 2008R2 server to match the configuration of some 2008 machines I was migrating away from. Unfortunately, I got an error saying that a piece of software in the installation failed to install, and error 1603 is stored in the application event log.

In this case, I set the compatibility mode to “previous versions of windows” and reinstalled. The software installed fine.