From 02d4ef4774fa43cc9524fac93c888981e5d47478 Mon Sep 17 00:00:00 2001 From: Sean Hall Date: Fri, 1 Jan 2021 23:12:28 -0600 Subject: Create template for bundle. --- .../BundleA/BundleA.wixproj | 5 ++++ .../BasicFunctionalityTests/BundleA/BundleA.wxi | 21 ------------- .../BasicFunctionalityTests/BundleA/BundleA.wxs | 1 - .../MsiTransactionTests/BundleAv1/BundleA.props | 15 ++++++++++ .../MsiTransactionTests/BundleAv1/BundleA.wxi | 21 ------------- .../BundleAv1/BundleAv1.wixproj | 8 +---- .../MsiTransactionTests/BundleAv1/BundleAv1.wxs | 1 - .../BundleAv2/BundleAv2.wixproj | 6 +--- .../MsiTransactionTests/BundleAv2/BundleAv2.wxs | 1 - .../MsiTransactionTests/BundleBv1/BundleB.props | 17 +++++++++++ .../MsiTransactionTests/BundleBv1/BundleB.wxi | 17 ----------- .../BundleBv1/BundleBv1.wixproj | 9 +----- .../MsiTransactionTests/BundleBv1/BundleBv1.wxs | 2 -- .../BundleBv2/BundleBv2.wixproj | 8 ++--- .../MsiTransactionTests/BundleBv2/BundleBv2.wxs | 2 -- src/TestData/PrereqBaTests/BundleA/BundleA.wixproj | 5 ++++ src/TestData/PrereqBaTests/BundleA/BundleA.wxi | 17 ----------- src/TestData/PrereqBaTests/BundleA/BundleA.wxs | 5 ++-- src/TestData/PrereqBaTests/BundleB/BundleB.wixproj | 5 ++++ src/TestData/PrereqBaTests/BundleB/BundleB.wxi | 17 ----------- src/TestData/PrereqBaTests/BundleB/BundleB.wxs | 5 ++-- .../RollbackBoundaryTests/BundleA/BundleA.wixproj | 5 ++++ .../RollbackBoundaryTests/BundleA/BundleA.wxi | 21 ------------- .../RollbackBoundaryTests/BundleA/BundleA.wxs | 1 - src/TestData/Templates/Bundle.wxs | 35 ++++++++++++++++++++++ src/Wix.Build.targets | 4 ++- 26 files changed, 101 insertions(+), 153 deletions(-) delete mode 100644 src/TestData/BasicFunctionalityTests/BundleA/BundleA.wxi create mode 100644 src/TestData/MsiTransactionTests/BundleAv1/BundleA.props delete mode 100644 src/TestData/MsiTransactionTests/BundleAv1/BundleA.wxi create mode 100644 src/TestData/MsiTransactionTests/BundleBv1/BundleB.props delete mode 100644 src/TestData/MsiTransactionTests/BundleBv1/BundleB.wxi delete mode 100644 src/TestData/PrereqBaTests/BundleA/BundleA.wxi delete mode 100644 src/TestData/PrereqBaTests/BundleB/BundleB.wxi delete mode 100644 src/TestData/RollbackBoundaryTests/BundleA/BundleA.wxi create mode 100644 src/TestData/Templates/Bundle.wxs diff --git a/src/TestData/BasicFunctionalityTests/BundleA/BundleA.wixproj b/src/TestData/BasicFunctionalityTests/BundleA/BundleA.wixproj index 45127b23..3eac53a1 100644 --- a/src/TestData/BasicFunctionalityTests/BundleA/BundleA.wixproj +++ b/src/TestData/BasicFunctionalityTests/BundleA/BundleA.wixproj @@ -2,7 +2,12 @@ Bundle + hyperlinkLicense + {8C7E2C47-1EE7-4BBE-99A2-EAB7F3693F48} + + + diff --git a/src/TestData/BasicFunctionalityTests/BundleA/BundleA.wxi b/src/TestData/BasicFunctionalityTests/BundleA/BundleA.wxi deleted file mode 100644 index 0bad694e..00000000 --- a/src/TestData/BasicFunctionalityTests/BundleA/BundleA.wxi +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/src/TestData/BasicFunctionalityTests/BundleA/BundleA.wxs b/src/TestData/BasicFunctionalityTests/BundleA/BundleA.wxs index 0506f05a..bd164a29 100644 --- a/src/TestData/BasicFunctionalityTests/BundleA/BundleA.wxs +++ b/src/TestData/BasicFunctionalityTests/BundleA/BundleA.wxs @@ -2,7 +2,6 @@ - diff --git a/src/TestData/MsiTransactionTests/BundleAv1/BundleA.props b/src/TestData/MsiTransactionTests/BundleAv1/BundleA.props new file mode 100644 index 00000000..ba3eb3e5 --- /dev/null +++ b/src/TestData/MsiTransactionTests/BundleAv1/BundleA.props @@ -0,0 +1,15 @@ + + + + Bundle + 1151 + hyperlinkLicense + {90ED10D5-B187-4470-B498-05D80DAB729A} + + + + + + + + diff --git a/src/TestData/MsiTransactionTests/BundleAv1/BundleA.wxi b/src/TestData/MsiTransactionTests/BundleAv1/BundleA.wxi deleted file mode 100644 index ef01c2e9..00000000 --- a/src/TestData/MsiTransactionTests/BundleAv1/BundleA.wxi +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wixproj b/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wixproj index 4e92a102..607c4ce6 100644 --- a/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wixproj +++ b/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wixproj @@ -1,15 +1,9 @@ - - Bundle - 1151 - + - - - \ No newline at end of file diff --git a/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wxs b/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wxs index f8355aa6..544fe6a6 100644 --- a/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wxs +++ b/src/TestData/MsiTransactionTests/BundleAv1/BundleAv1.wxs @@ -2,7 +2,6 @@ - diff --git a/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wixproj b/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wixproj index 7d1a42c5..9600f6ba 100644 --- a/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wixproj +++ b/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wixproj @@ -1,8 +1,7 @@ + - Bundle - 1151 2.0.0.0 @@ -10,7 +9,4 @@ - - - \ No newline at end of file diff --git a/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wxs b/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wxs index 11360c22..8623537b 100644 --- a/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wxs +++ b/src/TestData/MsiTransactionTests/BundleAv2/BundleAv2.wxs @@ -2,7 +2,6 @@ - diff --git a/src/TestData/MsiTransactionTests/BundleBv1/BundleB.props b/src/TestData/MsiTransactionTests/BundleBv1/BundleB.props new file mode 100644 index 00000000..23bd0ad3 --- /dev/null +++ b/src/TestData/MsiTransactionTests/BundleBv1/BundleB.props @@ -0,0 +1,17 @@ + + + + Bundle + {552FD011-4DD6-42B2-A4C6-AD1417C829B2} + + + + + + + + + + + + diff --git a/src/TestData/MsiTransactionTests/BundleBv1/BundleB.wxi b/src/TestData/MsiTransactionTests/BundleBv1/BundleB.wxi deleted file mode 100644 index 943b8b48..00000000 --- a/src/TestData/MsiTransactionTests/BundleBv1/BundleB.wxi +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wixproj b/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wixproj index 3cf361d2..508e25ee 100644 --- a/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wixproj +++ b/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wixproj @@ -1,14 +1,7 @@ - - Bundle - + - - - - - \ No newline at end of file diff --git a/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wxs b/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wxs index 1a24f53e..00d927ec 100644 --- a/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wxs +++ b/src/TestData/MsiTransactionTests/BundleBv1/BundleBv1.wxs @@ -2,10 +2,8 @@ - - diff --git a/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wixproj b/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wixproj index 7162dea2..b84052d5 100644 --- a/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wixproj +++ b/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wixproj @@ -1,18 +1,14 @@ + - Bundle 1151 + TestBAdnc 2.0.0.0 - - - - - \ No newline at end of file diff --git a/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wxs b/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wxs index 33665860..d1861e75 100644 --- a/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wxs +++ b/src/TestData/MsiTransactionTests/BundleBv2/BundleBv2.wxs @@ -2,10 +2,8 @@ - - diff --git a/src/TestData/PrereqBaTests/BundleA/BundleA.wixproj b/src/TestData/PrereqBaTests/BundleA/BundleA.wixproj index 56f4b11e..b608bb8c 100644 --- a/src/TestData/PrereqBaTests/BundleA/BundleA.wixproj +++ b/src/TestData/PrereqBaTests/BundleA/BundleA.wixproj @@ -2,7 +2,12 @@ Bundle + BrokenDnc + {A4456636-916A-43A0-87BF-A897C2717A00} + + + diff --git a/src/TestData/PrereqBaTests/BundleA/BundleA.wxi b/src/TestData/PrereqBaTests/BundleA/BundleA.wxi deleted file mode 100644 index 23623ffb..00000000 --- a/src/TestData/PrereqBaTests/BundleA/BundleA.wxi +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/src/TestData/PrereqBaTests/BundleA/BundleA.wxs b/src/TestData/PrereqBaTests/BundleA/BundleA.wxs index 53139834..0c9e8d21 100644 --- a/src/TestData/PrereqBaTests/BundleA/BundleA.wxs +++ b/src/TestData/PrereqBaTests/BundleA/BundleA.wxs @@ -2,9 +2,8 @@ - - + @@ -12,7 +11,9 @@ + + diff --git a/src/TestData/PrereqBaTests/BundleB/BundleB.wixproj b/src/TestData/PrereqBaTests/BundleB/BundleB.wixproj index 420c2a0c..bad720f9 100644 --- a/src/TestData/PrereqBaTests/BundleB/BundleB.wixproj +++ b/src/TestData/PrereqBaTests/BundleB/BundleB.wixproj @@ -2,7 +2,12 @@ Bundle + BrokenMba + {157A1FBA-3825-4AAA-B13D-F45435A79D64} + + + diff --git a/src/TestData/PrereqBaTests/BundleB/BundleB.wxi b/src/TestData/PrereqBaTests/BundleB/BundleB.wxi deleted file mode 100644 index 6bfeb213..00000000 --- a/src/TestData/PrereqBaTests/BundleB/BundleB.wxi +++ /dev/null @@ -1,17 +0,0 @@ - - - - - - - - - - - - - - - - - diff --git a/src/TestData/PrereqBaTests/BundleB/BundleB.wxs b/src/TestData/PrereqBaTests/BundleB/BundleB.wxs index 57d8a552..603c3aee 100644 --- a/src/TestData/PrereqBaTests/BundleB/BundleB.wxs +++ b/src/TestData/PrereqBaTests/BundleB/BundleB.wxs @@ -2,16 +2,17 @@ - - + + + diff --git a/src/TestData/RollbackBoundaryTests/BundleA/BundleA.wixproj b/src/TestData/RollbackBoundaryTests/BundleA/BundleA.wixproj index 96f7aa31..43a844ad 100644 --- a/src/TestData/RollbackBoundaryTests/BundleA/BundleA.wixproj +++ b/src/TestData/RollbackBoundaryTests/BundleA/BundleA.wixproj @@ -2,7 +2,12 @@ Bundle + hyperlinkLicense + {E8426C86-D5E4-45FA-B09D-789DC7E5E00A} + + + diff --git a/src/TestData/RollbackBoundaryTests/BundleA/BundleA.wxi b/src/TestData/RollbackBoundaryTests/BundleA/BundleA.wxi deleted file mode 100644 index 145073b5..00000000 --- a/src/TestData/RollbackBoundaryTests/BundleA/BundleA.wxi +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - diff --git a/src/TestData/RollbackBoundaryTests/BundleA/BundleA.wxs b/src/TestData/RollbackBoundaryTests/BundleA/BundleA.wxs index 251b1863..795dc13a 100644 --- a/src/TestData/RollbackBoundaryTests/BundleA/BundleA.wxs +++ b/src/TestData/RollbackBoundaryTests/BundleA/BundleA.wxs @@ -2,7 +2,6 @@ - diff --git a/src/TestData/Templates/Bundle.wxs b/src/TestData/Templates/Bundle.wxs new file mode 100644 index 00000000..6042a616 --- /dev/null +++ b/src/TestData/Templates/Bundle.wxs @@ -0,0 +1,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/Wix.Build.targets b/src/Wix.Build.targets index 6a35b172..e6018b67 100644 --- a/src/Wix.Build.targets +++ b/src/Wix.Build.targets @@ -2,8 +2,10 @@ + $(MSBuildProjectName) $(MSBuildProjectName) - TestGroupName=$(TestGroupName);PackageName=$(PackageName);$(DefineConstants) + TestGroupName=$(TestGroupName);PackageName=$(PackageName);BundleName=$(BundleName);$(DefineConstants) + BA=$(BA);$(DefineConstants) CabPrefix=$(CabPrefix);$(DefineConstants) UpgradeCode=$(UpgradeCode);$(DefineConstants) Version=$(Version);$(DefineConstants) -- cgit v1.2.3-55-g6feb