Installation failed, when Firewall service disabled - Advanced Installer Community
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Installation failed, when Firewall service disabled

Hi Advanced Installer Forum,

A customer reported an problem, that the installation interrupted and rolled back. After investigating this issue, we found out, that the customer has disabled the "Windows Firewall Service" on his systems, because he is using another third party product as firewall replacement.

The setup we are using contains two build types: Client and Server, the firewall exceptions are only set for features in server part. Nevertheless the customer is reporting problems with both parts (client and server).

I tried to reproduce the problem locally, if I disable the service, restart the (in this case Win7-x64) machine and try to install or modify a previously installed installation, the setup process is interrupted and rolled back, same like on the customer side.

Can i somehow influence the behavior of the firewall exceptions I have set (e.g. contain only in a certain build, do not do any changes, if the service is disabled, or something similar)?

Regards,

Roland
Attachments
MSIe82d.zip
Zip with log file of failing installation/modification
(88.86 KiB) Downloaded 375 times
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Installation failed, when Firewall service disabled

Hi Roland,

Can you please tell us what version of Advanced Installer are you using?

Starting with the 12.1 version of Advanced Installer, if the Windows Firewall service is stopped then the firewall configuration is skipped. Since the firewall configuration is skipped, the installer won't rollback.

So, can you please try to test using the latest version and see if the behaviour still persist?

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Installation failed, when Firewall service disabled

Hi Dan,

actually, for this version of our product I have used AI 12.0. But I can confirm, that the problem disappears with the same setup build with AI 12.3.

Do I have any chance to create a intermediate fix with a transform file (e.g. disabling the custom action causing the issue)?

Regards,

Roland
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Installation failed, when Firewall service disabled

Hello Roland,

You can try to build a new version of your setup as a patch in which the "AI_FwInstall" and "AI_FwUninstall" actions are disabled. In the new project version, just go to "Table Editor" page, select the "InstallExecuteSequence" table and in the "Condition" field of the "AI_FwInstall" and "AI_FwUninstall" actions add a false condition:

Code: Select all

1=2
If you have any questions let us know.

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

Return to “Common Problems”