[firewall]
The firewall section currently works on Windows only and functions by embedding a call to netsh advfirewall into the InnoSetup script to be executed after the application installation.
The following properties are supported:
applicationan object containingdirectionproperty which can be set to containinandoutstrings, depending on whether the application desires to be an outbound and/or inbound access.rules- optional - a set of rules for additional executables that may be included with the application - an array of objects containingname,programanddirectionproperties, wherenameis the firewall rule name,programis the executable filename relative to the program installation path anddirectionspecifying the access direction (inand/orout)
Example:
[firewall]
application = { direction = "in+out" }
rules = [
{ name = "MyChildService", program = "bin\\windows-x64\\my-child-service.exe", direction="in+out" }
]