| 1 | <?xml version="1.0" encoding="utf-8"?> |
| 2 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" |
| 3 | xmlns:fw="http://wixtoolset.org/schemas/v4/wxs/firewall"> |
| 4 | <Fragment> |
| 5 | <ComponentGroup Id="ProductComponents" Directory="INSTALLFOLDER"> |
| 6 | <Component Id="FirewallComponent" Guid="28DF3387-F30E-4DBE-90E2-D2C760CB4DD9"> |
| 7 | <File Source="$(sys.SOURCEFILEPATH)" /> |
| 8 | <fw:FirewallException |
| 9 | Name="[NAME]" |
| 10 | Port="[LOCALPORT]" |
| 11 | Protocol="[PROTOCOL]" |
| 12 | Program="[PROGRAM]" |
| 13 | Profile="[PROFILE]" |
| 14 | Description="[DESCRIPTION]" |
| 15 | Scope="[REMOTESCOPE]" |
| 16 | Action="[ACTION]" |
| 17 | EdgeTraversal="[EDGETRAVERSAL]" |
| 18 | Enabled="[ENABLED]" |
| 19 | Grouping="[GROUPING]" |
| 20 | IcmpTypesAndCodes="[ICMPTYPES]" |
| 21 | Interface="[INTERFACE]" |
| 22 | InterfaceType="[INTERFACETYPE]" |
| 23 | LocalScope="[LOCALSCOPE]" |
| 24 | RemotePort="[REMOTEPORT]" |
| 25 | Service="[SERVICE]" |
| 26 | LocalAppPackageId="[PACKAGEID]" |
| 27 | LocalUserAuthorizedList="[LOCALUSERS]" |
| 28 | LocalUserOwner="[LOCALOWNER]" |
| 29 | RemoteMachineAuthorizedList="[REMOTEMACHINES]" |
| 30 | RemoteUserAuthorizedList="[REMOTEUSERS]" |
| 31 | IPSecSecureFlags="[SECUREFLAGS]" |
| 32 | /> |
| 33 | |
| 34 | <fw:FirewallException Name="Single Nested properties" > |
| 35 | <fw:RemoteAddress Value="[REMOTEADDRESS]" /> |
| 36 | <fw:LocalAddress Value="[LOCALADDRESS]" /> |
| 37 | <fw:InterfaceType Value="[INTERFACETYPE]" /> |
| 38 | <fw:Interface Name="[INTERFACE]" /> |
| 39 | </fw:FirewallException> |
| 40 | |
| 41 | <fw:FirewallException Name="Multiple Nested properties" > |
| 42 | <fw:RemoteAddress Value="[REMOTEADDRESS1]" /> |
| 43 | <fw:RemoteAddress Value="[REMOTEADDRESS2]" /> |
| 44 | <fw:LocalAddress Value="[LOCALADDRESS1]" /> |
| 45 | <fw:LocalAddress Value="[LOCALADDRESS2]" /> |
| 46 | <fw:InterfaceType Value="[INTERFACETYPE1]" /> |
| 47 | <fw:InterfaceType Value="[INTERFACETYPE2]" /> |
| 48 | <fw:Interface Name="[INTERFACE1]" /> |
| 49 | <fw:Interface Name="[INTERFACE2]" /> |
| 50 | </fw:FirewallException> |
| 51 | </Component> |
| 52 | </ComponentGroup> |
| 53 | </Fragment> |
| 54 | </Wix> |