We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

markmahle
Posts: 5
Joined: Tue Sep 23, 2014 5:35 pm

adding firewall exceptions and failure modes

Our customer is asking us what will happen if our installer fails to add the installed program to the firewall exception list. I have no idea how to answer that question. We're adding it on the Windows Firewall tab of our Advanced Installer project.

What would cause this action to fail in the first place? We have it set to the installer requires admin rights to install.

If this action failed would the entire installer rollback or would it finish successfully?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: adding firewall exceptions and failure modes

Hello,

In our previous versions of Advanced Installer (12.0 and later), when a Windows Firewall exception fails to install the installation will roll back. Starting with AI 12.1 version, when a Firewall exception fails to install the installation will continue (without spawning any error). The Firewall exception installation failure will be written only in the installation log file. Starting with AI 12.1 we have change the default behavior, in case of a failure, mainly due to our customer request.

The main reason for which a Firewall exception could fail to install is when the Firewall service is turned off. To avoid this scenario you can use our "Windows Firewall Options" tab to configure a start operation (on install) of the Windows Firewall service. In this case, during install, if the Firewall service is stopped it will be first started before installing the Firewall exception.

If you have any questions let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”