diff options
| author | chris_bednarski <Chris.Bednarski@minfos.com.au> | 2023-09-21 16:03:28 +1000 |
|---|---|---|
| committer | Bob Arnson <github@bobs.org> | 2023-11-19 12:17:13 -0500 |
| commit | dfb7512b85536b7726080648f2228cf8d0153724 (patch) | |
| tree | d053018ee47afe7e349dda6739a6580c771a1a3d /src/test/msi/TestData/FirewallExtensionTests/ModuleCurrent | |
| parent | 80e604761b4f43b9b79a4878fcae360b071a7c35 (diff) | |
| download | wix-dfb7512b85536b7726080648f2228cf8d0153724.tar.gz wix-dfb7512b85536b7726080648f2228cf8d0153724.tar.bz2 wix-dfb7512b85536b7726080648f2228cf8d0153724.zip | |
add firewall extension decompiler, make msi modifications work, add all attributes
Diffstat (limited to 'src/test/msi/TestData/FirewallExtensionTests/ModuleCurrent')
3 files changed, 47 insertions, 0 deletions
diff --git a/src/test/msi/TestData/FirewallExtensionTests/ModuleCurrent/ModuleCurrent.wixproj b/src/test/msi/TestData/FirewallExtensionTests/ModuleCurrent/ModuleCurrent.wixproj new file mode 100644 index 00000000..8a84280c --- /dev/null +++ b/src/test/msi/TestData/FirewallExtensionTests/ModuleCurrent/ModuleCurrent.wixproj | |||
| @@ -0,0 +1,10 @@ | |||
| 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 | <Project Sdk="WixToolset.Sdk"> | ||
| 3 | <PropertyGroup> | ||
| 4 | <OutputType>Module</OutputType> | ||
| 5 | <SuppressSpecificWarnings>1072</SuppressSpecificWarnings> | ||
| 6 | </PropertyGroup> | ||
| 7 | <ItemGroup> | ||
| 8 | <PackageReference Include="WixToolset.Firewall.wixext" /> | ||
| 9 | </ItemGroup> | ||
| 10 | </Project> \ No newline at end of file | ||
diff --git a/src/test/msi/TestData/FirewallExtensionTests/ModuleCurrent/data/test.txt b/src/test/msi/TestData/FirewallExtensionTests/ModuleCurrent/data/test.txt new file mode 100644 index 00000000..cd0db0e1 --- /dev/null +++ b/src/test/msi/TestData/FirewallExtensionTests/ModuleCurrent/data/test.txt | |||
| @@ -0,0 +1 @@ | |||
| This is test.txt. \ No newline at end of file | |||
diff --git a/src/test/msi/TestData/FirewallExtensionTests/ModuleCurrent/module.wxs b/src/test/msi/TestData/FirewallExtensionTests/ModuleCurrent/module.wxs new file mode 100644 index 00000000..53097acd --- /dev/null +++ b/src/test/msi/TestData/FirewallExtensionTests/ModuleCurrent/module.wxs | |||
| @@ -0,0 +1,36 @@ | |||
| 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:fw="http://wixtoolset.org/schemas/v4/wxs/firewall" > | ||
| 2 | <Module Id="MergeModule1" Language="1033" Version="1.0.0.0" Guid="44FA5DBE-2413-436E-99B3-A0751D6EB420"> | ||
| 3 | <SummaryInformation Manufacturer="Example Company - Module Current" /> | ||
| 4 | |||
| 5 | <Property Id="MODULECURRENTPORT1" Value="50001" /> | ||
| 6 | <Property Id="MODULECURRENTPORT2" Value="50002" /> | ||
| 7 | <Property Id="MODULECURRENTPORT3" Value="50003" /> | ||
| 8 | <Property Id="MODULECURRENTPORT4" Value="50004" /> | ||
| 9 | |||
| 10 | <Directory Id="MergeRedirectFolder"> | ||
| 11 | <Component Id="ModuleComponent1" Guid="EB7B8A63-85C4-4ABB-B9DA-33AECAFE38F7"> | ||
| 12 | <File Id="File1" Name="file1.txt" Source="data/test.txt"> | ||
| 13 | <fw:FirewallException Id="FirewallException1" | ||
| 14 | Description="WiX Toolset firewall exception rule integration test - module MergeRedirectFolder - app" | ||
| 15 | Name="WiXToolset Test - 0022" Scope="any" Port="[MODULECURRENTPORT1]" /> | ||
| 16 | </File> | ||
| 17 | <fw:FirewallException Id="FirewallException2" | ||
| 18 | Description="WiX Toolset firewall exception rule integration test - module MergeRedirectFolder - port" | ||
| 19 | Name="WiXToolset Test - 0023" Scope="any" Port="[MODULECURRENTPORT2]" /> | ||
| 20 | </Component> | ||
| 21 | </Directory> | ||
| 22 | |||
| 23 | <Directory Id="NotTheMergeRedirectFolder"> | ||
| 24 | <Component Id="ModuleComponent2" Guid="0C9DD4FC-5A54-4E96-830D-DDE27B3017B5"> | ||
| 25 | <File Id="File2" Name="file2.txt" Source="data/test.txt"> | ||
| 26 | <fw:FirewallException Id="FirewallException3" | ||
| 27 | Description="WiX Toolset firewall exception rule integration test - module NotTheMergeRedirectFolder - app" | ||
| 28 | Name="WiXToolset Test - 0024" Scope="any" Port="[MODULECURRENTPORT3]" /> | ||
| 29 | </File> | ||
| 30 | <fw:FirewallException Id="FirewallException4" | ||
| 31 | Description="WiX Toolset firewall exception rule integration test - module NotTheMergeRedirectFolder - port" | ||
| 32 | Name="WiXToolset Test - 0025" Scope="any" Port="[MODULECURRENTPORT4]" /> | ||
| 33 | </Component> | ||
| 34 | </Directory> | ||
| 35 | </Module> | ||
| 36 | </Wix> | ||
