Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-12011

Windows installer silently fails if it can't add a firewall rule

      When running the setup.exe installer on Windows that has the Windows Firewall disabled, the installer makes some progress but then rolls itself back and then presents the user with a dialog that says: "The Setup Wizard ended prematurely" without any indication as to the cause.

      In my case, the Windows Firewall is disabled because the firewall functionality is taken over by third-party software (which is a component of the local AntiVirus software.)

      If it weren't for someone else that had the same problem here:

      http://markmail.org/message/afi2afcgaqqa2l4r

      I wouldn't have had any idea where to start troubleshooting this problem.

      Don't see an appropriate component for this bug (e.g. Windows Installer, MSI, WIX), using "all-changes" as a wild guess.

          [JENKINS-12011] Windows installer silently fails if it can't add a firewall rule

          Garen Parham added a comment -

          Log of installation failure, generated by running manually from CLI like so:

          msiexec /i jenkins-1.413.msi /L*V jenkins.log

          See section at the end that starts with "WixExecFirewallExceptionsInstall. Installing Windows Firewall configuration".

          From the messages, it tries to add a firewall exception and fails; later it tries to remove the firewall rule it previously failed to add, and throws another exception.

          Garen Parham added a comment - Log of installation failure, generated by running manually from CLI like so: msiexec /i jenkins-1.413.msi /L*V jenkins.log See section at the end that starts with "WixExecFirewallExceptionsInstall. Installing Windows Firewall configuration". From the messages, it tries to add a firewall exception and fails; later it tries to remove the firewall rule it previously failed to add, and throws another exception.

          Garen Parham added a comment -

          On Windows XP, an innocuous error message is generated but the installation doesn't fail.

          Garen Parham added a comment - On Windows XP, an innocuous error message is generated but the installation doesn't fail.

          Garen Parham added a comment -

          Ping.

          I'm a little surprised this issue hasn't had any activity yet.

          Garen Parham added a comment - Ping. I'm a little surprised this issue hasn't had any activity yet.

          Fixed for 1.515.

          Kohsuke Kawaguchi added a comment - Fixed for 1.515.

            kohsuke Kohsuke Kawaguchi
            garen Garen Parham
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: