When trying to install Jenkins 1.491 on a Windows server I was faced with a failure message. Being used to problems with Java and 64-bit Windows my first though was that it was a Java related issue. It actually turned out to be something far simpler!
As part of the install Jenkins looks for the Windows Firewall and attempts to add an exception. On my server, Windows Firewall was disabled, as a different product was in use. This prevented an exception being added to the Windows Firewall rules for Jenkins which caused the install failure and subsequent rollback. The simple solution is to temporarily turn on Windows Firewall, install Jenkins and then turn it off again.
Of course, it would be better if later versions of the Windows Installer package for Jenkins didn’t fail if Windows Firewall is not enabled!222