aboutsummaryrefslogtreecommitdiff
path: root/src/api/burn/WixToolset.BootstrapperApplicationApi/IBundleInfo.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2024-03-06 14:48:10 -0800
committerRob Mensching <rob@firegiant.com>2024-03-07 10:55:57 -0800
commit3d2d46f62fc01e2653d0251ad9703090574e7c41 (patch)
treeffdf7dce6c646f38b5e3ad8325c2ce78ca891a1a /src/api/burn/WixToolset.BootstrapperApplicationApi/IBundleInfo.cs
parenta8504dc4eb1c2d09965b0858699ac737336ef3c1 (diff)
downloadwix-3d2d46f62fc01e2653d0251ad9703090574e7c41.tar.gz
wix-3d2d46f62fc01e2653d0251ad9703090574e7c41.tar.bz2
wix-3d2d46f62fc01e2653d0251ad9703090574e7c41.zip
Better .nupkg names
Diffstat (limited to 'src/api/burn/WixToolset.BootstrapperApplicationApi/IBundleInfo.cs')
-rw-r--r--src/api/burn/WixToolset.BootstrapperApplicationApi/IBundleInfo.cs54
1 files changed, 54 insertions, 0 deletions
diff --git a/src/api/burn/WixToolset.BootstrapperApplicationApi/IBundleInfo.cs b/src/api/burn/WixToolset.BootstrapperApplicationApi/IBundleInfo.cs
new file mode 100644
index 00000000..a4d07597
--- /dev/null
+++ b/src/api/burn/WixToolset.BootstrapperApplicationApi/IBundleInfo.cs
@@ -0,0 +1,54 @@
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
3namespace WixToolset.BootstrapperApplicationApi
4{
5 using System.Collections.Generic;
6
7 /// <summary>
8 /// BA manifest data.
9 /// </summary>
10 public interface IBundleInfo
11 {
12 /// <summary>
13 /// The name of the variable that contains the path to the bundle's log.
14 /// </summary>
15 string LogVariable { get; }
16
17 /// <summary>
18 /// Bundle/@Name
19 /// </summary>
20 string Name { get; }
21
22 /// <summary>
23 /// Variables that were marked with bal:Overridable="yes".
24 /// </summary>
25 IOverridableVariables OverridableVariables { get; }
26
27 /// <summary>
28 /// The packages in the bundle's chain.
29 /// </summary>
30 IDictionary<string, IPackageInfo> Packages { get; }
31
32 /// <summary>
33 /// Whether the bundle is per-machine or per-user.
34 /// </summary>
35 bool PerMachine { get; }
36
37 /// <summary>
38 /// Adds a related bundle as a package.
39 /// </summary>
40 /// <param name="productCode"></param>
41 /// <param name="relationType"></param>
42 /// <param name="perMachine"></param>
43 /// <param name="version"></param>
44 /// <returns>The created <see cref="IPackageInfo"/>.</returns>
45 IPackageInfo AddRelatedBundleAsPackage(string productCode, RelationType relationType, bool perMachine, string version);
46
47 /// <summary>
48 /// Adds an update bundle as a package.
49 /// </summary>
50 /// <param name="packageId">Package id added as update bundle.</param>
51 /// <returns>The created <see cref="IPackageInfo"/>.</returns>
52 IPackageInfo AddUpdateBundleAsPackage(string packageId);
53 }
54}