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

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

    Details

    • Similar Issues:

      Description

      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.

        Attachments

          Issue Links

            Activity

            Hide
            garen 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.

            Show
            garen 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.
            Hide
            garen Garen Parham added a comment -

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

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

            Ping.

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

            Show
            garen Garen Parham added a comment - Ping. I'm a little surprised this issue hasn't had any activity yet.
            Hide
            kohsuke Kohsuke Kawaguchi added a comment -

            Fixed for 1.515.

            Show
            kohsuke Kohsuke Kawaguchi added a comment - Fixed for 1.515.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved: