Hi Guys

I am working on an application which when launched prompts for firewall exception. I click allow and the application runs fine for all subsequent launches. I exported the firewall exception registry keys from and imported them in my package. After installing the MSI with the firewall exceptions, the application still prompts for the firewall exception and when I allow, the application runs fine. When I go to the registry, there are 4 registry entries, 2 installed by the package and 2 at launch. The registry keys I am including in my package are as follows:



"TCP Query User{7D9967C0-F03E-450D-A550-8FF40867AAE6}C:\\program files (x86)\\vendor\\appname\\appname.exe"="v2.10|Action=Allow|Active=TRUE|Dir=In|Protocol=6|Profile=Domain|appname=C:\\program files (x86)\\vendor\\appname\\appname.exe|Name=appname Invoker|Desc=appname Invoker|Defer=User|"

"UDP Query User{4A383E61-AFB8-4D0B-ADEA-230C488B4678}C:\\program files (x86)\\vendor\\appname\\appname.exe"="v2.10|Action=Allow|Active=TRUE|Dir=In|Protocol=17|Profile=Domain|appname=C:\\program files (x86)\\vendor\\appname\\appname.exe|Name=appname Invoker|Desc=appname Invoker|Defer=User|"

One thing to note is that instead of an application name, there are GUIDs which change on every install which is why I think they are not being recognized at runtime.

Has anyone run into this issue before? Thoughts?


SOLUTION: This turned out to be the issue:


Answer Summary:
0 Comments   [ + ] Show Comments


Please log in to comment




or if you prefer DOS:


What is this "Google" thing that everyone keeps talking about? Anyone know?

Answered 01/15/2014 by: VBScab
Red Belt

  • The question wasn't how to add firewall exceptions, I have already done that as per my post and they are even added but Windows doesn't recognize them.
    • ...because you've added them in the wrong way!! Besides anything else, the firewall runs as a service so at the very least you'd need to stop and restart it. Or you could add the exceptions in the proper, documented way. Your choice...
Please log in to comment
Answer this question or Comment on this question for clarity