diff options
| author | Bob Arnson <bob@firegiant.com> | 2022-02-13 00:46:54 -0500 |
|---|---|---|
| committer | Bob Arnson <github@bobs.org> | 2022-02-13 08:47:43 -0500 |
| commit | 1be6baef099aa75fd45f41e55b8138ac2c7e0da3 (patch) | |
| tree | f441deda5d7a355aea7966150ed1116a40701296 /src/ext/ComPlus/test | |
| parent | cb509edac4749d77a4eb07e9314354279f99ff1a (diff) | |
| download | wix-1be6baef099aa75fd45f41e55b8138ac2c7e0da3.tar.gz wix-1be6baef099aa75fd45f41e55b8138ac2c7e0da3.tar.bz2 wix-1be6baef099aa75fd45f41e55b8138ac2c7e0da3.zip | |
Versioned extension ids: ComPlus, Msmq
Diffstat (limited to 'src/ext/ComPlus/test')
| -rw-r--r-- | src/ext/ComPlus/test/WixToolsetTest.ComPlus/ComPlusExtensionFixture.cs | 23 | ||||
| -rw-r--r-- | src/ext/ComPlus/test/WixToolsetTest.ComPlus/TestData/UsingComPlusPartition/Package.wxs | 4 |
2 files changed, 21 insertions, 6 deletions
diff --git a/src/ext/ComPlus/test/WixToolsetTest.ComPlus/ComPlusExtensionFixture.cs b/src/ext/ComPlus/test/WixToolsetTest.ComPlus/ComPlusExtensionFixture.cs index ace4d6b6..d0b8daba 100644 --- a/src/ext/ComPlus/test/WixToolsetTest.ComPlus/ComPlusExtensionFixture.cs +++ b/src/ext/ComPlus/test/WixToolsetTest.ComPlus/ComPlusExtensionFixture.cs | |||
| @@ -16,17 +16,32 @@ namespace WixToolsetTest.ComPlus | |||
| 16 | var folder = TestData.Get(@"TestData\UsingComPlusPartition"); | 16 | var folder = TestData.Get(@"TestData\UsingComPlusPartition"); |
| 17 | var build = new Builder(folder, typeof(ComPlusExtensionFactory), new[] { folder }); | 17 | var build = new Builder(folder, typeof(ComPlusExtensionFactory), new[] { folder }); |
| 18 | 18 | ||
| 19 | var results = build.BuildAndQuery(Build, "ComPlusPartition"); | 19 | var results = build.BuildAndQuery(Build, "Wix4ComPlusPartition", "CustomAction"); |
| 20 | WixAssert.CompareLineByLine(new[] | 20 | WixAssert.CompareLineByLine(new[] |
| 21 | { | 21 | { |
| 22 | "ComPlusPartition:MyPartition\tfilF5_pLhBuF5b4N9XEo52g_hUM5Lo\tMyPartitionId\tMyPartition", | 22 | "CustomAction:Wix4ComPlusInstallCommit_A64\t11777\tWix4cpca_A64\tComPlusCleanup\t", |
| 23 | "CustomAction:Wix4ComPlusInstallExecute_A64\t11265\tWix4cpca_A64\tComPlusInstallExecute\t", | ||
| 24 | "CustomAction:Wix4ComPlusInstallExecuteCommit_A64\t11777\tWix4cpca_A64\tComPlusInstallExecuteCommit\t", | ||
| 25 | "CustomAction:Wix4ComPlusInstallPrepare_A64\t11265\tWix4cpca_A64\tComPlusPrepare\t", | ||
| 26 | "CustomAction:Wix4ComPlusRollbackInstallExecute_A64\t11521\tWix4cpca_A64\tComPlusRollbackInstallExecute\t", | ||
| 27 | "CustomAction:Wix4ComPlusRollbackInstallPrepare_A64\t11521\tWix4cpca_A64\tComPlusCleanup\t", | ||
| 28 | "CustomAction:Wix4ComPlusRollbackUninstallExecute_A64\t11521\tWix4cpca_A64\tComPlusInstallExecute\t", | ||
| 29 | "CustomAction:Wix4ComPlusRollbackUninstallPrepare_A64\t11521\tWix4cpca_A64\tComPlusCleanup\t", | ||
| 30 | "CustomAction:Wix4ComPlusUninstallCommit_A64\t11777\tWix4cpca_A64\tComPlusCleanup\t", | ||
| 31 | "CustomAction:Wix4ComPlusUninstallExecute_A64\t11265\tWix4cpca_A64\tComPlusUninstallExecute\t", | ||
| 32 | "CustomAction:Wix4ComPlusUninstallPrepare_A64\t11265\tWix4cpca_A64\tComPlusPrepare\t", | ||
| 33 | "CustomAction:Wix4ConfigureComPlusInstall_A64\t1\tWix4cpca_A64\tConfigureComPlusInstall\t", | ||
| 34 | "CustomAction:Wix4ConfigureComPlusUninstall_A64\t1\tWix4cpca_A64\tConfigureComPlusUninstall\t", | ||
| 35 | "Wix4ComPlusPartition:MyPartition\tfilF5_pLhBuF5b4N9XEo52g_hUM5Lo\tMyPartitionId\tMyPartition", | ||
| 23 | }, results); | 36 | }, results); |
| 24 | } | 37 | } |
| 25 | 38 | ||
| 26 | private static void Build(string[] args) | 39 | private static void Build(string[] args) |
| 27 | { | 40 | { |
| 28 | var result = WixRunner.Execute(args) | 41 | args = args.Concat(new[] { "-arch", "arm64" }).ToArray(); |
| 29 | .AssertSuccess(); | 42 | |
| 43 | var result = WixRunner.Execute(args); | ||
| 44 | result.AssertSuccess(); | ||
| 30 | } | 45 | } |
| 31 | } | 46 | } |
| 32 | } | 47 | } |
diff --git a/src/ext/ComPlus/test/WixToolsetTest.ComPlus/TestData/UsingComPlusPartition/Package.wxs b/src/ext/ComPlus/test/WixToolsetTest.ComPlus/TestData/UsingComPlusPartition/Package.wxs index bd31e81f..9524f3a4 100644 --- a/src/ext/ComPlus/test/WixToolsetTest.ComPlus/TestData/UsingComPlusPartition/Package.wxs +++ b/src/ext/ComPlus/test/WixToolsetTest.ComPlus/TestData/UsingComPlusPartition/Package.wxs | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 1 | <Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 2 | <Package Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a" InstallerVersion="200"> | 2 | <Package Name="MsiPackage" Language="1033" Version="1.0.0.0" Manufacturer="Example Corporation" UpgradeCode="047730a5-30fe-4a62-a520-da9381b8226a"> |
| 3 | <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" /> | 3 | <MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeError)" /> |
| 4 | 4 | ||
| 5 | <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)"> | 5 | <Feature Id="ProductFeature" Title="!(loc.FeatureTitle)"> |
