this is issue is machine based not project based. I found its very hard to reproduce and when I find a machine that can reproduce it I have to fix the issue and move on because it is a customer machine. MY virtual machine has only had the issue once and never again....so its a real head scratcher. Here is the custom action code I am toying with if anyone needs it.
Code: Select all
INetFwPolicy2 firewallPolicy = (INetFwPolicy2)Activator.CreateInstance(Type.GetTypeFromProgID("HNetCfg.FwPolicy2"));
firewallPolicy.Rules.Remove("ICMP v4 echo request");
firewallPolicy.Rules.Remove("Custom Name Here");
firewallPolicy.Rules.Remove("Another Custom Rule Here");
This has taken up to much time so I need to move on to other problems. I plan to put this somewere near the beginning of my installs/upgrades to just avoid the issue altogether.
chris