diff options
| author | Bob Arnson <bob@firegiant.com> | 2026-04-01 16:06:45 -0400 |
|---|---|---|
| committer | Bob Arnson <github@bobs.org> | 2026-04-01 17:39:59 -0400 |
| commit | cb06f75799d845eeb78d326d4b1295921acd0bad (patch) | |
| tree | 65891cf4579cc0f530c4615c87439d0e9dc502f9 /src/test/burn/TestData/ConfigurableScopeTests/PerMachineBundle | |
| parent | b4da272e25c5c776cc5c66ee069bd3fb7548dd92 (diff) | |
| download | wix-cb06f75799d845eeb78d326d4b1295921acd0bad.tar.gz wix-cb06f75799d845eeb78d326d4b1295921acd0bad.tar.bz2 wix-cb06f75799d845eeb78d326d4b1295921acd0bad.zip | |
Handle lack of scope for pre-v7 bundles.
Fixes https://github.com/wixtoolset/issues/issues/9274
Diffstat (limited to 'src/test/burn/TestData/ConfigurableScopeTests/PerMachineBundle')
3 files changed, 16 insertions, 1 deletions
diff --git a/src/test/burn/TestData/ConfigurableScopeTests/PerMachineBundle/Bundle.wxs b/src/test/burn/TestData/ConfigurableScopeTests/PerMachineBundle/Bundle.wxs index e170667b..eb2a74ac 100644 --- a/src/test/burn/TestData/ConfigurableScopeTests/PerMachineBundle/Bundle.wxs +++ b/src/test/burn/TestData/ConfigurableScopeTests/PerMachineBundle/Bundle.wxs | |||
| @@ -1,9 +1,11 @@ | |||
| 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> | 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal"> |
| 2 | <Bundle Id="PerMachineBundle" Name="PerMachineBundle" Manufacturer="Acme" Version="1.0.0.0"> | 2 | <Bundle Id="PerMachineBundle" Name="PerMachineBundle" Manufacturer="Acme" Version="$(Version)"> |
| 3 | <BootstrapperApplication> | 3 | <BootstrapperApplication> |
| 4 | <bal:WixStandardBootstrapperApplication LicenseUrl="https://www.example.com/license" Theme="hyperlinkLicense" /> | 4 | <bal:WixStandardBootstrapperApplication LicenseUrl="https://www.example.com/license" Theme="hyperlinkLicense" /> |
| 5 | </BootstrapperApplication> | 5 | </BootstrapperApplication> |
| 6 | 6 | ||
| 7 | <Variable Name="TestBundleId" Value="PerMachineBundle v$(Version)" /> | ||
| 8 | |||
| 7 | <Chain> | 9 | <Chain> |
| 8 | <MsiPackage SourceFile="PerMachinePkg.msi" /> | 10 | <MsiPackage SourceFile="PerMachinePkg.msi" /> |
| 9 | </Chain> | 11 | </Chain> |
diff --git a/src/test/burn/TestData/ConfigurableScopeTests/PerMachineBundle/PerMachineBundle.wixproj b/src/test/burn/TestData/ConfigurableScopeTests/PerMachineBundle/PerMachineBundle.wixproj index ade65220..ed15dedf 100644 --- a/src/test/burn/TestData/ConfigurableScopeTests/PerMachineBundle/PerMachineBundle.wixproj +++ b/src/test/burn/TestData/ConfigurableScopeTests/PerMachineBundle/PerMachineBundle.wixproj | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | <Project Sdk="WixToolset.Sdk"> | 1 | <Project Sdk="WixToolset.Sdk"> |
| 2 | <PropertyGroup> | 2 | <PropertyGroup> |
| 3 | <OutputType>Bundle</OutputType> | 3 | <OutputType>Bundle</OutputType> |
| 4 | <DefineConstants>$(DefineConstants);Version=1.0.0.0</DefineConstants> | ||
| 4 | </PropertyGroup> | 5 | </PropertyGroup> |
| 5 | <ItemGroup> | 6 | <ItemGroup> |
| 6 | <PackageReference Include="WixToolset.BootstrapperApplications.wixext" /> | 7 | <PackageReference Include="WixToolset.BootstrapperApplications.wixext" /> |
diff --git a/src/test/burn/TestData/ConfigurableScopeTests/PerMachineBundle/PerMachineBundleV2.wixproj b/src/test/burn/TestData/ConfigurableScopeTests/PerMachineBundle/PerMachineBundleV2.wixproj new file mode 100644 index 00000000..fcdbae05 --- /dev/null +++ b/src/test/burn/TestData/ConfigurableScopeTests/PerMachineBundle/PerMachineBundleV2.wixproj | |||
| @@ -0,0 +1,12 @@ | |||
| 1 | <Project Sdk="WixToolset.Sdk"> | ||
| 2 | <PropertyGroup> | ||
| 3 | <OutputType>Bundle</OutputType> | ||
| 4 | <DefineConstants>$(DefineConstants);Version=2.0.0.0</DefineConstants> | ||
| 5 | </PropertyGroup> | ||
| 6 | <ItemGroup> | ||
| 7 | <PackageReference Include="WixToolset.BootstrapperApplications.wixext" /> | ||
| 8 | </ItemGroup> | ||
| 9 | <ItemGroup> | ||
| 10 | <ProjectReference Include="..\PerMachinePkg\PerMachinePkg.wixproj" /> | ||
| 11 | </ItemGroup> | ||
| 12 | </Project> \ No newline at end of file | ||
