vdrake
Posts: 12
Joined: Tue Aug 17, 2021 3:25 am

Installation failure when Windows Firewall Service is disabled

Fri Apr 01, 2022 3:03 pm

If the Windows Firewall service is disabled installation fails if it contains any firewall rules. This is new to version 19.2 and persists in 19.3.

When installing my product built with 19.2 or later, this error fails the installation
---------------------------
Cerberus FTP Server
---------------------------
There was an error registering application with Windows Firewall: C:\Program Files\Cerberus LLC\Cerberus FTP Server\CerberusGUI.exe.
---------------------------
OK
---------------------------

The bug does not reproduce if I build our product with Advanced Installer 19.1.0 or earlier

Note for reproduction:
To disable Windows Firewall you may need to :
1. Set HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\mpssvc Start value to 4 (disabled)
2. Restart the computer

Liviu
Posts: 1026
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Installation failure when Windows Firewall Service is disabled

Fri Apr 01, 2022 3:32 pm

Hello,

I have tested this with a sample project and I can indeed confirm the behavior.

Please give me some more time to consult with our development team and I will come back as soon as I have more information.

Thank you for bringing this to our attention!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Liviu
Posts: 1026
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Installation failure when Windows Firewall Service is disabled

Tue Apr 05, 2022 12:59 pm

Hello,

I've discussed with our developer and the "Enable/disable service" for Windows Firewall is not available anymore on Windows OS. As you already said, the only method now is modifying the registry and therefore our developer decided to remove that feature (enable Windows Firewall) starting with Advanced Installer 19.2.

With version 19.1 the registration of your application in Windows Firewall still fails, but the installation continues without firewall rules created. We'll try to add the same behavior in future releases.

Thank your for bringing this to our attention!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Catalin
Posts: 6510
Joined: Wed Jun 13, 2018 7:49 am

Re: Installation failure when Windows Firewall Service is disabled

Thu Apr 28, 2022 3:31 pm

Hello,

This has been fixed in version 19.4 of Advanced Installer, released on April 26th, 2022.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”