Firewall exceptions will be not removed on feature uninstall - Advanced Installer Community
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Firewall exceptions will be not removed on feature uninstall

Hi,

I have a couple of firewall exceptions for some features. Due to security reasons, the firewall rule is only added, when the feature is installed. This is done with an according condition like:

Code: Select all

&Server=3 OR !Server=3
(Feature will be installed or is installed). This works fine.

But ;)

If I remove a certain feature, the specific firewall exception is not removed. All exceptions (except one) are removed, when the product is removed completely.

Due to security reasons, we do not want to keep unneeded exceptions. What do I wrong to achieve that behavior?

Regards,

Roland
Teodor
Posts: 73
Joined: Thu Jul 25, 2013 9:56 am

Re: Firewall exceptions will be not removed on feature unins

Hi
R.Mueller wrote:If I remove a certain feature, the specific firewall exception is not removed.
At this time it is not possible to remove a specific firewall exception for a certain feature. All firewall rules are removed when the application is completely uninstalled.
R.Mueller wrote:All exceptions (except one) are removed, when the product is removed completely.
I've created a project on Windows XP with a couple of features that have associated some firewall exceptions. However, on our tests we didn't encounter the behavior you described and all firewall exceptions are removed when the product is completely uninstalled.

Can you offer more information to continue the investigations, what operating system are you using, what version of Advanced Installer are you using?
Can you please provide a verbose log for the uninstall operation and the aip project file?

You can send them to support at advancedinstaller dot com.

Best regards
Last edited by Teodor on Mon Aug 05, 2013 10:43 am, edited 1 time in total.
Teodor Micu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Firewall exceptions will be not removed on feature unins

Hi Teodor,

we tested on various OSes, mostly newer ones like Windows Server 2008 and 2008 R2. The important step seems to be, to change the setup prior uninstalling it (Install complete -> remove something -> remove all -> Firewall exception is left over).

I will send aip file and log file to support.

Regards,

Roland
Teodor
Posts: 73
Joined: Thu Jul 25, 2013 9:56 am

Re: Firewall exceptions will be not removed on feature unins

Hi Roland

I've analyzed the log and the AI project you sent. From the log file it appears that all six firewall exceptions are removed when the product is uninstalled (lines 53170-53208). Which one of the six firewall exceptions that are configured in your project is not removed at uninstall?

Due to the complexity of your project we were unable to build a package with just the aip file you've sent. Can you send us a link to download an archive with the setup kit build by you?

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

Re: Firewall exceptions will be not removed on feature unins

Hi Teodor,

you would need all source files, or do you want the final setup instead?

Regards,

Roland
Teodor
Posts: 73
Joined: Thu Jul 25, 2013 9:56 am

Re: Firewall exceptions will be not removed on feature unins

Hi
R.Mueller wrote:you would need all source files, or do you want the final setup instead?
We would need just the setup files, not the source files. For your project this would mean an archive with the "Server" build output files, not just the exe launcher.

Please don't forget to mention which firewall exception is not removed after you completely uninstall the "Server" product.

Best regards
Last edited by Teodor on Mon Aug 05, 2013 10:44 am, edited 1 time in total.
Teodor Micu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
R.Mueller
Posts: 202
Joined: Thu Aug 02, 2012 3:31 pm

Re: Firewall exceptions will be not removed on feature unins

Hi Teodor,

I have sent an email with this information to support.

Regards,

Roland
Teodor
Posts: 73
Joined: Thu Jul 25, 2013 9:56 am

Re: Firewall exceptions will be not removed on feature unins

Hi

A fix for the problem you reported was included in Advanced Installer v10.5 released on September 2nd, 2013.

Update: you might want to use the latest version of Advanced Installer v10.5.2 released on September 13th that contains other important bug fixes.

Please upgrade and let us know if it works properly.
Teodor Micu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”