Hello,
In order to achieve that, you can use the
"New-NetFirewallRule" cmdlet. For more information about this, please have a look over the following article:
New-NetFirewallRule
The above can be implemented in Advanced Installer through a
"Run Inline PowerShell Script".
Hope this helps.
Best regards,
Catalin