| 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 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:fw="http://wixtoolset.org/schemas/v4/wxs/firewall"> |
| 4 | <Fragment> |
| 5 | <ComponentGroup Id="ProductComponents"> |
| 6 | <ComponentRef Id="FirewallComponent1"/> |
| 7 | </ComponentGroup> |
| 8 | </Fragment> |
| 9 | |
| 10 | <Fragment> |
| 11 | <Component Id="FirewallComponent1" Guid="E465C8FE-5B81-4553-9CFC-E0CD96B9A36C" Directory="INSTALLFOLDER"> |
| 12 | <fw:FirewallException Id="FirewallException09" |
| 13 | Description="WiX Toolset firewall exception rule integration test - protocol TCP" |
| 14 | Name="WiXToolset401 Test - 0009" Protocol="tcp" Port="900" Scope="any" /> |
| 15 | <fw:FirewallException Id="FirewallException10" |
| 16 | Description="WiX Toolset firewall exception rule integration test - protocol UDP" |
| 17 | Name="WiXToolset401 Test - 0010" Protocol="udp" Port="1000" Scope="any" /> |
| 18 | <fw:FirewallException Id="FirewallException11" |
| 19 | Description="WiX Toolset firewall exception rule integration test - ports can only be specified if protocol is TCP or UDP" |
| 20 | Name="WiXToolset401 Test - 0011" Protocol="134" Program="test.exe" Scope="any" /> |
| 21 | </Component> |
| 22 | </Fragment> |
| 23 | </Wix> |