diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-07-19 15:17:10 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-07-20 08:53:56 -0500 |
commit | 913b6238417dceeb8440315e4669990756d17655 (patch) | |
tree | a9e3552ea124d2025e30436afc8629f071c01ed4 /src/api/burn/WixToolset.Mba.Core | |
parent | 93bb820eff547f8de304f05249f572da861256fb (diff) | |
download | wix-913b6238417dceeb8440315e4669990756d17655.tar.gz wix-913b6238417dceeb8440315e4669990756d17655.tar.bz2 wix-913b6238417dceeb8440315e4669990756d17655.zip |
Add WixInternalUIBootstrapperApplication as a new built-in BA.
Implements 6835
Diffstat (limited to 'src/api/burn/WixToolset.Mba.Core')
-rw-r--r-- | src/api/burn/WixToolset.Mba.Core/IPackageInfo.cs | 5 | ||||
-rw-r--r-- | src/api/burn/WixToolset.Mba.Core/PackageInfo.cs | 34 |
2 files changed, 39 insertions, 0 deletions
diff --git a/src/api/burn/WixToolset.Mba.Core/IPackageInfo.cs b/src/api/burn/WixToolset.Mba.Core/IPackageInfo.cs index ee3be820..c6285f03 100644 --- a/src/api/burn/WixToolset.Mba.Core/IPackageInfo.cs +++ b/src/api/burn/WixToolset.Mba.Core/IPackageInfo.cs | |||
@@ -68,6 +68,11 @@ namespace WixToolset.Mba.Core | |||
68 | string PrereqLicenseUrl { get; } | 68 | string PrereqLicenseUrl { get; } |
69 | 69 | ||
70 | /// <summary> | 70 | /// <summary> |
71 | /// See <see cref="PrimaryPackageType"/> | ||
72 | /// </summary> | ||
73 | PrimaryPackageType PrimaryPackageType { get; } | ||
74 | |||
75 | /// <summary> | ||
71 | /// | 76 | /// |
72 | /// </summary> | 77 | /// </summary> |
73 | string ProductCode { get; } | 78 | string ProductCode { get; } |
diff --git a/src/api/burn/WixToolset.Mba.Core/PackageInfo.cs b/src/api/burn/WixToolset.Mba.Core/PackageInfo.cs index e400cbe4..3fa1b49e 100644 --- a/src/api/burn/WixToolset.Mba.Core/PackageInfo.cs +++ b/src/api/burn/WixToolset.Mba.Core/PackageInfo.cs | |||
@@ -64,6 +64,37 @@ namespace WixToolset.Mba.Core | |||
64 | } | 64 | } |
65 | 65 | ||
66 | /// <summary> | 66 | /// <summary> |
67 | /// Metadata for BAs like WixInternalUIBootstrapperApplication that only support one main package. | ||
68 | /// </summary> | ||
69 | public enum PrimaryPackageType | ||
70 | { | ||
71 | /// <summary> | ||
72 | /// Not a primary package. | ||
73 | /// </summary> | ||
74 | None, | ||
75 | |||
76 | /// <summary> | ||
77 | /// The default package if no architecture specific package is available for the current architecture. | ||
78 | /// </summary> | ||
79 | Default, | ||
80 | |||
81 | /// <summary> | ||
82 | /// The package to use on x86 machines. | ||
83 | /// </summary> | ||
84 | X86, | ||
85 | |||
86 | /// <summary> | ||
87 | /// The package to use on x64 machines. | ||
88 | /// </summary> | ||
89 | X64, | ||
90 | |||
91 | /// <summary> | ||
92 | /// The package to use on ARM64 machines. | ||
93 | /// </summary> | ||
94 | ARM64, | ||
95 | } | ||
96 | |||
97 | /// <summary> | ||
67 | /// Default implementation of <see cref="IPackageInfo"/>. | 98 | /// Default implementation of <see cref="IPackageInfo"/>. |
68 | /// </summary> | 99 | /// </summary> |
69 | public class PackageInfo : IPackageInfo | 100 | public class PackageInfo : IPackageInfo |
@@ -117,6 +148,9 @@ namespace WixToolset.Mba.Core | |||
117 | public string PrereqLicenseUrl { get; internal set; } | 148 | public string PrereqLicenseUrl { get; internal set; } |
118 | 149 | ||
119 | /// <inheritdoc/> | 150 | /// <inheritdoc/> |
151 | public PrimaryPackageType PrimaryPackageType { get; internal set; } | ||
152 | |||
153 | /// <inheritdoc/> | ||
120 | public object CustomData { get; set; } | 154 | public object CustomData { get; set; } |
121 | 155 | ||
122 | internal PackageInfo() { } | 156 | internal PackageInfo() { } |