diff options
| author | Bob Arnson <bob@firegiant.com> | 2026-02-04 20:47:04 -0500 |
|---|---|---|
| committer | Bob Arnson <github@bobs.org> | 2026-02-05 15:58:18 -0500 |
| commit | c258b72508f1b25a56e5d3ee3df08650ba1cbe36 (patch) | |
| tree | 0d5eaf7d732d4a6cb5abe663d2644447c9072220 /src/test/burn/TestData/ConfigurableScopeTests/AllPuomBundle | |
| parent | a3d3963f806117ce123d95e8b77e73e1c1545b25 (diff) | |
| download | wix-c258b72508f1b25a56e5d3ee3df08650ba1cbe36.tar.gz wix-c258b72508f1b25a56e5d3ee3df08650ba1cbe36.tar.bz2 wix-c258b72508f1b25a56e5d3ee3df08650ba1cbe36.zip | |
Support dual-purpose packages in Burn.
Fixes https://github.com/wixtoolset/issues/issues/8958
Diffstat (limited to 'src/test/burn/TestData/ConfigurableScopeTests/AllPuomBundle')
4 files changed, 47 insertions, 0 deletions
diff --git a/src/test/burn/TestData/ConfigurableScopeTests/AllPuomBundle/AllPuomBundleTestBA.wixproj b/src/test/burn/TestData/ConfigurableScopeTests/AllPuomBundle/AllPuomBundleTestBA.wixproj new file mode 100644 index 00000000..30d850d4 --- /dev/null +++ b/src/test/burn/TestData/ConfigurableScopeTests/AllPuomBundle/AllPuomBundleTestBA.wixproj | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | <Project Sdk="WixToolset.Sdk"> | ||
| 2 | <PropertyGroup> | ||
| 3 | <BA>TestBA</BA> | ||
| 4 | </PropertyGroup> | ||
| 5 | |||
| 6 | <Import Project="Bundle.props" /> | ||
| 7 | </Project> \ No newline at end of file | ||
diff --git a/src/test/burn/TestData/ConfigurableScopeTests/AllPuomBundle/AllPuomBundleWixStdBA.wixproj b/src/test/burn/TestData/ConfigurableScopeTests/AllPuomBundle/AllPuomBundleWixStdBA.wixproj new file mode 100644 index 00000000..56db1fdc --- /dev/null +++ b/src/test/burn/TestData/ConfigurableScopeTests/AllPuomBundle/AllPuomBundleWixStdBA.wixproj | |||
| @@ -0,0 +1,7 @@ | |||
| 1 | <Project Sdk="WixToolset.Sdk"> | ||
| 2 | <PropertyGroup> | ||
| 3 | <BA>WixStdBA</BA> | ||
| 4 | </PropertyGroup> | ||
| 5 | |||
| 6 | <Import Project="Bundle.props" /> | ||
| 7 | </Project> \ No newline at end of file | ||
diff --git a/src/test/burn/TestData/ConfigurableScopeTests/AllPuomBundle/Bundle.props b/src/test/burn/TestData/ConfigurableScopeTests/AllPuomBundle/Bundle.props new file mode 100644 index 00000000..d704544c --- /dev/null +++ b/src/test/burn/TestData/ConfigurableScopeTests/AllPuomBundle/Bundle.props | |||
| @@ -0,0 +1,14 @@ | |||
| 1 | <Project> | ||
| 2 | <PropertyGroup> | ||
| 3 | <OutputType>Bundle</OutputType> | ||
| 4 | </PropertyGroup> | ||
| 5 | <ItemGroup> | ||
| 6 | <PackageReference Include="WixToolset.BootstrapperApplications.wixext" /> | ||
| 7 | <PackageReference Include="WixToolset.NetFx.wixext" /> | ||
| 8 | </ItemGroup> | ||
| 9 | <ItemGroup> | ||
| 10 | <ProjectReference Include="..\..\TestBA\TestBAWixlib\testbawixlib.wixproj" /> | ||
| 11 | <ProjectReference Include="..\PuomPkg1\PuomPkg1.wixproj" /> | ||
| 12 | <ProjectReference Include="..\PuomPkg2\PuomPkg2.wixproj" /> | ||
| 13 | </ItemGroup> | ||
| 14 | </Project> \ No newline at end of file | ||
diff --git a/src/test/burn/TestData/ConfigurableScopeTests/AllPuomBundle/Bundle.wxs b/src/test/burn/TestData/ConfigurableScopeTests/AllPuomBundle/Bundle.wxs new file mode 100644 index 00000000..4cb11a98 --- /dev/null +++ b/src/test/burn/TestData/ConfigurableScopeTests/AllPuomBundle/Bundle.wxs | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | ||
| 2 | <Bundle Id="AllPuomBundle$(BA)" Name="AllPuomBundle$(BA)" Manufacturer="Acme" Version="1.0.0.0"> | ||
| 3 | <?if $(BA) = "WixStdBA"?> | ||
| 4 | <BootstrapperApplication> | ||
| 5 | <bal:WixStandardBootstrapperApplication LicenseUrl="https://www.example.com/license" Theme="hyperlinkLicense" /> | ||
| 6 | </BootstrapperApplication> | ||
| 7 | <?endif?> | ||
| 8 | |||
| 9 | <Variable Name="TestGroupName" Value="ConfigurableScopeTests" /> | ||
| 10 | |||
| 11 | <Chain> | ||
| 12 | <?if $(BA) = "TestBA"?> | ||
| 13 | <PackageGroupRef Id="TestBA" /> | ||
| 14 | <?endif?> | ||
| 15 | <MsiPackage SourceFile="PuomPkg1.msi" /> | ||
| 16 | <MsiPackage SourceFile="PuomPkg2.msi" /> | ||
| 17 | </Chain> | ||
| 18 | </Bundle> | ||
| 19 | </Wix> | ||
