chrisdk781
Posts: 5
Joined: Thu May 16, 2019 4:53 pm

Re: Error 4120. There was an error during the Windows Firewall configuration process.

Hi Eusebiu,

we have since started to have trouble with users during the install mode and repair mode. I did not try setting the not installed option as you suggested since users are experiencing the problem during a normal install mode which is an upgrade for us.
Is anyone looking at trying to replicate the issue or fix it? should i just email my support rep and ask for someone to look into it again?

chris
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Error 4120. There was an error during the Windows Firewall configuration process.

Hi Chris,

I tested the scenario you suggested, but I could not reproduce the problem. It would be very helpful if you could send me a sample buildable project that reproduces the problem, so I can test and investigate it on my side. You can send it to our support email address.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
chrisdk781
Posts: 5
Joined: Thu May 16, 2019 4:53 pm

Re: Error 4120. There was an error during the Windows Firewall configuration process.

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
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Error 4120. There was an error during the Windows Firewall configuration process.

Hi Chris,

Thank you for sharing your custom action code with us which will surely help other users in a similar situation.

If you think there is anything else that we can help you on this problem, just let us know.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”