aboutsummaryrefslogtreecommitdiff
path: root/src/TestData
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2020-12-31 18:32:34 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-01-03 16:20:17 -0600
commit7b37f41230ca1e5e4a81b834d320831de93616a9 (patch)
tree012cc963717a37c82477ecc1deafd3d89cd32239 /src/TestData
parent543a3f9a87204a32c9ded3f9f519ad6d42107ab7 (diff)
downloadwix-7b37f41230ca1e5e4a81b834d320831de93616a9.tar.gz
wix-7b37f41230ca1e5e4a81b834d320831de93616a9.tar.bz2
wix-7b37f41230ca1e5e4a81b834d320831de93616a9.zip
Add test for basic functionality.
Force test project to be x64. Fix intermediate path to include the test group name.
Diffstat (limited to 'src/TestData')
-rw-r--r--src/TestData/BasicFunctionality/BundleA/BundleA.wixproj12
-rw-r--r--src/TestData/BasicFunctionality/BundleA/BundleA.wxi21
-rw-r--r--src/TestData/BasicFunctionality/BundleA/BundleA.wxs11
-rw-r--r--src/TestData/BasicFunctionality/PackageA/PackageA.wixproj10
4 files changed, 54 insertions, 0 deletions
diff --git a/src/TestData/BasicFunctionality/BundleA/BundleA.wixproj b/src/TestData/BasicFunctionality/BundleA/BundleA.wixproj
new file mode 100644
index 00000000..45127b23
--- /dev/null
+++ b/src/TestData/BasicFunctionality/BundleA/BundleA.wixproj
@@ -0,0 +1,12 @@
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>Bundle</OutputType>
5 </PropertyGroup>
6 <ItemGroup>
7 <ProjectReference Include="..\PackageA\PackageA.wixproj" />
8 </ItemGroup>
9 <ItemGroup>
10 <PackageReference Include="WixToolset.Bal.wixext" Version="4.0.77" />
11 </ItemGroup>
12</Project> \ No newline at end of file
diff --git a/src/TestData/BasicFunctionality/BundleA/BundleA.wxi b/src/TestData/BasicFunctionality/BundleA/BundleA.wxi
new file mode 100644
index 00000000..0bad694e
--- /dev/null
+++ b/src/TestData/BasicFunctionality/BundleA/BundleA.wxi
@@ -0,0 +1,21 @@
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<?ifndef Version?>
4<?define Version = 1.0.0.0?>
5<?endif?>
6
7<Include xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:bal="http://wixtoolset.org/schemas/v4/wxs/bal">
8 <Bundle Name="~$(var.TestGroupName) - Bundle A" Version="$(var.Version)" UpgradeCode="{8C7E2C47-1EE7-4BBE-99A2-EAB7F3693F48}" Compressed="yes">
9 <Log Prefix="~$(var.TestGroupName)_BundleA" />
10
11 <Variable Name="TestGroupName" Value="$(var.TestGroupName)" />
12
13 <BootstrapperApplication>
14 <bal:WixStandardBootstrapperApplication LicenseUrl="" Theme="hyperlinkLicense" />
15 </BootstrapperApplication>
16
17 <Chain>
18 <PackageGroupRef Id="BundlePackages" />
19 </Chain>
20 </Bundle>
21</Include>
diff --git a/src/TestData/BasicFunctionality/BundleA/BundleA.wxs b/src/TestData/BasicFunctionality/BundleA/BundleA.wxs
new file mode 100644
index 00000000..0506f05a
--- /dev/null
+++ b/src/TestData/BasicFunctionality/BundleA/BundleA.wxs
@@ -0,0 +1,11 @@
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">
5 <?include BundleA.wxi ?>
6 <Fragment>
7 <PackageGroup Id="BundlePackages">
8 <MsiPackage Id="PackageA" SourceFile="$(var.PackageA.TargetPath)" />
9 </PackageGroup>
10 </Fragment>
11</Wix>
diff --git a/src/TestData/BasicFunctionality/PackageA/PackageA.wixproj b/src/TestData/BasicFunctionality/PackageA/PackageA.wixproj
new file mode 100644
index 00000000..9943717c
--- /dev/null
+++ b/src/TestData/BasicFunctionality/PackageA/PackageA.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 <CabPrefix>a</CabPrefix>
5 <UpgradeCode>{7FD50F1B-D134-4365-923C-DFA160F74738}</UpgradeCode>
6 </PropertyGroup>
7 <ItemGroup>
8 <Compile Include="..\..\Templates\Package.wxs" Link="Package.wxs" />
9 </ItemGroup>
10</Project> \ No newline at end of file