all groups > dotnet framework > march 2008 >
You're in the

dotnet framework

group:

Service Installer Issue...


Service Installer Issue... Lloyd Dupont
3/31/2008 2:49:09 PM
dotnet framework: I created a service and its installer.
However the installed service doesn't work.

Why? Windows Firewall block the port my service is listening too.
If, as an administrator, I add my application to the list of app authorized
by the firewall that's all good, however I would much prefer if the
installer do that for me.

Question: How could I add my app to the authorized application list by the
firewall in my installer?
Re: Service Installer Issue... Lloyd Dupont
4/1/2008 11:46:21 AM
With VS2008 link with the NetFwTypeLib COM component.

On XP it's in
C:\Windows\System32\HNetCfg.dll

On Vista it's in
C:\Windows\System32\FirewallAPI.dll

( Hence the installer will be platform specific :-( )

AddThis Social Bookmark Button