diff options
author | Bob Arnson <bob@firegiant.com> | 2021-06-02 20:46:54 -0400 |
---|---|---|
committer | Bob Arnson <bob@firegiant.com> | 2021-06-02 21:28:23 -0400 |
commit | a92da42d4087b3e7989239d43aff2c7e1afe05a6 (patch) | |
tree | 5b806c2af8b4ad288470c7016aab155ccde8c6c8 | |
parent | f7ac7fe6cc4d7f24c893a81f3e6823b0bba0781b (diff) | |
download | wix-a92da42d4087b3e7989239d43aff2c7e1afe05a6.tar.gz wix-a92da42d4087b3e7989239d43aff2c7e1afe05a6.tar.bz2 wix-a92da42d4087b3e7989239d43aff2c7e1afe05a6.zip |
Add some 64-bit Burn tests.
11 files changed, 88 insertions, 3 deletions
diff --git a/src/test/burn/TestData/BasicFunctionalityTests/BundleA_arm64/BundleA_arm64.wixproj b/src/test/burn/TestData/BasicFunctionalityTests/BundleA_arm64/BundleA_arm64.wixproj new file mode 100644 index 00000000..535129df --- /dev/null +++ b/src/test/burn/TestData/BasicFunctionalityTests/BundleA_arm64/BundleA_arm64.wixproj | |||
@@ -0,0 +1,18 @@ | |||
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 | <InstallerPlatform>arm64</InstallerPlatform> | ||
6 | <BA>hyperlinkLicense</BA> | ||
7 | <UpgradeCode>{94C9641C-8105-4E87-BC46-D21636F76949}</UpgradeCode> | ||
8 | </PropertyGroup> | ||
9 | <ItemGroup> | ||
10 | <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" /> | ||
11 | </ItemGroup> | ||
12 | <ItemGroup> | ||
13 | <ProjectReference Include="..\PackageA_arm64\PackageA_arm64.wixproj" /> | ||
14 | </ItemGroup> | ||
15 | <ItemGroup> | ||
16 | <PackageReference Include="WixToolset.Bal.wixext" /> | ||
17 | </ItemGroup> | ||
18 | </Project> \ No newline at end of file | ||
diff --git a/src/test/burn/TestData/BasicFunctionalityTests/BundleA_arm64/BundleA_arm64.wxs b/src/test/burn/TestData/BasicFunctionalityTests/BundleA_arm64/BundleA_arm64.wxs new file mode 100644 index 00000000..05cfa26c --- /dev/null +++ b/src/test/burn/TestData/BasicFunctionalityTests/BundleA_arm64/BundleA_arm64.wxs | |||
@@ -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 | |||
3 | |||
4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
5 | <Fragment> | ||
6 | <PackageGroup Id="BundlePackages"> | ||
7 | <MsiPackage Id="PackageA_arm64" SourceFile="$(var.PackageA_arm64.TargetPath)" /> | ||
8 | </PackageGroup> | ||
9 | </Fragment> | ||
10 | </Wix> | ||
diff --git a/src/test/burn/TestData/BasicFunctionalityTests/BundleApu_x64/BundleApu_x64.wixproj b/src/test/burn/TestData/BasicFunctionalityTests/BundleApu_x64/BundleApu_x64.wixproj new file mode 100644 index 00000000..3cbedc3d --- /dev/null +++ b/src/test/burn/TestData/BasicFunctionalityTests/BundleApu_x64/BundleApu_x64.wixproj | |||
@@ -0,0 +1,18 @@ | |||
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 | <InstallerPlatform>x64</InstallerPlatform> | ||
6 | <BA>hyperlinkLicense</BA> | ||
7 | <UpgradeCode>{0B29528A-7FC5-4ACC-A465-497A9836FE8D}</UpgradeCode> | ||
8 | </PropertyGroup> | ||
9 | <ItemGroup> | ||
10 | <Compile Include="..\..\Templates\Bundle.wxs" Link="Bundle.wxs" /> | ||
11 | </ItemGroup> | ||
12 | <ItemGroup> | ||
13 | <ProjectReference Include="..\PackageApu_x64\PackageApu_x64.wixproj" /> | ||
14 | </ItemGroup> | ||
15 | <ItemGroup> | ||
16 | <PackageReference Include="WixToolset.Bal.wixext" /> | ||
17 | </ItemGroup> | ||
18 | </Project> \ No newline at end of file | ||
diff --git a/src/test/burn/TestData/BasicFunctionalityTests/BundleApu_x64/BundleApu_x64.wxs b/src/test/burn/TestData/BasicFunctionalityTests/BundleApu_x64/BundleApu_x64.wxs new file mode 100644 index 00000000..ebd6cce7 --- /dev/null +++ b/src/test/burn/TestData/BasicFunctionalityTests/BundleApu_x64/BundleApu_x64.wxs | |||
@@ -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 | |||
3 | |||
4 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | ||
5 | <Fragment> | ||
6 | <PackageGroup Id="BundlePackages"> | ||
7 | <MsiPackage Id="PackageApu_x64" SourceFile="$(var.PackageApu_x64.TargetPath)" /> | ||
8 | </PackageGroup> | ||
9 | </Fragment> | ||
10 | </Wix> | ||
diff --git a/src/test/burn/TestData/BasicFunctionalityTests/PackageA_arm64/PackageA_arm64.wixproj b/src/test/burn/TestData/BasicFunctionalityTests/PackageA_arm64/PackageA_arm64.wixproj new file mode 100644 index 00000000..e70d13a0 --- /dev/null +++ b/src/test/burn/TestData/BasicFunctionalityTests/PackageA_arm64/PackageA_arm64.wixproj | |||
@@ -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 | <Project Sdk="WixToolset.Sdk"> | ||
3 | <PropertyGroup> | ||
4 | <InstallerPlatform>arm64</InstallerPlatform> | ||
5 | <CabPrefix>a_arm64</CabPrefix> | ||
6 | <UpgradeCode>{A32CA5EE-029F-4F0E-B518-E0C14EDEEDE0}</UpgradeCode> | ||
7 | </PropertyGroup> | ||
8 | <ItemGroup> | ||
9 | <Compile Include="..\..\Templates\Package.wxs" Link="Package.wxs" /> | ||
10 | </ItemGroup> | ||
11 | </Project> \ No newline at end of file | ||
diff --git a/src/test/burn/TestData/BasicFunctionalityTests/PackageA_x64/PackageA_x64.wixproj b/src/test/burn/TestData/BasicFunctionalityTests/PackageA_x64/PackageA_x64.wixproj index 8dbab284..b1180f43 100644 --- a/src/test/burn/TestData/BasicFunctionalityTests/PackageA_x64/PackageA_x64.wixproj +++ b/src/test/burn/TestData/BasicFunctionalityTests/PackageA_x64/PackageA_x64.wixproj | |||
@@ -1,6 +1,7 @@ | |||
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. --> | 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"> | 2 | <Project Sdk="WixToolset.Sdk"> |
3 | <PropertyGroup> | 3 | <PropertyGroup> |
4 | <InstallerPlatform>x64</InstallerPlatform> | ||
4 | <CabPrefix>a_x64</CabPrefix> | 5 | <CabPrefix>a_x64</CabPrefix> |
5 | <UpgradeCode>{BDB9EF6A-B2DE-4929-9BE3-0CD71BDAEF6E}</UpgradeCode> | 6 | <UpgradeCode>{BDB9EF6A-B2DE-4929-9BE3-0CD71BDAEF6E}</UpgradeCode> |
6 | </PropertyGroup> | 7 | </PropertyGroup> |
diff --git a/src/test/burn/TestData/BasicFunctionalityTests/PackageApu_x64/PackageApu_x64.wixproj b/src/test/burn/TestData/BasicFunctionalityTests/PackageApu_x64/PackageApu_x64.wixproj new file mode 100644 index 00000000..945dcfa4 --- /dev/null +++ b/src/test/burn/TestData/BasicFunctionalityTests/PackageApu_x64/PackageApu_x64.wixproj | |||
@@ -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 | <Project Sdk="WixToolset.Sdk"> | ||
3 | <PropertyGroup> | ||
4 | <InstallerPlatform>x64</InstallerPlatform> | ||
5 | <CabPrefix>apu_x64</CabPrefix> | ||
6 | <UpgradeCode>{89FA641D-019D-42BF-BAD8-654675C83E6B}</UpgradeCode> | ||
7 | </PropertyGroup> | ||
8 | <ItemGroup> | ||
9 | <Compile Include="..\..\Templates\PackagePerUser.wxs" Link="PackagePerUser.wxs" /> | ||
10 | </ItemGroup> | ||
11 | </Project> \ No newline at end of file | ||
diff --git a/src/test/burn/TestData/Templates/Package.wxs b/src/test/burn/TestData/Templates/Package.wxs index 48ed5e02..c7597131 100644 --- a/src/test/burn/TestData/Templates/Package.wxs +++ b/src/test/burn/TestData/Templates/Package.wxs | |||
@@ -11,7 +11,7 @@ | |||
11 | <?endif?> | 11 | <?endif?> |
12 | 12 | ||
13 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 13 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
14 | <Package Name="~$(var.TestGroupName) - $(var.PackageName)" Language="1033" Version="$(var.Version)" Manufacturer="Microsoft Corporation" UpgradeCode="$(var.UpgradeCode)" Compressed="yes" ProductCode="$(var.ProductCode)"> | 14 | <Package Name="~$(var.TestGroupName) - $(var.PackageName)" Language="1033" Version="$(var.Version)" Manufacturer="WixToolset" UpgradeCode="$(var.UpgradeCode)" Compressed="yes" ProductCode="$(var.ProductCode)"> |
15 | <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> | 15 | <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> |
16 | <?ifndef CabPrefix?> | 16 | <?ifndef CabPrefix?> |
17 | <MediaTemplate EmbedCab="yes" /> | 17 | <MediaTemplate EmbedCab="yes" /> |
diff --git a/src/test/burn/TestData/Templates/PackageFail.wxs b/src/test/burn/TestData/Templates/PackageFail.wxs index 0139c22b..b3e59540 100644 --- a/src/test/burn/TestData/Templates/PackageFail.wxs +++ b/src/test/burn/TestData/Templates/PackageFail.wxs | |||
@@ -7,7 +7,7 @@ | |||
7 | <?endif?> | 7 | <?endif?> |
8 | 8 | ||
9 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> | 9 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs" xmlns:util="http://wixtoolset.org/schemas/v4/wxs/util"> |
10 | <Package Name="~$(var.TestGroupName) - $(var.PackageName)" Language="1033" Version="$(var.Version)" Manufacturer="Microsoft Corporation" UpgradeCode="$(var.UpgradeCode)" Compressed="yes"> | 10 | <Package Name="~$(var.TestGroupName) - $(var.PackageName)" Language="1033" Version="$(var.Version)" Manufacturer="WixToolset" UpgradeCode="$(var.UpgradeCode)" Compressed="yes"> |
11 | <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> | 11 | <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> |
12 | <MediaTemplate EmbedCab="yes" /> | 12 | <MediaTemplate EmbedCab="yes" /> |
13 | 13 | ||
diff --git a/src/test/burn/TestData/Templates/PackagePerUser.wxs b/src/test/burn/TestData/Templates/PackagePerUser.wxs index 5e18fefd..daac7658 100644 --- a/src/test/burn/TestData/Templates/PackagePerUser.wxs +++ b/src/test/burn/TestData/Templates/PackagePerUser.wxs | |||
@@ -11,7 +11,7 @@ | |||
11 | <?endif?> | 11 | <?endif?> |
12 | 12 | ||
13 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 13 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
14 | <Package Name="~$(var.TestGroupName) - $(var.PackageName)" Language="1033" Version="$(var.Version)" Manufacturer="Microsoft Corporation" UpgradeCode="$(var.UpgradeCode)" Compressed="yes" ProductCode="$(var.ProductCode)" Scope="perUser"> | 14 | <Package Name="~$(var.TestGroupName) - $(var.PackageName)" Language="1033" Version="$(var.Version)" Manufacturer="WixToolset" UpgradeCode="$(var.UpgradeCode)" Compressed="yes" ProductCode="$(var.ProductCode)" Scope="perUser"> |
15 | <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> | 15 | <MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed." /> |
16 | <?ifndef CabPrefix?> | 16 | <?ifndef CabPrefix?> |
17 | <MediaTemplate EmbedCab="yes" /> | 17 | <MediaTemplate EmbedCab="yes" /> |
diff --git a/src/test/burn/WixToolsetTest.BurnE2E/BasicFunctionalityTests.cs b/src/test/burn/WixToolsetTest.BurnE2E/BasicFunctionalityTests.cs index f8361d90..1fb0dd58 100644 --- a/src/test/burn/WixToolsetTest.BurnE2E/BasicFunctionalityTests.cs +++ b/src/test/burn/WixToolsetTest.BurnE2E/BasicFunctionalityTests.cs | |||
@@ -42,6 +42,12 @@ namespace WixToolsetTest.BurnE2E | |||
42 | } | 42 | } |
43 | 43 | ||
44 | [Fact] | 44 | [Fact] |
45 | public void CanInstallAndUninstallSimplePerUserBundle_x64_wixstdba() | ||
46 | { | ||
47 | this.CanInstallAndUninstallSimpleBundle("PackageApu_x64", "BundleApu_x64"); | ||
48 | } | ||
49 | |||
50 | [Fact] | ||
45 | public void CanInstallAndUninstallSimpleBundle_x64_testba() | 51 | public void CanInstallAndUninstallSimpleBundle_x64_testba() |
46 | { | 52 | { |
47 | this.CanInstallAndUninstallSimpleBundle("PackageA_x64", "BundleB_x64"); | 53 | this.CanInstallAndUninstallSimpleBundle("PackageA_x64", "BundleB_x64"); |