Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8748557
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 13, 20262026-06-13T12:32:45+00:00 2026-06-13T12:32:45+00:00

This is the case, I want to install an application and add a firewall

  • 0

This is the case, I want to install an application and add a firewall exception on installation, but when that fails the installation should not rollback, but display a notification to the user/administrator performing the installation.

I use WIX to build the installer.
What I have so far is the following piece to install the firewall exception:

<Component Id="fwException" DiskId="1" Guid="guid">
      <fw:FirewallException
          Name="new firewall exception"
          Id="FirewallException"
          Port="1234"
          Protocol="tcp"
          Scope="any"
          IgnoreFailure="yes"
          >
      </fw:FirewallException>
 </Component>

All fine and doesn’t rollback, but how do I get the installer to display a notification at end of installation or a dialog box, informing the user that the firewall exception hasn’t been added.

As silent failure to add the exception to the firewall can be misleading when troubleshooting.

I am thinking of using ?fwException = INSTALLSTATE_ABSENT in a condition somewhere, but don’t know where to use it to get the desired effect.

Any hints/tips much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-13T12:32:46+00:00Added an answer on June 13, 2026 at 12:32 pm

    Short of rolling your own custom action that prompts an ignore, retry, cancel dialog when the UILevel property indicates it’s an interactive installation, the way I’ve seen most installers ( SQL Server, TFS ) handle it is to have a prereq check in the UI portion to warn you that a problem may exist.

    The problem they typically check for is that the firewall is disabled and that therefore the exception can’t be registered. Therefore if you later enable the firewall the application will not work.

    Personally, the way I handle it is the firewall exception in the installer is a nice to have for 90% of people. People may be running other firewall products or the firewall configuration may change later so it’s best to have the application itself to instrument this.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm not sure how to target the element I want in this case: var
I have a currently running PHP application that I want to add real-time feed
I have MyDotNet4.dll that user installs as application on machine. In my case this
I Have two problem in this Case : I want to pass a JSON
I'm working on the issue of design patterns. In this case I want to
I want to upload files directly to IIS7 (in this case I am using
I want to have two EntityManagerFactories ( org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean in this case), with each of
I want to write a String to a Stream (a MemoryStream in this case)
I want to loop true certain elements, in this case all with the class
Basically, I want to generate an item, in this case, a ring. I have

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.