| 1 | <!-- Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information. --> |
| 2 | |
| 3 | |
| 4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:fw="http://wixtoolset.org/schemas/v4/wxs/firewall"> |
| 5 | <Fragment> |
| 6 | <ComponentGroup Id="ProductComponents"> |
| 7 | <ComponentRef Id="FirewallComponent1"/> |
| 8 | </ComponentGroup> |
| 9 | </Fragment> |
| 10 | |
| 11 | <Fragment> |
| 12 | <Component Id="FirewallComponent1" Guid="A1553D10-BEB7-4E60-A0DC-6F1EEE5A1719" Directory="INSTALLFOLDER"> |
| 13 | <fw:FirewallException |
| 14 | Name="WiXToolset Test - 0028" OnUpdate="enableOnly" |
| 15 | Port="[LOCALPORT]" |
| 16 | Protocol="[PROTOCOL]" |
| 17 | Program="[PROGRAM]" |
| 18 | Profile="[PROFILE]" |
| 19 | Description="[DESCRIPTION]" |
| 20 | Scope="[REMOTESCOPE]" |
| 21 | EdgeTraversal="[EDGETRAVERSAL]" |
| 22 | Enabled="[ENABLED]" |
| 23 | Grouping="[GROUPING]" |
| 24 | IcmpTypesAndCodes="[ICMPTYPES]" |
| 25 | Interface="[INTERFACE]" |
| 26 | InterfaceType="[INTERFACETYPE]" |
| 27 | LocalScope="[LOCALSCOPE]" |
| 28 | RemotePort="[REMOTEPORT]" |
| 29 | Service="[SERVICE]" |
| 30 | LocalAppPackageId="[PACKAGEID]" |
| 31 | LocalUserAuthorizedList="[LOCALUSERS]" |
| 32 | LocalUserOwner="[LOCALOWNER]" |
| 33 | RemoteMachineAuthorizedList="[REMOTEMACHINES]" |
| 34 | RemoteUserAuthorizedList="[REMOTEUSERS]" |
| 35 | IPSecSecureFlags="[SECUREFLAGS]" |
| 36 | /> |
| 37 | |
| 38 | <fw:FirewallException Name="WiXToolset Test - 0029" OnUpdate="doNothing" > |
| 39 | <fw:RemoteAddress Value="[REMOTEADDRESS]" /> |
| 40 | <fw:LocalAddress Value="[LOCALADDRESS]" /> |
| 41 | <fw:InterfaceType Value="[INTERFACETYPE]" /> |
| 42 | <fw:Interface Name="[INTERFACE]" /> |
| 43 | </fw:FirewallException> |
| 44 | |
| 45 | <fw:FirewallException Name="WiXToolset Test - 0030" > |
| 46 | <fw:RemoteAddress Value="[REMOTEADDRESS1]" /> |
| 47 | <fw:RemoteAddress Value="[REMOTEADDRESS2]" /> |
| 48 | <fw:LocalAddress Value="[LOCALADDRESS1]" /> |
| 49 | <fw:LocalAddress Value="[LOCALADDRESS2]" /> |
| 50 | <fw:InterfaceType Value="[INTERFACETYPE1]" /> |
| 51 | <fw:InterfaceType Value="[INTERFACETYPE2]" /> |
| 52 | <fw:Interface Name="[INTERFACE1]" /> |
| 53 | <fw:Interface Name="[INTERFACE2]" /> |
| 54 | </fw:FirewallException> |
| 55 | </Component> |
| 56 | </Fragment> |
| 57 | </Wix> |