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