aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Data/Rows/WixBundleExePackageRow.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Data/Rows/WixBundleExePackageRow.cs')
-rw-r--r--src/WixToolset.Data/Rows/WixBundleExePackageRow.cs101
1 files changed, 0 insertions, 101 deletions
diff --git a/src/WixToolset.Data/Rows/WixBundleExePackageRow.cs b/src/WixToolset.Data/Rows/WixBundleExePackageRow.cs
deleted file mode 100644
index 5bca6029..00000000
--- a/src/WixToolset.Data/Rows/WixBundleExePackageRow.cs
+++ /dev/null
@@ -1,101 +0,0 @@
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.Data.Rows
4{
5 /// <summary>
6 /// Specialization of a row for the WixBundleExePackage table.
7 /// </summary>
8 public sealed class WixBundleExePackageRow : Row
9 {
10 /// <summary>
11 /// Creates a WixBundleExePackage row that does not belong to a table.
12 /// </summary>
13 /// <param name="sourceLineNumbers">Original source lines for this row.</param>
14 /// <param name="tableDef">TableDefinition this row belongs to and should get its column definitions from.</param>
15 public WixBundleExePackageRow(SourceLineNumber sourceLineNumbers, TableDefinition tableDef) :
16 base(sourceLineNumbers, tableDef)
17 {
18 }
19
20 /// <summary>
21 /// Creates a WixBundleExePackageRow row that belongs to a table.
22 /// </summary>
23 /// <param name="sourceLineNumbers">Original source lines for this row.</param>
24 /// <param name="table">Table this row belongs to and should get its column definitions from.</param>
25 public WixBundleExePackageRow(SourceLineNumber sourceLineNumbers, Table table) :
26 base(sourceLineNumbers, table)
27 {
28 }
29
30 /// <summary>
31 /// Gets or sets the foreign key identifier to the ChainPackage row.
32 /// </summary>
33 public string ChainPackageId
34 {
35 get { return (string)this.Fields[0].Data; }
36 set { this.Fields[0].Data = value; }
37 }
38
39 /// <summary>
40 /// Gets or sets the raw Exe attributes of a patch.
41 /// </summary>
42 public WixBundleExePackageAttributes Attributes
43 {
44 get { return (WixBundleExePackageAttributes)this.Fields[1].Data; }
45 set { this.Fields[1].Data = value; }
46 }
47
48 /// <summary>
49 /// Gets or sets the protcol for the executable package.
50 /// </summary>
51 public string DetectCondition
52 {
53 get { return (string)this.Fields[2].Data; }
54 set { this.Fields[2].Data = value; }
55 }
56
57 /// <summary>
58 /// Gets or sets the install command for the executable package.
59 /// </summary>
60 public string InstallCommand
61 {
62 get { return (string)this.Fields[3].Data; }
63 set { this.Fields[3].Data = value; }
64 }
65
66 /// <summary>
67 /// Gets or sets the repair command for the executable package.
68 /// </summary>
69 public string RepairCommand
70 {
71 get { return (string)this.Fields[4].Data; }
72 set { this.Fields[4].Data = value; }
73 }
74
75 /// <summary>
76 /// Gets or sets the uninstall command for the executable package.
77 /// </summary>
78 public string UninstallCommand
79 {
80 get { return (string)this.Fields[5].Data; }
81 set { this.Fields[5].Data = value; }
82 }
83
84 /// <summary>
85 /// Gets or sets the protcol for the executable package.
86 /// </summary>
87 public string ExeProtocol
88 {
89 get { return (string)this.Fields[6].Data; }
90 set { this.Fields[6].Data = value; }
91 }
92
93 /// <summary>
94 /// Gets whether the executable package is repairable.
95 /// </summary>
96 public bool Repairable
97 {
98 get { return 0 != (this.Attributes & WixBundleExePackageAttributes.Repairable); }
99 }
100 }
101}