Windows firewall - Advanced Installer Community
aeplengg
Posts: 76
Joined: Mon May 05, 2014 5:31 am

Windows firewall

Hello,

I want to Get product Name from Exe (instead of hard coded name), while adding it in Windows firewall setting. How to do it?

Naina
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Windows firewall

Hello Naina,

In order to achieve this, you can use the [ProductName] property which contains the name of your application.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aeplengg
Posts: 76
Joined: Mon May 05, 2014 5:31 am

Re: Windows firewall

[ProductName] will add the product Name of the Main application exe, I want to set the product name of one of the exe included in the application folder.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Windows firewall

Hello,

I'm afraid that the name of the files added in the application folder are not stored in properties and you cannot get the name from the files. However, the name that you use there is only to be displayed in the Windows Firewall window, can you please tell us why do you need to get it from the file and not hard code it?

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
aeplengg
Posts: 76
Joined: Mon May 05, 2014 5:31 am

Re: Windows firewall

To avoid the hard coding of the application name. It is better if the product name, version etc. information is derived by the application itself, while installation.
Eusebiu
Posts: 4971
Joined: Wed Nov 14, 2012 2:04 pm

Re: Windows firewall

Hello,

Indeed, unfortunately we do not have this option yet. Also, that name does not affect the firewall rule, so you can write there any name without encountering any error.

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

Return to “Common Problems”