diff options
| author | Rob Mensching <rob@firegiant.com> | 2017-11-01 10:56:09 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2017-11-01 10:56:09 -0700 |
| commit | 69b15d96cebdbb7201b1849b4f62786633d70b8d (patch) | |
| tree | 4b65de8679e4b4ab81b69edcccbac1ae9f55a16d /src/WixToolset.Data/Tuples | |
| parent | a8656a87887d6cb2c54f4bbeacee37f7074f1032 (diff) | |
| download | wix-69b15d96cebdbb7201b1849b4f62786633d70b8d.tar.gz wix-69b15d96cebdbb7201b1849b4f62786633d70b8d.tar.bz2 wix-69b15d96cebdbb7201b1849b4f62786633d70b8d.zip | |
Introduce WiX Intermediate Representation
Diffstat (limited to 'src/WixToolset.Data/Tuples')
200 files changed, 19297 insertions, 0 deletions
diff --git a/src/WixToolset.Data/Tuples/ActionTextTuple.cs b/src/WixToolset.Data/Tuples/ActionTextTuple.cs new file mode 100644 index 00000000..771a8b02 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ActionTextTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ActionText = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ActionText, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ActionTextTupleFields.Action), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ActionTextTupleFields.Description), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ActionTextTupleFields.Template), IntermediateFieldType.String), | ||
| 16 | }, | ||
| 17 | typeof(ActionTextTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum ActionTextTupleFields | ||
| 24 | { | ||
| 25 | Action, | ||
| 26 | Description, | ||
| 27 | Template, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class ActionTextTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public ActionTextTuple() : base(TupleDefinitions.ActionText, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public ActionTextTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ActionText, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[ActionTextTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string Action | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)ActionTextTupleFields.Action]?.Value; | ||
| 45 | set => this.Set((int)ActionTextTupleFields.Action, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Description | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)ActionTextTupleFields.Description]?.Value; | ||
| 51 | set => this.Set((int)ActionTextTupleFields.Description, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string Template | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)ActionTextTupleFields.Template]?.Value; | ||
| 57 | set => this.Set((int)ActionTextTupleFields.Template, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/AdminExecuteSequenceTuple.cs b/src/WixToolset.Data/Tuples/AdminExecuteSequenceTuple.cs new file mode 100644 index 00000000..25c717e0 --- /dev/null +++ b/src/WixToolset.Data/Tuples/AdminExecuteSequenceTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition AdminExecuteSequence = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.AdminExecuteSequence, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(AdminExecuteSequenceTupleFields.Action), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(AdminExecuteSequenceTupleFields.Condition), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(AdminExecuteSequenceTupleFields.Sequence), IntermediateFieldType.Number), | ||
| 16 | }, | ||
| 17 | typeof(AdminExecuteSequenceTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum AdminExecuteSequenceTupleFields | ||
| 24 | { | ||
| 25 | Action, | ||
| 26 | Condition, | ||
| 27 | Sequence, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class AdminExecuteSequenceTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public AdminExecuteSequenceTuple() : base(TupleDefinitions.AdminExecuteSequence, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public AdminExecuteSequenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.AdminExecuteSequence, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[AdminExecuteSequenceTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string Action | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)AdminExecuteSequenceTupleFields.Action]?.Value; | ||
| 45 | set => this.Set((int)AdminExecuteSequenceTupleFields.Action, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Condition | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)AdminExecuteSequenceTupleFields.Condition]?.Value; | ||
| 51 | set => this.Set((int)AdminExecuteSequenceTupleFields.Condition, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public int Sequence | ||
| 55 | { | ||
| 56 | get => (int)this.Fields[(int)AdminExecuteSequenceTupleFields.Sequence]?.Value; | ||
| 57 | set => this.Set((int)AdminExecuteSequenceTupleFields.Sequence, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/AdminUISequenceTuple.cs b/src/WixToolset.Data/Tuples/AdminUISequenceTuple.cs new file mode 100644 index 00000000..d4681bb9 --- /dev/null +++ b/src/WixToolset.Data/Tuples/AdminUISequenceTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition AdminUISequence = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.AdminUISequence, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(AdminUISequenceTupleFields.Action), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(AdminUISequenceTupleFields.Condition), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(AdminUISequenceTupleFields.Sequence), IntermediateFieldType.Number), | ||
| 16 | }, | ||
| 17 | typeof(AdminUISequenceTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum AdminUISequenceTupleFields | ||
| 24 | { | ||
| 25 | Action, | ||
| 26 | Condition, | ||
| 27 | Sequence, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class AdminUISequenceTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public AdminUISequenceTuple() : base(TupleDefinitions.AdminUISequence, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public AdminUISequenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.AdminUISequence, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[AdminUISequenceTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string Action | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)AdminUISequenceTupleFields.Action]?.Value; | ||
| 45 | set => this.Set((int)AdminUISequenceTupleFields.Action, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Condition | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)AdminUISequenceTupleFields.Condition]?.Value; | ||
| 51 | set => this.Set((int)AdminUISequenceTupleFields.Condition, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public int Sequence | ||
| 55 | { | ||
| 56 | get => (int)this.Fields[(int)AdminUISequenceTupleFields.Sequence]?.Value; | ||
| 57 | set => this.Set((int)AdminUISequenceTupleFields.Sequence, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/AdvtExecuteSequenceTuple.cs b/src/WixToolset.Data/Tuples/AdvtExecuteSequenceTuple.cs new file mode 100644 index 00000000..36a53af2 --- /dev/null +++ b/src/WixToolset.Data/Tuples/AdvtExecuteSequenceTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition AdvtExecuteSequence = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.AdvtExecuteSequence, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(AdvtExecuteSequenceTupleFields.Action), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(AdvtExecuteSequenceTupleFields.Condition), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(AdvtExecuteSequenceTupleFields.Sequence), IntermediateFieldType.Number), | ||
| 16 | }, | ||
| 17 | typeof(AdvtExecuteSequenceTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum AdvtExecuteSequenceTupleFields | ||
| 24 | { | ||
| 25 | Action, | ||
| 26 | Condition, | ||
| 27 | Sequence, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class AdvtExecuteSequenceTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public AdvtExecuteSequenceTuple() : base(TupleDefinitions.AdvtExecuteSequence, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public AdvtExecuteSequenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.AdvtExecuteSequence, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[AdvtExecuteSequenceTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string Action | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)AdvtExecuteSequenceTupleFields.Action]?.Value; | ||
| 45 | set => this.Set((int)AdvtExecuteSequenceTupleFields.Action, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Condition | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)AdvtExecuteSequenceTupleFields.Condition]?.Value; | ||
| 51 | set => this.Set((int)AdvtExecuteSequenceTupleFields.Condition, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public int Sequence | ||
| 55 | { | ||
| 56 | get => (int)this.Fields[(int)AdvtExecuteSequenceTupleFields.Sequence]?.Value; | ||
| 57 | set => this.Set((int)AdvtExecuteSequenceTupleFields.Sequence, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/AppIdTuple.cs b/src/WixToolset.Data/Tuples/AppIdTuple.cs new file mode 100644 index 00000000..7816e4c3 --- /dev/null +++ b/src/WixToolset.Data/Tuples/AppIdTuple.cs | |||
| @@ -0,0 +1,92 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition AppId = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.AppId, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(AppIdTupleFields.AppId), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(AppIdTupleFields.RemoteServerName), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(AppIdTupleFields.LocalService), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(AppIdTupleFields.ServiceParameters), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(AppIdTupleFields.DllSurrogate), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(AppIdTupleFields.ActivateAtStorage), IntermediateFieldType.Number), | ||
| 19 | new IntermediateFieldDefinition(nameof(AppIdTupleFields.RunAsInteractiveUser), IntermediateFieldType.Number), | ||
| 20 | }, | ||
| 21 | typeof(AppIdTuple)); | ||
| 22 | } | ||
| 23 | } | ||
| 24 | |||
| 25 | namespace WixToolset.Data.Tuples | ||
| 26 | { | ||
| 27 | public enum AppIdTupleFields | ||
| 28 | { | ||
| 29 | AppId, | ||
| 30 | RemoteServerName, | ||
| 31 | LocalService, | ||
| 32 | ServiceParameters, | ||
| 33 | DllSurrogate, | ||
| 34 | ActivateAtStorage, | ||
| 35 | RunAsInteractiveUser, | ||
| 36 | } | ||
| 37 | |||
| 38 | public class AppIdTuple : IntermediateTuple | ||
| 39 | { | ||
| 40 | public AppIdTuple() : base(TupleDefinitions.AppId, null, null) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public AppIdTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.AppId, sourceLineNumber, id) | ||
| 45 | { | ||
| 46 | } | ||
| 47 | |||
| 48 | public IntermediateField this[AppIdTupleFields index] => this.Fields[(int)index]; | ||
| 49 | |||
| 50 | public string AppId | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)AppIdTupleFields.AppId]?.Value; | ||
| 53 | set => this.Set((int)AppIdTupleFields.AppId, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string RemoteServerName | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)AppIdTupleFields.RemoteServerName]?.Value; | ||
| 59 | set => this.Set((int)AppIdTupleFields.RemoteServerName, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string LocalService | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)AppIdTupleFields.LocalService]?.Value; | ||
| 65 | set => this.Set((int)AppIdTupleFields.LocalService, value); | ||
| 66 | } | ||
| 67 | |||
| 68 | public string ServiceParameters | ||
| 69 | { | ||
| 70 | get => (string)this.Fields[(int)AppIdTupleFields.ServiceParameters]?.Value; | ||
| 71 | set => this.Set((int)AppIdTupleFields.ServiceParameters, value); | ||
| 72 | } | ||
| 73 | |||
| 74 | public string DllSurrogate | ||
| 75 | { | ||
| 76 | get => (string)this.Fields[(int)AppIdTupleFields.DllSurrogate]?.Value; | ||
| 77 | set => this.Set((int)AppIdTupleFields.DllSurrogate, value); | ||
| 78 | } | ||
| 79 | |||
| 80 | public int ActivateAtStorage | ||
| 81 | { | ||
| 82 | get => (int)this.Fields[(int)AppIdTupleFields.ActivateAtStorage]?.Value; | ||
| 83 | set => this.Set((int)AppIdTupleFields.ActivateAtStorage, value); | ||
| 84 | } | ||
| 85 | |||
| 86 | public int RunAsInteractiveUser | ||
| 87 | { | ||
| 88 | get => (int)this.Fields[(int)AppIdTupleFields.RunAsInteractiveUser]?.Value; | ||
| 89 | set => this.Set((int)AppIdTupleFields.RunAsInteractiveUser, value); | ||
| 90 | } | ||
| 91 | } | ||
| 92 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/AppSearchTuple.cs b/src/WixToolset.Data/Tuples/AppSearchTuple.cs new file mode 100644 index 00000000..e32064b8 --- /dev/null +++ b/src/WixToolset.Data/Tuples/AppSearchTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition AppSearch = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.AppSearch, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(AppSearchTupleFields.Property), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(AppSearchTupleFields.Signature_), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(AppSearchTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum AppSearchTupleFields | ||
| 23 | { | ||
| 24 | Property, | ||
| 25 | Signature_, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class AppSearchTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public AppSearchTuple() : base(TupleDefinitions.AppSearch, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public AppSearchTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.AppSearch, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[AppSearchTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Property | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)AppSearchTupleFields.Property]?.Value; | ||
| 43 | set => this.Set((int)AppSearchTupleFields.Property, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Signature_ | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)AppSearchTupleFields.Signature_]?.Value; | ||
| 49 | set => this.Set((int)AppSearchTupleFields.Signature_, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/BBControlTuple.cs b/src/WixToolset.Data/Tuples/BBControlTuple.cs new file mode 100644 index 00000000..dae041d4 --- /dev/null +++ b/src/WixToolset.Data/Tuples/BBControlTuple.cs | |||
| @@ -0,0 +1,108 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition BBControl = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.BBControl, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Billboard_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.BBControl), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Type), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.X), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Y), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Width), IntermediateFieldType.Number), | ||
| 19 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Height), IntermediateFieldType.Number), | ||
| 20 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 21 | new IntermediateFieldDefinition(nameof(BBControlTupleFields.Text), IntermediateFieldType.String), | ||
| 22 | }, | ||
| 23 | typeof(BBControlTuple)); | ||
| 24 | } | ||
| 25 | } | ||
| 26 | |||
| 27 | namespace WixToolset.Data.Tuples | ||
| 28 | { | ||
| 29 | public enum BBControlTupleFields | ||
| 30 | { | ||
| 31 | Billboard_, | ||
| 32 | BBControl, | ||
| 33 | Type, | ||
| 34 | X, | ||
| 35 | Y, | ||
| 36 | Width, | ||
| 37 | Height, | ||
| 38 | Attributes, | ||
| 39 | Text, | ||
| 40 | } | ||
| 41 | |||
| 42 | public class BBControlTuple : IntermediateTuple | ||
| 43 | { | ||
| 44 | public BBControlTuple() : base(TupleDefinitions.BBControl, null, null) | ||
| 45 | { | ||
| 46 | } | ||
| 47 | |||
| 48 | public BBControlTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.BBControl, sourceLineNumber, id) | ||
| 49 | { | ||
| 50 | } | ||
| 51 | |||
| 52 | public IntermediateField this[BBControlTupleFields index] => this.Fields[(int)index]; | ||
| 53 | |||
| 54 | public string Billboard_ | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)BBControlTupleFields.Billboard_]?.Value; | ||
| 57 | set => this.Set((int)BBControlTupleFields.Billboard_, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public string BBControl | ||
| 61 | { | ||
| 62 | get => (string)this.Fields[(int)BBControlTupleFields.BBControl]?.Value; | ||
| 63 | set => this.Set((int)BBControlTupleFields.BBControl, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public string Type | ||
| 67 | { | ||
| 68 | get => (string)this.Fields[(int)BBControlTupleFields.Type]?.Value; | ||
| 69 | set => this.Set((int)BBControlTupleFields.Type, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public int X | ||
| 73 | { | ||
| 74 | get => (int)this.Fields[(int)BBControlTupleFields.X]?.Value; | ||
| 75 | set => this.Set((int)BBControlTupleFields.X, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public int Y | ||
| 79 | { | ||
| 80 | get => (int)this.Fields[(int)BBControlTupleFields.Y]?.Value; | ||
| 81 | set => this.Set((int)BBControlTupleFields.Y, value); | ||
| 82 | } | ||
| 83 | |||
| 84 | public int Width | ||
| 85 | { | ||
| 86 | get => (int)this.Fields[(int)BBControlTupleFields.Width]?.Value; | ||
| 87 | set => this.Set((int)BBControlTupleFields.Width, value); | ||
| 88 | } | ||
| 89 | |||
| 90 | public int Height | ||
| 91 | { | ||
| 92 | get => (int)this.Fields[(int)BBControlTupleFields.Height]?.Value; | ||
| 93 | set => this.Set((int)BBControlTupleFields.Height, value); | ||
| 94 | } | ||
| 95 | |||
| 96 | public int Attributes | ||
| 97 | { | ||
| 98 | get => (int)this.Fields[(int)BBControlTupleFields.Attributes]?.Value; | ||
| 99 | set => this.Set((int)BBControlTupleFields.Attributes, value); | ||
| 100 | } | ||
| 101 | |||
| 102 | public string Text | ||
| 103 | { | ||
| 104 | get => (string)this.Fields[(int)BBControlTupleFields.Text]?.Value; | ||
| 105 | set => this.Set((int)BBControlTupleFields.Text, value); | ||
| 106 | } | ||
| 107 | } | ||
| 108 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/BillboardTuple.cs b/src/WixToolset.Data/Tuples/BillboardTuple.cs new file mode 100644 index 00000000..43e2ace7 --- /dev/null +++ b/src/WixToolset.Data/Tuples/BillboardTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Billboard = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Billboard, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(BillboardTupleFields.Billboard), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(BillboardTupleFields.Feature_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(BillboardTupleFields.Action), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(BillboardTupleFields.Ordering), IntermediateFieldType.Number), | ||
| 17 | }, | ||
| 18 | typeof(BillboardTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum BillboardTupleFields | ||
| 25 | { | ||
| 26 | Billboard, | ||
| 27 | Feature_, | ||
| 28 | Action, | ||
| 29 | Ordering, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class BillboardTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public BillboardTuple() : base(TupleDefinitions.Billboard, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public BillboardTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Billboard, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[BillboardTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string Billboard | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)BillboardTupleFields.Billboard]?.Value; | ||
| 47 | set => this.Set((int)BillboardTupleFields.Billboard, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public string Feature_ | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)BillboardTupleFields.Feature_]?.Value; | ||
| 53 | set => this.Set((int)BillboardTupleFields.Feature_, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string Action | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)BillboardTupleFields.Action]?.Value; | ||
| 59 | set => this.Set((int)BillboardTupleFields.Action, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public int Ordering | ||
| 63 | { | ||
| 64 | get => (int)this.Fields[(int)BillboardTupleFields.Ordering]?.Value; | ||
| 65 | set => this.Set((int)BillboardTupleFields.Ordering, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/BinaryTuple.cs b/src/WixToolset.Data/Tuples/BinaryTuple.cs new file mode 100644 index 00000000..8134167b --- /dev/null +++ b/src/WixToolset.Data/Tuples/BinaryTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Binary = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Binary, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(BinaryTupleFields.Name), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(BinaryTupleFields.Data), IntermediateFieldType.Path), | ||
| 15 | }, | ||
| 16 | typeof(BinaryTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum BinaryTupleFields | ||
| 23 | { | ||
| 24 | Name, | ||
| 25 | Data, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class BinaryTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public BinaryTuple() : base(TupleDefinitions.Binary, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public BinaryTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Binary, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[BinaryTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Name | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)BinaryTupleFields.Name]?.Value; | ||
| 43 | set => this.Set((int)BinaryTupleFields.Name, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Data | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)BinaryTupleFields.Data]?.Value; | ||
| 49 | set => this.Set((int)BinaryTupleFields.Data, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/BindImageTuple.cs b/src/WixToolset.Data/Tuples/BindImageTuple.cs new file mode 100644 index 00000000..fefafa2d --- /dev/null +++ b/src/WixToolset.Data/Tuples/BindImageTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition BindImage = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.BindImage, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(BindImageTupleFields.File_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(BindImageTupleFields.Path), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(BindImageTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum BindImageTupleFields | ||
| 23 | { | ||
| 24 | File_, | ||
| 25 | Path, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class BindImageTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public BindImageTuple() : base(TupleDefinitions.BindImage, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public BindImageTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.BindImage, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[BindImageTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string File_ | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)BindImageTupleFields.File_]?.Value; | ||
| 43 | set => this.Set((int)BindImageTupleFields.File_, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Path | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)BindImageTupleFields.Path]?.Value; | ||
| 49 | set => this.Set((int)BindImageTupleFields.Path, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/CCPSearchTuple.cs b/src/WixToolset.Data/Tuples/CCPSearchTuple.cs new file mode 100644 index 00000000..d1ca8458 --- /dev/null +++ b/src/WixToolset.Data/Tuples/CCPSearchTuple.cs | |||
| @@ -0,0 +1,44 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition CCPSearch = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.CCPSearch, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(CCPSearchTupleFields.Signature_), IntermediateFieldType.String), | ||
| 14 | }, | ||
| 15 | typeof(CCPSearchTuple)); | ||
| 16 | } | ||
| 17 | } | ||
| 18 | |||
| 19 | namespace WixToolset.Data.Tuples | ||
| 20 | { | ||
| 21 | public enum CCPSearchTupleFields | ||
| 22 | { | ||
| 23 | Signature_, | ||
| 24 | } | ||
| 25 | |||
| 26 | public class CCPSearchTuple : IntermediateTuple | ||
| 27 | { | ||
| 28 | public CCPSearchTuple() : base(TupleDefinitions.CCPSearch, null, null) | ||
| 29 | { | ||
| 30 | } | ||
| 31 | |||
| 32 | public CCPSearchTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.CCPSearch, sourceLineNumber, id) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public IntermediateField this[CCPSearchTupleFields index] => this.Fields[(int)index]; | ||
| 37 | |||
| 38 | public string Signature_ | ||
| 39 | { | ||
| 40 | get => (string)this.Fields[(int)CCPSearchTupleFields.Signature_]?.Value; | ||
| 41 | set => this.Set((int)CCPSearchTupleFields.Signature_, value); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/CheckBoxTuple.cs b/src/WixToolset.Data/Tuples/CheckBoxTuple.cs new file mode 100644 index 00000000..d76609f2 --- /dev/null +++ b/src/WixToolset.Data/Tuples/CheckBoxTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition CheckBox = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.CheckBox, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(CheckBoxTupleFields.Property), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(CheckBoxTupleFields.Value), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(CheckBoxTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum CheckBoxTupleFields | ||
| 23 | { | ||
| 24 | Property, | ||
| 25 | Value, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class CheckBoxTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public CheckBoxTuple() : base(TupleDefinitions.CheckBox, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public CheckBoxTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.CheckBox, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[CheckBoxTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Property | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)CheckBoxTupleFields.Property]?.Value; | ||
| 43 | set => this.Set((int)CheckBoxTupleFields.Property, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Value | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)CheckBoxTupleFields.Value]?.Value; | ||
| 49 | set => this.Set((int)CheckBoxTupleFields.Value, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ClassTuple.cs b/src/WixToolset.Data/Tuples/ClassTuple.cs new file mode 100644 index 00000000..a9bb3b95 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ClassTuple.cs | |||
| @@ -0,0 +1,140 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Class = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Class, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ClassTupleFields.CLSID), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ClassTupleFields.Context), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ClassTupleFields.Component_), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ClassTupleFields.ProgId_Default), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(ClassTupleFields.Description), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(ClassTupleFields.AppId_), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(ClassTupleFields.FileTypeMask), IntermediateFieldType.String), | ||
| 20 | new IntermediateFieldDefinition(nameof(ClassTupleFields.Icon_), IntermediateFieldType.String), | ||
| 21 | new IntermediateFieldDefinition(nameof(ClassTupleFields.IconIndex), IntermediateFieldType.Number), | ||
| 22 | new IntermediateFieldDefinition(nameof(ClassTupleFields.DefInprocHandler), IntermediateFieldType.String), | ||
| 23 | new IntermediateFieldDefinition(nameof(ClassTupleFields.Argument), IntermediateFieldType.String), | ||
| 24 | new IntermediateFieldDefinition(nameof(ClassTupleFields.Feature_), IntermediateFieldType.String), | ||
| 25 | new IntermediateFieldDefinition(nameof(ClassTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 26 | }, | ||
| 27 | typeof(ClassTuple)); | ||
| 28 | } | ||
| 29 | } | ||
| 30 | |||
| 31 | namespace WixToolset.Data.Tuples | ||
| 32 | { | ||
| 33 | public enum ClassTupleFields | ||
| 34 | { | ||
| 35 | CLSID, | ||
| 36 | Context, | ||
| 37 | Component_, | ||
| 38 | ProgId_Default, | ||
| 39 | Description, | ||
| 40 | AppId_, | ||
| 41 | FileTypeMask, | ||
| 42 | Icon_, | ||
| 43 | IconIndex, | ||
| 44 | DefInprocHandler, | ||
| 45 | Argument, | ||
| 46 | Feature_, | ||
| 47 | Attributes, | ||
| 48 | } | ||
| 49 | |||
| 50 | public class ClassTuple : IntermediateTuple | ||
| 51 | { | ||
| 52 | public ClassTuple() : base(TupleDefinitions.Class, null, null) | ||
| 53 | { | ||
| 54 | } | ||
| 55 | |||
| 56 | public ClassTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Class, sourceLineNumber, id) | ||
| 57 | { | ||
| 58 | } | ||
| 59 | |||
| 60 | public IntermediateField this[ClassTupleFields index] => this.Fields[(int)index]; | ||
| 61 | |||
| 62 | public string CLSID | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)ClassTupleFields.CLSID]?.Value; | ||
| 65 | set => this.Set((int)ClassTupleFields.CLSID, value); | ||
| 66 | } | ||
| 67 | |||
| 68 | public string Context | ||
| 69 | { | ||
| 70 | get => (string)this.Fields[(int)ClassTupleFields.Context]?.Value; | ||
| 71 | set => this.Set((int)ClassTupleFields.Context, value); | ||
| 72 | } | ||
| 73 | |||
| 74 | public string Component_ | ||
| 75 | { | ||
| 76 | get => (string)this.Fields[(int)ClassTupleFields.Component_]?.Value; | ||
| 77 | set => this.Set((int)ClassTupleFields.Component_, value); | ||
| 78 | } | ||
| 79 | |||
| 80 | public string ProgId_Default | ||
| 81 | { | ||
| 82 | get => (string)this.Fields[(int)ClassTupleFields.ProgId_Default]?.Value; | ||
| 83 | set => this.Set((int)ClassTupleFields.ProgId_Default, value); | ||
| 84 | } | ||
| 85 | |||
| 86 | public string Description | ||
| 87 | { | ||
| 88 | get => (string)this.Fields[(int)ClassTupleFields.Description]?.Value; | ||
| 89 | set => this.Set((int)ClassTupleFields.Description, value); | ||
| 90 | } | ||
| 91 | |||
| 92 | public string AppId_ | ||
| 93 | { | ||
| 94 | get => (string)this.Fields[(int)ClassTupleFields.AppId_]?.Value; | ||
| 95 | set => this.Set((int)ClassTupleFields.AppId_, value); | ||
| 96 | } | ||
| 97 | |||
| 98 | public string FileTypeMask | ||
| 99 | { | ||
| 100 | get => (string)this.Fields[(int)ClassTupleFields.FileTypeMask]?.Value; | ||
| 101 | set => this.Set((int)ClassTupleFields.FileTypeMask, value); | ||
| 102 | } | ||
| 103 | |||
| 104 | public string Icon_ | ||
| 105 | { | ||
| 106 | get => (string)this.Fields[(int)ClassTupleFields.Icon_]?.Value; | ||
| 107 | set => this.Set((int)ClassTupleFields.Icon_, value); | ||
| 108 | } | ||
| 109 | |||
| 110 | public int IconIndex | ||
| 111 | { | ||
| 112 | get => (int)this.Fields[(int)ClassTupleFields.IconIndex]?.Value; | ||
| 113 | set => this.Set((int)ClassTupleFields.IconIndex, value); | ||
| 114 | } | ||
| 115 | |||
| 116 | public string DefInprocHandler | ||
| 117 | { | ||
| 118 | get => (string)this.Fields[(int)ClassTupleFields.DefInprocHandler]?.Value; | ||
| 119 | set => this.Set((int)ClassTupleFields.DefInprocHandler, value); | ||
| 120 | } | ||
| 121 | |||
| 122 | public string Argument | ||
| 123 | { | ||
| 124 | get => (string)this.Fields[(int)ClassTupleFields.Argument]?.Value; | ||
| 125 | set => this.Set((int)ClassTupleFields.Argument, value); | ||
| 126 | } | ||
| 127 | |||
| 128 | public string Feature_ | ||
| 129 | { | ||
| 130 | get => (string)this.Fields[(int)ClassTupleFields.Feature_]?.Value; | ||
| 131 | set => this.Set((int)ClassTupleFields.Feature_, value); | ||
| 132 | } | ||
| 133 | |||
| 134 | public int Attributes | ||
| 135 | { | ||
| 136 | get => (int)this.Fields[(int)ClassTupleFields.Attributes]?.Value; | ||
| 137 | set => this.Set((int)ClassTupleFields.Attributes, value); | ||
| 138 | } | ||
| 139 | } | ||
| 140 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ComboBoxTuple.cs b/src/WixToolset.Data/Tuples/ComboBoxTuple.cs new file mode 100644 index 00000000..67acc30c --- /dev/null +++ b/src/WixToolset.Data/Tuples/ComboBoxTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ComboBox = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ComboBox, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ComboBoxTupleFields.Property), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ComboBoxTupleFields.Order), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(ComboBoxTupleFields.Value), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ComboBoxTupleFields.Text), IntermediateFieldType.String), | ||
| 17 | }, | ||
| 18 | typeof(ComboBoxTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum ComboBoxTupleFields | ||
| 25 | { | ||
| 26 | Property, | ||
| 27 | Order, | ||
| 28 | Value, | ||
| 29 | Text, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class ComboBoxTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public ComboBoxTuple() : base(TupleDefinitions.ComboBox, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public ComboBoxTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ComboBox, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[ComboBoxTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string Property | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)ComboBoxTupleFields.Property]?.Value; | ||
| 47 | set => this.Set((int)ComboBoxTupleFields.Property, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public int Order | ||
| 51 | { | ||
| 52 | get => (int)this.Fields[(int)ComboBoxTupleFields.Order]?.Value; | ||
| 53 | set => this.Set((int)ComboBoxTupleFields.Order, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string Value | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)ComboBoxTupleFields.Value]?.Value; | ||
| 59 | set => this.Set((int)ComboBoxTupleFields.Value, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string Text | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)ComboBoxTupleFields.Text]?.Value; | ||
| 65 | set => this.Set((int)ComboBoxTupleFields.Text, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/CompLocatorTuple.cs b/src/WixToolset.Data/Tuples/CompLocatorTuple.cs new file mode 100644 index 00000000..e8560711 --- /dev/null +++ b/src/WixToolset.Data/Tuples/CompLocatorTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition CompLocator = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.CompLocator, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(CompLocatorTupleFields.Signature_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(CompLocatorTupleFields.ComponentId), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(CompLocatorTupleFields.Type), IntermediateFieldType.Number), | ||
| 16 | }, | ||
| 17 | typeof(CompLocatorTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum CompLocatorTupleFields | ||
| 24 | { | ||
| 25 | Signature_, | ||
| 26 | ComponentId, | ||
| 27 | Type, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class CompLocatorTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public CompLocatorTuple() : base(TupleDefinitions.CompLocator, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public CompLocatorTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.CompLocator, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[CompLocatorTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string Signature_ | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)CompLocatorTupleFields.Signature_]?.Value; | ||
| 45 | set => this.Set((int)CompLocatorTupleFields.Signature_, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string ComponentId | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)CompLocatorTupleFields.ComponentId]?.Value; | ||
| 51 | set => this.Set((int)CompLocatorTupleFields.ComponentId, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public int Type | ||
| 55 | { | ||
| 56 | get => (int)this.Fields[(int)CompLocatorTupleFields.Type]?.Value; | ||
| 57 | set => this.Set((int)CompLocatorTupleFields.Type, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ComplusTuple.cs b/src/WixToolset.Data/Tuples/ComplusTuple.cs new file mode 100644 index 00000000..0287c689 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ComplusTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Complus = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Complus, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ComplusTupleFields.Component_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ComplusTupleFields.ExpType), IntermediateFieldType.Number), | ||
| 15 | }, | ||
| 16 | typeof(ComplusTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum ComplusTupleFields | ||
| 23 | { | ||
| 24 | Component_, | ||
| 25 | ExpType, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class ComplusTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public ComplusTuple() : base(TupleDefinitions.Complus, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public ComplusTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Complus, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[ComplusTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Component_ | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)ComplusTupleFields.Component_]?.Value; | ||
| 43 | set => this.Set((int)ComplusTupleFields.Component_, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public int ExpType | ||
| 47 | { | ||
| 48 | get => (int)this.Fields[(int)ComplusTupleFields.ExpType]?.Value; | ||
| 49 | set => this.Set((int)ComplusTupleFields.ExpType, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ComponentTuple.cs b/src/WixToolset.Data/Tuples/ComponentTuple.cs new file mode 100644 index 00000000..8d679609 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ComponentTuple.cs | |||
| @@ -0,0 +1,84 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Component = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Component, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.Component), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.ComponentId), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.Directory_), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.Condition), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(ComponentTupleFields.KeyPath), IntermediateFieldType.String), | ||
| 19 | }, | ||
| 20 | typeof(ComponentTuple)); | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace WixToolset.Data.Tuples | ||
| 25 | { | ||
| 26 | public enum ComponentTupleFields | ||
| 27 | { | ||
| 28 | Component, | ||
| 29 | ComponentId, | ||
| 30 | Directory_, | ||
| 31 | Attributes, | ||
| 32 | Condition, | ||
| 33 | KeyPath, | ||
| 34 | } | ||
| 35 | |||
| 36 | public class ComponentTuple : IntermediateTuple | ||
| 37 | { | ||
| 38 | public ComponentTuple() : base(TupleDefinitions.Component, null, null) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public ComponentTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Component, sourceLineNumber, id) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public IntermediateField this[ComponentTupleFields index] => this.Fields[(int)index]; | ||
| 47 | |||
| 48 | public string Component | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)ComponentTupleFields.Component]?.Value; | ||
| 51 | set => this.Set((int)ComponentTupleFields.Component, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string ComponentId | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)ComponentTupleFields.ComponentId]?.Value; | ||
| 57 | set => this.Set((int)ComponentTupleFields.ComponentId, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public string Directory_ | ||
| 61 | { | ||
| 62 | get => (string)this.Fields[(int)ComponentTupleFields.Directory_]?.Value; | ||
| 63 | set => this.Set((int)ComponentTupleFields.Directory_, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public int Attributes | ||
| 67 | { | ||
| 68 | get => (int)this.Fields[(int)ComponentTupleFields.Attributes]?.Value; | ||
| 69 | set => this.Set((int)ComponentTupleFields.Attributes, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public string Condition | ||
| 73 | { | ||
| 74 | get => (string)this.Fields[(int)ComponentTupleFields.Condition]?.Value; | ||
| 75 | set => this.Set((int)ComponentTupleFields.Condition, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public string KeyPath | ||
| 79 | { | ||
| 80 | get => (string)this.Fields[(int)ComponentTupleFields.KeyPath]?.Value; | ||
| 81 | set => this.Set((int)ComponentTupleFields.KeyPath, value); | ||
| 82 | } | ||
| 83 | } | ||
| 84 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ConditionTuple.cs b/src/WixToolset.Data/Tuples/ConditionTuple.cs new file mode 100644 index 00000000..534f4cae --- /dev/null +++ b/src/WixToolset.Data/Tuples/ConditionTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Condition = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Condition, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ConditionTupleFields.Feature_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ConditionTupleFields.Level), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(ConditionTupleFields.Condition), IntermediateFieldType.String), | ||
| 16 | }, | ||
| 17 | typeof(ConditionTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum ConditionTupleFields | ||
| 24 | { | ||
| 25 | Feature_, | ||
| 26 | Level, | ||
| 27 | Condition, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class ConditionTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public ConditionTuple() : base(TupleDefinitions.Condition, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public ConditionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Condition, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[ConditionTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string Feature_ | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)ConditionTupleFields.Feature_]?.Value; | ||
| 45 | set => this.Set((int)ConditionTupleFields.Feature_, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public int Level | ||
| 49 | { | ||
| 50 | get => (int)this.Fields[(int)ConditionTupleFields.Level]?.Value; | ||
| 51 | set => this.Set((int)ConditionTupleFields.Level, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string Condition | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)ConditionTupleFields.Condition]?.Value; | ||
| 57 | set => this.Set((int)ConditionTupleFields.Condition, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ControlConditionTuple.cs b/src/WixToolset.Data/Tuples/ControlConditionTuple.cs new file mode 100644 index 00000000..0b18dac1 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ControlConditionTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ControlCondition = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ControlCondition, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ControlConditionTupleFields.Dialog_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ControlConditionTupleFields.Control_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ControlConditionTupleFields.Action), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ControlConditionTupleFields.Condition), IntermediateFieldType.String), | ||
| 17 | }, | ||
| 18 | typeof(ControlConditionTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum ControlConditionTupleFields | ||
| 25 | { | ||
| 26 | Dialog_, | ||
| 27 | Control_, | ||
| 28 | Action, | ||
| 29 | Condition, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class ControlConditionTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public ControlConditionTuple() : base(TupleDefinitions.ControlCondition, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public ControlConditionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ControlCondition, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[ControlConditionTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string Dialog_ | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)ControlConditionTupleFields.Dialog_]?.Value; | ||
| 47 | set => this.Set((int)ControlConditionTupleFields.Dialog_, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public string Control_ | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)ControlConditionTupleFields.Control_]?.Value; | ||
| 53 | set => this.Set((int)ControlConditionTupleFields.Control_, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string Action | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)ControlConditionTupleFields.Action]?.Value; | ||
| 59 | set => this.Set((int)ControlConditionTupleFields.Action, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string Condition | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)ControlConditionTupleFields.Condition]?.Value; | ||
| 65 | set => this.Set((int)ControlConditionTupleFields.Condition, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ControlEventTuple.cs b/src/WixToolset.Data/Tuples/ControlEventTuple.cs new file mode 100644 index 00000000..b44cd19e --- /dev/null +++ b/src/WixToolset.Data/Tuples/ControlEventTuple.cs | |||
| @@ -0,0 +1,84 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ControlEvent = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ControlEvent, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ControlEventTupleFields.Dialog_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ControlEventTupleFields.Control_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ControlEventTupleFields.Event), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ControlEventTupleFields.Argument), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(ControlEventTupleFields.Condition), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(ControlEventTupleFields.Ordering), IntermediateFieldType.Number), | ||
| 19 | }, | ||
| 20 | typeof(ControlEventTuple)); | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace WixToolset.Data.Tuples | ||
| 25 | { | ||
| 26 | public enum ControlEventTupleFields | ||
| 27 | { | ||
| 28 | Dialog_, | ||
| 29 | Control_, | ||
| 30 | Event, | ||
| 31 | Argument, | ||
| 32 | Condition, | ||
| 33 | Ordering, | ||
| 34 | } | ||
| 35 | |||
| 36 | public class ControlEventTuple : IntermediateTuple | ||
| 37 | { | ||
| 38 | public ControlEventTuple() : base(TupleDefinitions.ControlEvent, null, null) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public ControlEventTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ControlEvent, sourceLineNumber, id) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public IntermediateField this[ControlEventTupleFields index] => this.Fields[(int)index]; | ||
| 47 | |||
| 48 | public string Dialog_ | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)ControlEventTupleFields.Dialog_]?.Value; | ||
| 51 | set => this.Set((int)ControlEventTupleFields.Dialog_, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string Control_ | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)ControlEventTupleFields.Control_]?.Value; | ||
| 57 | set => this.Set((int)ControlEventTupleFields.Control_, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public string Event | ||
| 61 | { | ||
| 62 | get => (string)this.Fields[(int)ControlEventTupleFields.Event]?.Value; | ||
| 63 | set => this.Set((int)ControlEventTupleFields.Event, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public string Argument | ||
| 67 | { | ||
| 68 | get => (string)this.Fields[(int)ControlEventTupleFields.Argument]?.Value; | ||
| 69 | set => this.Set((int)ControlEventTupleFields.Argument, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public string Condition | ||
| 73 | { | ||
| 74 | get => (string)this.Fields[(int)ControlEventTupleFields.Condition]?.Value; | ||
| 75 | set => this.Set((int)ControlEventTupleFields.Condition, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public int Ordering | ||
| 79 | { | ||
| 80 | get => (int)this.Fields[(int)ControlEventTupleFields.Ordering]?.Value; | ||
| 81 | set => this.Set((int)ControlEventTupleFields.Ordering, value); | ||
| 82 | } | ||
| 83 | } | ||
| 84 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ControlTuple.cs b/src/WixToolset.Data/Tuples/ControlTuple.cs new file mode 100644 index 00000000..82de917c --- /dev/null +++ b/src/WixToolset.Data/Tuples/ControlTuple.cs | |||
| @@ -0,0 +1,132 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Control = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Control, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Dialog_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Control), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Type), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ControlTupleFields.X), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Y), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Width), IntermediateFieldType.Number), | ||
| 19 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Height), IntermediateFieldType.Number), | ||
| 20 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 21 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Property), IntermediateFieldType.String), | ||
| 22 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Text), IntermediateFieldType.String), | ||
| 23 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Control_Next), IntermediateFieldType.String), | ||
| 24 | new IntermediateFieldDefinition(nameof(ControlTupleFields.Help), IntermediateFieldType.String), | ||
| 25 | }, | ||
| 26 | typeof(ControlTuple)); | ||
| 27 | } | ||
| 28 | } | ||
| 29 | |||
| 30 | namespace WixToolset.Data.Tuples | ||
| 31 | { | ||
| 32 | public enum ControlTupleFields | ||
| 33 | { | ||
| 34 | Dialog_, | ||
| 35 | Control, | ||
| 36 | Type, | ||
| 37 | X, | ||
| 38 | Y, | ||
| 39 | Width, | ||
| 40 | Height, | ||
| 41 | Attributes, | ||
| 42 | Property, | ||
| 43 | Text, | ||
| 44 | Control_Next, | ||
| 45 | Help, | ||
| 46 | } | ||
| 47 | |||
| 48 | public class ControlTuple : IntermediateTuple | ||
| 49 | { | ||
| 50 | public ControlTuple() : base(TupleDefinitions.Control, null, null) | ||
| 51 | { | ||
| 52 | } | ||
| 53 | |||
| 54 | public ControlTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Control, sourceLineNumber, id) | ||
| 55 | { | ||
| 56 | } | ||
| 57 | |||
| 58 | public IntermediateField this[ControlTupleFields index] => this.Fields[(int)index]; | ||
| 59 | |||
| 60 | public string Dialog_ | ||
| 61 | { | ||
| 62 | get => (string)this.Fields[(int)ControlTupleFields.Dialog_]?.Value; | ||
| 63 | set => this.Set((int)ControlTupleFields.Dialog_, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public string Control | ||
| 67 | { | ||
| 68 | get => (string)this.Fields[(int)ControlTupleFields.Control]?.Value; | ||
| 69 | set => this.Set((int)ControlTupleFields.Control, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public string Type | ||
| 73 | { | ||
| 74 | get => (string)this.Fields[(int)ControlTupleFields.Type]?.Value; | ||
| 75 | set => this.Set((int)ControlTupleFields.Type, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public int X | ||
| 79 | { | ||
| 80 | get => (int)this.Fields[(int)ControlTupleFields.X]?.Value; | ||
| 81 | set => this.Set((int)ControlTupleFields.X, value); | ||
| 82 | } | ||
| 83 | |||
| 84 | public int Y | ||
| 85 | { | ||
| 86 | get => (int)this.Fields[(int)ControlTupleFields.Y]?.Value; | ||
| 87 | set => this.Set((int)ControlTupleFields.Y, value); | ||
| 88 | } | ||
| 89 | |||
| 90 | public int Width | ||
| 91 | { | ||
| 92 | get => (int)this.Fields[(int)ControlTupleFields.Width]?.Value; | ||
| 93 | set => this.Set((int)ControlTupleFields.Width, value); | ||
| 94 | } | ||
| 95 | |||
| 96 | public int Height | ||
| 97 | { | ||
| 98 | get => (int)this.Fields[(int)ControlTupleFields.Height]?.Value; | ||
| 99 | set => this.Set((int)ControlTupleFields.Height, value); | ||
| 100 | } | ||
| 101 | |||
| 102 | public int Attributes | ||
| 103 | { | ||
| 104 | get => (int)this.Fields[(int)ControlTupleFields.Attributes]?.Value; | ||
| 105 | set => this.Set((int)ControlTupleFields.Attributes, value); | ||
| 106 | } | ||
| 107 | |||
| 108 | public string Property | ||
| 109 | { | ||
| 110 | get => (string)this.Fields[(int)ControlTupleFields.Property]?.Value; | ||
| 111 | set => this.Set((int)ControlTupleFields.Property, value); | ||
| 112 | } | ||
| 113 | |||
| 114 | public string Text | ||
| 115 | { | ||
| 116 | get => (string)this.Fields[(int)ControlTupleFields.Text]?.Value; | ||
| 117 | set => this.Set((int)ControlTupleFields.Text, value); | ||
| 118 | } | ||
| 119 | |||
| 120 | public string Control_Next | ||
| 121 | { | ||
| 122 | get => (string)this.Fields[(int)ControlTupleFields.Control_Next]?.Value; | ||
| 123 | set => this.Set((int)ControlTupleFields.Control_Next, value); | ||
| 124 | } | ||
| 125 | |||
| 126 | public string Help | ||
| 127 | { | ||
| 128 | get => (string)this.Fields[(int)ControlTupleFields.Help]?.Value; | ||
| 129 | set => this.Set((int)ControlTupleFields.Help, value); | ||
| 130 | } | ||
| 131 | } | ||
| 132 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/CreateFolderTuple.cs b/src/WixToolset.Data/Tuples/CreateFolderTuple.cs new file mode 100644 index 00000000..05b50a8b --- /dev/null +++ b/src/WixToolset.Data/Tuples/CreateFolderTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition CreateFolder = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.CreateFolder, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(CreateFolderTupleFields.Directory_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(CreateFolderTupleFields.Component_), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(CreateFolderTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum CreateFolderTupleFields | ||
| 23 | { | ||
| 24 | Directory_, | ||
| 25 | Component_, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class CreateFolderTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public CreateFolderTuple() : base(TupleDefinitions.CreateFolder, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public CreateFolderTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.CreateFolder, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[CreateFolderTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Directory_ | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)CreateFolderTupleFields.Directory_]?.Value; | ||
| 43 | set => this.Set((int)CreateFolderTupleFields.Directory_, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Component_ | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)CreateFolderTupleFields.Component_]?.Value; | ||
| 49 | set => this.Set((int)CreateFolderTupleFields.Component_, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/CustomActionTuple.cs b/src/WixToolset.Data/Tuples/CustomActionTuple.cs new file mode 100644 index 00000000..a5d8fd46 --- /dev/null +++ b/src/WixToolset.Data/Tuples/CustomActionTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition CustomAction = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.CustomAction, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(CustomActionTupleFields.Action), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(CustomActionTupleFields.Type), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(CustomActionTupleFields.Source), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(CustomActionTupleFields.Target), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(CustomActionTupleFields.ExtendedType), IntermediateFieldType.Number), | ||
| 18 | }, | ||
| 19 | typeof(CustomActionTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum CustomActionTupleFields | ||
| 26 | { | ||
| 27 | Action, | ||
| 28 | Type, | ||
| 29 | Source, | ||
| 30 | Target, | ||
| 31 | ExtendedType, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class CustomActionTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public CustomActionTuple() : base(TupleDefinitions.CustomAction, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public CustomActionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.CustomAction, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[CustomActionTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string Action | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)CustomActionTupleFields.Action]?.Value; | ||
| 49 | set => this.Set((int)CustomActionTupleFields.Action, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public int Type | ||
| 53 | { | ||
| 54 | get => (int)this.Fields[(int)CustomActionTupleFields.Type]?.Value; | ||
| 55 | set => this.Set((int)CustomActionTupleFields.Type, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string Source | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)CustomActionTupleFields.Source]?.Value; | ||
| 61 | set => this.Set((int)CustomActionTupleFields.Source, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string Target | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)CustomActionTupleFields.Target]?.Value; | ||
| 67 | set => this.Set((int)CustomActionTupleFields.Target, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public int ExtendedType | ||
| 71 | { | ||
| 72 | get => (int)this.Fields[(int)CustomActionTupleFields.ExtendedType]?.Value; | ||
| 73 | set => this.Set((int)CustomActionTupleFields.ExtendedType, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/DialogTuple.cs b/src/WixToolset.Data/Tuples/DialogTuple.cs new file mode 100644 index 00000000..b8bb2361 --- /dev/null +++ b/src/WixToolset.Data/Tuples/DialogTuple.cs | |||
| @@ -0,0 +1,116 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Dialog = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Dialog, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Dialog), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(DialogTupleFields.HCentering), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(DialogTupleFields.VCentering), IntermediateFieldType.Number), | ||
| 16 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Width), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Height), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 19 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Title), IntermediateFieldType.String), | ||
| 20 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Control_First), IntermediateFieldType.String), | ||
| 21 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Control_Default), IntermediateFieldType.String), | ||
| 22 | new IntermediateFieldDefinition(nameof(DialogTupleFields.Control_Cancel), IntermediateFieldType.String), | ||
| 23 | }, | ||
| 24 | typeof(DialogTuple)); | ||
| 25 | } | ||
| 26 | } | ||
| 27 | |||
| 28 | namespace WixToolset.Data.Tuples | ||
| 29 | { | ||
| 30 | public enum DialogTupleFields | ||
| 31 | { | ||
| 32 | Dialog, | ||
| 33 | HCentering, | ||
| 34 | VCentering, | ||
| 35 | Width, | ||
| 36 | Height, | ||
| 37 | Attributes, | ||
| 38 | Title, | ||
| 39 | Control_First, | ||
| 40 | Control_Default, | ||
| 41 | Control_Cancel, | ||
| 42 | } | ||
| 43 | |||
| 44 | public class DialogTuple : IntermediateTuple | ||
| 45 | { | ||
| 46 | public DialogTuple() : base(TupleDefinitions.Dialog, null, null) | ||
| 47 | { | ||
| 48 | } | ||
| 49 | |||
| 50 | public DialogTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Dialog, sourceLineNumber, id) | ||
| 51 | { | ||
| 52 | } | ||
| 53 | |||
| 54 | public IntermediateField this[DialogTupleFields index] => this.Fields[(int)index]; | ||
| 55 | |||
| 56 | public string Dialog | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)DialogTupleFields.Dialog]?.Value; | ||
| 59 | set => this.Set((int)DialogTupleFields.Dialog, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public int HCentering | ||
| 63 | { | ||
| 64 | get => (int)this.Fields[(int)DialogTupleFields.HCentering]?.Value; | ||
| 65 | set => this.Set((int)DialogTupleFields.HCentering, value); | ||
| 66 | } | ||
| 67 | |||
| 68 | public int VCentering | ||
| 69 | { | ||
| 70 | get => (int)this.Fields[(int)DialogTupleFields.VCentering]?.Value; | ||
| 71 | set => this.Set((int)DialogTupleFields.VCentering, value); | ||
| 72 | } | ||
| 73 | |||
| 74 | public int Width | ||
| 75 | { | ||
| 76 | get => (int)this.Fields[(int)DialogTupleFields.Width]?.Value; | ||
| 77 | set => this.Set((int)DialogTupleFields.Width, value); | ||
| 78 | } | ||
| 79 | |||
| 80 | public int Height | ||
| 81 | { | ||
| 82 | get => (int)this.Fields[(int)DialogTupleFields.Height]?.Value; | ||
| 83 | set => this.Set((int)DialogTupleFields.Height, value); | ||
| 84 | } | ||
| 85 | |||
| 86 | public int Attributes | ||
| 87 | { | ||
| 88 | get => (int)this.Fields[(int)DialogTupleFields.Attributes]?.Value; | ||
| 89 | set => this.Set((int)DialogTupleFields.Attributes, value); | ||
| 90 | } | ||
| 91 | |||
| 92 | public string Title | ||
| 93 | { | ||
| 94 | get => (string)this.Fields[(int)DialogTupleFields.Title]?.Value; | ||
| 95 | set => this.Set((int)DialogTupleFields.Title, value); | ||
| 96 | } | ||
| 97 | |||
| 98 | public string Control_First | ||
| 99 | { | ||
| 100 | get => (string)this.Fields[(int)DialogTupleFields.Control_First]?.Value; | ||
| 101 | set => this.Set((int)DialogTupleFields.Control_First, value); | ||
| 102 | } | ||
| 103 | |||
| 104 | public string Control_Default | ||
| 105 | { | ||
| 106 | get => (string)this.Fields[(int)DialogTupleFields.Control_Default]?.Value; | ||
| 107 | set => this.Set((int)DialogTupleFields.Control_Default, value); | ||
| 108 | } | ||
| 109 | |||
| 110 | public string Control_Cancel | ||
| 111 | { | ||
| 112 | get => (string)this.Fields[(int)DialogTupleFields.Control_Cancel]?.Value; | ||
| 113 | set => this.Set((int)DialogTupleFields.Control_Cancel, value); | ||
| 114 | } | ||
| 115 | } | ||
| 116 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/DirectoryTuple.cs b/src/WixToolset.Data/Tuples/DirectoryTuple.cs new file mode 100644 index 00000000..b36345c7 --- /dev/null +++ b/src/WixToolset.Data/Tuples/DirectoryTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Directory = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Directory, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(DirectoryTupleFields.Directory), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(DirectoryTupleFields.Directory_Parent), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(DirectoryTupleFields.DefaultDir), IntermediateFieldType.String), | ||
| 16 | }, | ||
| 17 | typeof(DirectoryTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum DirectoryTupleFields | ||
| 24 | { | ||
| 25 | Directory, | ||
| 26 | Directory_Parent, | ||
| 27 | DefaultDir, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class DirectoryTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public DirectoryTuple() : base(TupleDefinitions.Directory, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public DirectoryTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Directory, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[DirectoryTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string Directory | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)DirectoryTupleFields.Directory]?.Value; | ||
| 45 | set => this.Set((int)DirectoryTupleFields.Directory, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Directory_Parent | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)DirectoryTupleFields.Directory_Parent]?.Value; | ||
| 51 | set => this.Set((int)DirectoryTupleFields.Directory_Parent, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string DefaultDir | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)DirectoryTupleFields.DefaultDir]?.Value; | ||
| 57 | set => this.Set((int)DirectoryTupleFields.DefaultDir, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/DrLocatorTuple.cs b/src/WixToolset.Data/Tuples/DrLocatorTuple.cs new file mode 100644 index 00000000..38910333 --- /dev/null +++ b/src/WixToolset.Data/Tuples/DrLocatorTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition DrLocator = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.DrLocator, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(DrLocatorTupleFields.Signature_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(DrLocatorTupleFields.Parent), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(DrLocatorTupleFields.Path), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(DrLocatorTupleFields.Depth), IntermediateFieldType.Number), | ||
| 17 | }, | ||
| 18 | typeof(DrLocatorTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum DrLocatorTupleFields | ||
| 25 | { | ||
| 26 | Signature_, | ||
| 27 | Parent, | ||
| 28 | Path, | ||
| 29 | Depth, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class DrLocatorTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public DrLocatorTuple() : base(TupleDefinitions.DrLocator, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public DrLocatorTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.DrLocator, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[DrLocatorTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string Signature_ | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)DrLocatorTupleFields.Signature_]?.Value; | ||
| 47 | set => this.Set((int)DrLocatorTupleFields.Signature_, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public string Parent | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)DrLocatorTupleFields.Parent]?.Value; | ||
| 53 | set => this.Set((int)DrLocatorTupleFields.Parent, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string Path | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)DrLocatorTupleFields.Path]?.Value; | ||
| 59 | set => this.Set((int)DrLocatorTupleFields.Path, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public int Depth | ||
| 63 | { | ||
| 64 | get => (int)this.Fields[(int)DrLocatorTupleFields.Depth]?.Value; | ||
| 65 | set => this.Set((int)DrLocatorTupleFields.Depth, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/DuplicateFileTuple.cs b/src/WixToolset.Data/Tuples/DuplicateFileTuple.cs new file mode 100644 index 00000000..b489025c --- /dev/null +++ b/src/WixToolset.Data/Tuples/DuplicateFileTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition DuplicateFile = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.DuplicateFile, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(DuplicateFileTupleFields.FileKey), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(DuplicateFileTupleFields.Component_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(DuplicateFileTupleFields.File_), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(DuplicateFileTupleFields.DestName), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(DuplicateFileTupleFields.DestFolder), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(DuplicateFileTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum DuplicateFileTupleFields | ||
| 26 | { | ||
| 27 | FileKey, | ||
| 28 | Component_, | ||
| 29 | File_, | ||
| 30 | DestName, | ||
| 31 | DestFolder, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class DuplicateFileTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public DuplicateFileTuple() : base(TupleDefinitions.DuplicateFile, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public DuplicateFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.DuplicateFile, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[DuplicateFileTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string FileKey | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)DuplicateFileTupleFields.FileKey]?.Value; | ||
| 49 | set => this.Set((int)DuplicateFileTupleFields.FileKey, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string Component_ | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)DuplicateFileTupleFields.Component_]?.Value; | ||
| 55 | set => this.Set((int)DuplicateFileTupleFields.Component_, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string File_ | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)DuplicateFileTupleFields.File_]?.Value; | ||
| 61 | set => this.Set((int)DuplicateFileTupleFields.File_, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string DestName | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)DuplicateFileTupleFields.DestName]?.Value; | ||
| 67 | set => this.Set((int)DuplicateFileTupleFields.DestName, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string DestFolder | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)DuplicateFileTupleFields.DestFolder]?.Value; | ||
| 73 | set => this.Set((int)DuplicateFileTupleFields.DestFolder, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/EnvironmentTuple.cs b/src/WixToolset.Data/Tuples/EnvironmentTuple.cs new file mode 100644 index 00000000..9ee05a19 --- /dev/null +++ b/src/WixToolset.Data/Tuples/EnvironmentTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Environment = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Environment, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(EnvironmentTupleFields.Environment), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(EnvironmentTupleFields.Name), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(EnvironmentTupleFields.Value), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(EnvironmentTupleFields.Component_), IntermediateFieldType.String), | ||
| 17 | }, | ||
| 18 | typeof(EnvironmentTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum EnvironmentTupleFields | ||
| 25 | { | ||
| 26 | Environment, | ||
| 27 | Name, | ||
| 28 | Value, | ||
| 29 | Component_, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class EnvironmentTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public EnvironmentTuple() : base(TupleDefinitions.Environment, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public EnvironmentTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Environment, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[EnvironmentTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string Environment | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)EnvironmentTupleFields.Environment]?.Value; | ||
| 47 | set => this.Set((int)EnvironmentTupleFields.Environment, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public string Name | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)EnvironmentTupleFields.Name]?.Value; | ||
| 53 | set => this.Set((int)EnvironmentTupleFields.Name, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string Value | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)EnvironmentTupleFields.Value]?.Value; | ||
| 59 | set => this.Set((int)EnvironmentTupleFields.Value, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string Component_ | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)EnvironmentTupleFields.Component_]?.Value; | ||
| 65 | set => this.Set((int)EnvironmentTupleFields.Component_, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ErrorTuple.cs b/src/WixToolset.Data/Tuples/ErrorTuple.cs new file mode 100644 index 00000000..393d2d29 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ErrorTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Error = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Error, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ErrorTupleFields.Error), IntermediateFieldType.Number), | ||
| 14 | new IntermediateFieldDefinition(nameof(ErrorTupleFields.Message), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(ErrorTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum ErrorTupleFields | ||
| 23 | { | ||
| 24 | Error, | ||
| 25 | Message, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class ErrorTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public ErrorTuple() : base(TupleDefinitions.Error, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public ErrorTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Error, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[ErrorTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public int Error | ||
| 41 | { | ||
| 42 | get => (int)this.Fields[(int)ErrorTupleFields.Error]?.Value; | ||
| 43 | set => this.Set((int)ErrorTupleFields.Error, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Message | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)ErrorTupleFields.Message]?.Value; | ||
| 49 | set => this.Set((int)ErrorTupleFields.Message, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/EventMappingTuple.cs b/src/WixToolset.Data/Tuples/EventMappingTuple.cs new file mode 100644 index 00000000..e0e8da71 --- /dev/null +++ b/src/WixToolset.Data/Tuples/EventMappingTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition EventMapping = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.EventMapping, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(EventMappingTupleFields.Dialog_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(EventMappingTupleFields.Control_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(EventMappingTupleFields.Event), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(EventMappingTupleFields.Attribute), IntermediateFieldType.String), | ||
| 17 | }, | ||
| 18 | typeof(EventMappingTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum EventMappingTupleFields | ||
| 25 | { | ||
| 26 | Dialog_, | ||
| 27 | Control_, | ||
| 28 | Event, | ||
| 29 | Attribute, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class EventMappingTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public EventMappingTuple() : base(TupleDefinitions.EventMapping, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public EventMappingTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.EventMapping, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[EventMappingTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string Dialog_ | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)EventMappingTupleFields.Dialog_]?.Value; | ||
| 47 | set => this.Set((int)EventMappingTupleFields.Dialog_, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public string Control_ | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)EventMappingTupleFields.Control_]?.Value; | ||
| 53 | set => this.Set((int)EventMappingTupleFields.Control_, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string Event | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)EventMappingTupleFields.Event]?.Value; | ||
| 59 | set => this.Set((int)EventMappingTupleFields.Event, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string Attribute | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)EventMappingTupleFields.Attribute]?.Value; | ||
| 65 | set => this.Set((int)EventMappingTupleFields.Attribute, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ExtensionTuple.cs b/src/WixToolset.Data/Tuples/ExtensionTuple.cs new file mode 100644 index 00000000..e3ef1675 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ExtensionTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Extension = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Extension, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ExtensionTupleFields.Extension), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ExtensionTupleFields.Component_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ExtensionTupleFields.ProgId_), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ExtensionTupleFields.MIME_), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(ExtensionTupleFields.Feature_), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(ExtensionTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum ExtensionTupleFields | ||
| 26 | { | ||
| 27 | Extension, | ||
| 28 | Component_, | ||
| 29 | ProgId_, | ||
| 30 | MIME_, | ||
| 31 | Feature_, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class ExtensionTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public ExtensionTuple() : base(TupleDefinitions.Extension, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public ExtensionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Extension, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[ExtensionTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string Extension | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)ExtensionTupleFields.Extension]?.Value; | ||
| 49 | set => this.Set((int)ExtensionTupleFields.Extension, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string Component_ | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)ExtensionTupleFields.Component_]?.Value; | ||
| 55 | set => this.Set((int)ExtensionTupleFields.Component_, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string ProgId_ | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)ExtensionTupleFields.ProgId_]?.Value; | ||
| 61 | set => this.Set((int)ExtensionTupleFields.ProgId_, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string MIME_ | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)ExtensionTupleFields.MIME_]?.Value; | ||
| 67 | set => this.Set((int)ExtensionTupleFields.MIME_, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Feature_ | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)ExtensionTupleFields.Feature_]?.Value; | ||
| 73 | set => this.Set((int)ExtensionTupleFields.Feature_, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ExternalFilesTuple.cs b/src/WixToolset.Data/Tuples/ExternalFilesTuple.cs new file mode 100644 index 00000000..06e6d4ae --- /dev/null +++ b/src/WixToolset.Data/Tuples/ExternalFilesTuple.cs | |||
| @@ -0,0 +1,100 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ExternalFiles = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ExternalFiles, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ExternalFilesTupleFields.Family), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ExternalFilesTupleFields.FTK), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ExternalFilesTupleFields.FilePath), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ExternalFilesTupleFields.SymbolPaths), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(ExternalFilesTupleFields.IgnoreOffsets), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(ExternalFilesTupleFields.IgnoreLengths), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(ExternalFilesTupleFields.RetainOffsets), IntermediateFieldType.String), | ||
| 20 | new IntermediateFieldDefinition(nameof(ExternalFilesTupleFields.Order), IntermediateFieldType.Number), | ||
| 21 | }, | ||
| 22 | typeof(ExternalFilesTuple)); | ||
| 23 | } | ||
| 24 | } | ||
| 25 | |||
| 26 | namespace WixToolset.Data.Tuples | ||
| 27 | { | ||
| 28 | public enum ExternalFilesTupleFields | ||
| 29 | { | ||
| 30 | Family, | ||
| 31 | FTK, | ||
| 32 | FilePath, | ||
| 33 | SymbolPaths, | ||
| 34 | IgnoreOffsets, | ||
| 35 | IgnoreLengths, | ||
| 36 | RetainOffsets, | ||
| 37 | Order, | ||
| 38 | } | ||
| 39 | |||
| 40 | public class ExternalFilesTuple : IntermediateTuple | ||
| 41 | { | ||
| 42 | public ExternalFilesTuple() : base(TupleDefinitions.ExternalFiles, null, null) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public ExternalFilesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ExternalFiles, sourceLineNumber, id) | ||
| 47 | { | ||
| 48 | } | ||
| 49 | |||
| 50 | public IntermediateField this[ExternalFilesTupleFields index] => this.Fields[(int)index]; | ||
| 51 | |||
| 52 | public string Family | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)ExternalFilesTupleFields.Family]?.Value; | ||
| 55 | set => this.Set((int)ExternalFilesTupleFields.Family, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string FTK | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)ExternalFilesTupleFields.FTK]?.Value; | ||
| 61 | set => this.Set((int)ExternalFilesTupleFields.FTK, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string FilePath | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)ExternalFilesTupleFields.FilePath]?.Value; | ||
| 67 | set => this.Set((int)ExternalFilesTupleFields.FilePath, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string SymbolPaths | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)ExternalFilesTupleFields.SymbolPaths]?.Value; | ||
| 73 | set => this.Set((int)ExternalFilesTupleFields.SymbolPaths, value); | ||
| 74 | } | ||
| 75 | |||
| 76 | public string IgnoreOffsets | ||
| 77 | { | ||
| 78 | get => (string)this.Fields[(int)ExternalFilesTupleFields.IgnoreOffsets]?.Value; | ||
| 79 | set => this.Set((int)ExternalFilesTupleFields.IgnoreOffsets, value); | ||
| 80 | } | ||
| 81 | |||
| 82 | public string IgnoreLengths | ||
| 83 | { | ||
| 84 | get => (string)this.Fields[(int)ExternalFilesTupleFields.IgnoreLengths]?.Value; | ||
| 85 | set => this.Set((int)ExternalFilesTupleFields.IgnoreLengths, value); | ||
| 86 | } | ||
| 87 | |||
| 88 | public string RetainOffsets | ||
| 89 | { | ||
| 90 | get => (string)this.Fields[(int)ExternalFilesTupleFields.RetainOffsets]?.Value; | ||
| 91 | set => this.Set((int)ExternalFilesTupleFields.RetainOffsets, value); | ||
| 92 | } | ||
| 93 | |||
| 94 | public int Order | ||
| 95 | { | ||
| 96 | get => (int)this.Fields[(int)ExternalFilesTupleFields.Order]?.Value; | ||
| 97 | set => this.Set((int)ExternalFilesTupleFields.Order, value); | ||
| 98 | } | ||
| 99 | } | ||
| 100 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/FamilyFileRangesTuple.cs b/src/WixToolset.Data/Tuples/FamilyFileRangesTuple.cs new file mode 100644 index 00000000..5065c389 --- /dev/null +++ b/src/WixToolset.Data/Tuples/FamilyFileRangesTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition FamilyFileRanges = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.FamilyFileRanges, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(FamilyFileRangesTupleFields.Family), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(FamilyFileRangesTupleFields.FTK), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(FamilyFileRangesTupleFields.RetainOffsets), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(FamilyFileRangesTupleFields.RetainLengths), IntermediateFieldType.String), | ||
| 17 | }, | ||
| 18 | typeof(FamilyFileRangesTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum FamilyFileRangesTupleFields | ||
| 25 | { | ||
| 26 | Family, | ||
| 27 | FTK, | ||
| 28 | RetainOffsets, | ||
| 29 | RetainLengths, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class FamilyFileRangesTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public FamilyFileRangesTuple() : base(TupleDefinitions.FamilyFileRanges, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public FamilyFileRangesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.FamilyFileRanges, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[FamilyFileRangesTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string Family | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)FamilyFileRangesTupleFields.Family]?.Value; | ||
| 47 | set => this.Set((int)FamilyFileRangesTupleFields.Family, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public string FTK | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)FamilyFileRangesTupleFields.FTK]?.Value; | ||
| 53 | set => this.Set((int)FamilyFileRangesTupleFields.FTK, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string RetainOffsets | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)FamilyFileRangesTupleFields.RetainOffsets]?.Value; | ||
| 59 | set => this.Set((int)FamilyFileRangesTupleFields.RetainOffsets, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string RetainLengths | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)FamilyFileRangesTupleFields.RetainLengths]?.Value; | ||
| 65 | set => this.Set((int)FamilyFileRangesTupleFields.RetainLengths, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/FeatureComponentsTuple.cs b/src/WixToolset.Data/Tuples/FeatureComponentsTuple.cs new file mode 100644 index 00000000..e9d54c37 --- /dev/null +++ b/src/WixToolset.Data/Tuples/FeatureComponentsTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition FeatureComponents = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.FeatureComponents, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(FeatureComponentsTupleFields.Feature_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(FeatureComponentsTupleFields.Component_), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(FeatureComponentsTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum FeatureComponentsTupleFields | ||
| 23 | { | ||
| 24 | Feature_, | ||
| 25 | Component_, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class FeatureComponentsTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public FeatureComponentsTuple() : base(TupleDefinitions.FeatureComponents, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public FeatureComponentsTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.FeatureComponents, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[FeatureComponentsTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Feature_ | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)FeatureComponentsTupleFields.Feature_]?.Value; | ||
| 43 | set => this.Set((int)FeatureComponentsTupleFields.Feature_, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Component_ | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)FeatureComponentsTupleFields.Component_]?.Value; | ||
| 49 | set => this.Set((int)FeatureComponentsTupleFields.Component_, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/FeatureTuple.cs b/src/WixToolset.Data/Tuples/FeatureTuple.cs new file mode 100644 index 00000000..a04c339b --- /dev/null +++ b/src/WixToolset.Data/Tuples/FeatureTuple.cs | |||
| @@ -0,0 +1,100 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Feature = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Feature, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(FeatureTupleFields.Feature), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(FeatureTupleFields.Feature_Parent), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(FeatureTupleFields.Title), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(FeatureTupleFields.Description), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(FeatureTupleFields.Display), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(FeatureTupleFields.Level), IntermediateFieldType.Number), | ||
| 19 | new IntermediateFieldDefinition(nameof(FeatureTupleFields.Directory_), IntermediateFieldType.String), | ||
| 20 | new IntermediateFieldDefinition(nameof(FeatureTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 21 | }, | ||
| 22 | typeof(FeatureTuple)); | ||
| 23 | } | ||
| 24 | } | ||
| 25 | |||
| 26 | namespace WixToolset.Data.Tuples | ||
| 27 | { | ||
| 28 | public enum FeatureTupleFields | ||
| 29 | { | ||
| 30 | Feature, | ||
| 31 | Feature_Parent, | ||
| 32 | Title, | ||
| 33 | Description, | ||
| 34 | Display, | ||
| 35 | Level, | ||
| 36 | Directory_, | ||
| 37 | Attributes, | ||
| 38 | } | ||
| 39 | |||
| 40 | public class FeatureTuple : IntermediateTuple | ||
| 41 | { | ||
| 42 | public FeatureTuple() : base(TupleDefinitions.Feature, null, null) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public FeatureTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Feature, sourceLineNumber, id) | ||
| 47 | { | ||
| 48 | } | ||
| 49 | |||
| 50 | public IntermediateField this[FeatureTupleFields index] => this.Fields[(int)index]; | ||
| 51 | |||
| 52 | public string Feature | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)FeatureTupleFields.Feature]?.Value; | ||
| 55 | set => this.Set((int)FeatureTupleFields.Feature, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string Feature_Parent | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)FeatureTupleFields.Feature_Parent]?.Value; | ||
| 61 | set => this.Set((int)FeatureTupleFields.Feature_Parent, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string Title | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)FeatureTupleFields.Title]?.Value; | ||
| 67 | set => this.Set((int)FeatureTupleFields.Title, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Description | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)FeatureTupleFields.Description]?.Value; | ||
| 73 | set => this.Set((int)FeatureTupleFields.Description, value); | ||
| 74 | } | ||
| 75 | |||
| 76 | public int Display | ||
| 77 | { | ||
| 78 | get => (int)this.Fields[(int)FeatureTupleFields.Display]?.Value; | ||
| 79 | set => this.Set((int)FeatureTupleFields.Display, value); | ||
| 80 | } | ||
| 81 | |||
| 82 | public int Level | ||
| 83 | { | ||
| 84 | get => (int)this.Fields[(int)FeatureTupleFields.Level]?.Value; | ||
| 85 | set => this.Set((int)FeatureTupleFields.Level, value); | ||
| 86 | } | ||
| 87 | |||
| 88 | public string Directory_ | ||
| 89 | { | ||
| 90 | get => (string)this.Fields[(int)FeatureTupleFields.Directory_]?.Value; | ||
| 91 | set => this.Set((int)FeatureTupleFields.Directory_, value); | ||
| 92 | } | ||
| 93 | |||
| 94 | public int Attributes | ||
| 95 | { | ||
| 96 | get => (int)this.Fields[(int)FeatureTupleFields.Attributes]?.Value; | ||
| 97 | set => this.Set((int)FeatureTupleFields.Attributes, value); | ||
| 98 | } | ||
| 99 | } | ||
| 100 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/FileSFPCatalogTuple.cs b/src/WixToolset.Data/Tuples/FileSFPCatalogTuple.cs new file mode 100644 index 00000000..7409577f --- /dev/null +++ b/src/WixToolset.Data/Tuples/FileSFPCatalogTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition FileSFPCatalog = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.FileSFPCatalog, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(FileSFPCatalogTupleFields.File_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(FileSFPCatalogTupleFields.SFPCatalog_), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(FileSFPCatalogTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum FileSFPCatalogTupleFields | ||
| 23 | { | ||
| 24 | File_, | ||
| 25 | SFPCatalog_, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class FileSFPCatalogTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public FileSFPCatalogTuple() : base(TupleDefinitions.FileSFPCatalog, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public FileSFPCatalogTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.FileSFPCatalog, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[FileSFPCatalogTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string File_ | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)FileSFPCatalogTupleFields.File_]?.Value; | ||
| 43 | set => this.Set((int)FileSFPCatalogTupleFields.File_, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string SFPCatalog_ | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)FileSFPCatalogTupleFields.SFPCatalog_]?.Value; | ||
| 49 | set => this.Set((int)FileSFPCatalogTupleFields.SFPCatalog_, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/FileTuple.cs b/src/WixToolset.Data/Tuples/FileTuple.cs new file mode 100644 index 00000000..6c184b63 --- /dev/null +++ b/src/WixToolset.Data/Tuples/FileTuple.cs | |||
| @@ -0,0 +1,140 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition File = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.File, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(FileTupleFields.File), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(FileTupleFields.Component_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(FileTupleFields.ShortFileName), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(FileTupleFields.LongFileName), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(FileTupleFields.FileSize), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(FileTupleFields.Version), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(FileTupleFields.Language), IntermediateFieldType.String), | ||
| 20 | new IntermediateFieldDefinition(nameof(FileTupleFieldsOriginal.ReadOnly), IntermediateFieldType.Bool), | ||
| 21 | new IntermediateFieldDefinition(nameof(FileTupleFieldsOriginal.Hidden), IntermediateFieldType.Bool), | ||
| 22 | new IntermediateFieldDefinition(nameof(FileTupleFieldsOriginal.System), IntermediateFieldType.Bool), | ||
| 23 | new IntermediateFieldDefinition(nameof(FileTupleFieldsOriginal.Vital), IntermediateFieldType.Bool), | ||
| 24 | new IntermediateFieldDefinition(nameof(FileTupleFieldsOriginal.Checksum), IntermediateFieldType.Bool), | ||
| 25 | new IntermediateFieldDefinition(nameof(FileTupleFieldsOriginal.Compressed), IntermediateFieldType.Bool), | ||
| 26 | }, | ||
| 27 | typeof(FileTuple)); | ||
| 28 | } | ||
| 29 | } | ||
| 30 | |||
| 31 | namespace WixToolset.Data.Tuples | ||
| 32 | { | ||
| 33 | public enum FileTupleFields | ||
| 34 | { | ||
| 35 | File, | ||
| 36 | Component_, | ||
| 37 | ShortFileName, | ||
| 38 | LongFileName, | ||
| 39 | FileSize, | ||
| 40 | Version, | ||
| 41 | Language, | ||
| 42 | ReadOnly, | ||
| 43 | Hidden, | ||
| 44 | System, | ||
| 45 | Vital, | ||
| 46 | Checksum, | ||
| 47 | Compressed, | ||
| 48 | } | ||
| 49 | |||
| 50 | public class FileTuple : IntermediateTuple | ||
| 51 | { | ||
| 52 | public FileTuple() : base(TupleDefinitions.File, null, null) | ||
| 53 | { | ||
| 54 | } | ||
| 55 | |||
| 56 | public FileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.File, sourceLineNumber, id) | ||
| 57 | { | ||
| 58 | } | ||
| 59 | |||
| 60 | public IntermediateField this[FileTupleFields index] => this.Fields[(int)index]; | ||
| 61 | |||
| 62 | public string File | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)FileTupleFields.File]?.Value; | ||
| 65 | set => this.Set((int)FileTupleFields.File, value); | ||
| 66 | } | ||
| 67 | |||
| 68 | public string Component_ | ||
| 69 | { | ||
| 70 | get => (string)this.Fields[(int)FileTupleFields.Component_]?.Value; | ||
| 71 | set => this.Set((int)FileTupleFields.Component_, value); | ||
| 72 | } | ||
| 73 | |||
| 74 | public string ShortFileName | ||
| 75 | { | ||
| 76 | get => (string)this.Fields[(int)FileTupleFields.ShortFileName]?.Value; | ||
| 77 | set => this.Set((int)FileTupleFields.ShortFileName, value); | ||
| 78 | } | ||
| 79 | |||
| 80 | public string LongFileName | ||
| 81 | { | ||
| 82 | get => (string)this.Fields[(int)FileTupleFields.LongFileName]?.Value; | ||
| 83 | set => this.Set((int)FileTupleFields.LongFileName, value); | ||
| 84 | } | ||
| 85 | |||
| 86 | public int FileSize | ||
| 87 | { | ||
| 88 | get => (int)this.Fields[(int)FileTupleFields.FileSize]?.Value; | ||
| 89 | set => this.Set((int)FileTupleFields.FileSize, value); | ||
| 90 | } | ||
| 91 | |||
| 92 | public string Version | ||
| 93 | { | ||
| 94 | get => (string)this.Fields[(int)FileTupleFields.Version]?.Value; | ||
| 95 | set => this.Set((int)FileTupleFields.Version, value); | ||
| 96 | } | ||
| 97 | |||
| 98 | public string Language | ||
| 99 | { | ||
| 100 | get => (string)this.Fields[(int)FileTupleFields.Language]?.Value; | ||
| 101 | set => this.Set((int)FileTupleFields.Language, value); | ||
| 102 | } | ||
| 103 | |||
| 104 | public bool ReadOnly | ||
| 105 | { | ||
| 106 | get => (bool)this.Fields[(int)FileTupleFields.ReadOnly]?.Value; | ||
| 107 | set => this.Set((int)FileTupleFields.ReadOnly, value); | ||
| 108 | } | ||
| 109 | |||
| 110 | public bool Hidden | ||
| 111 | { | ||
| 112 | get => (bool)this.Fields[(int)FileTupleFields.Hidden]?.Value; | ||
| 113 | set => this.Set((int)FileTupleFields.Hidden, value); | ||
| 114 | } | ||
| 115 | |||
| 116 | public bool System | ||
| 117 | { | ||
| 118 | get => (bool)this.Fields[(int)FileTupleFields.System]?.Value; | ||
| 119 | set => this.Set((int)FileTupleFields.System, value); | ||
| 120 | } | ||
| 121 | |||
| 122 | public bool Vital | ||
| 123 | { | ||
| 124 | get => (bool)this.Fields[(int)FileTupleFields.Vital]?.Value; | ||
| 125 | set => this.Set((int)FileTupleFields.Vital, value); | ||
| 126 | } | ||
| 127 | |||
| 128 | public bool Checksum | ||
| 129 | { | ||
| 130 | get => (bool)this.Fields[(int)FileTupleFields.Checksum]?.Value; | ||
| 131 | set => this.Set((int)FileTupleFields.Checksum, value); | ||
| 132 | } | ||
| 133 | |||
| 134 | public bool? Compressed | ||
| 135 | { | ||
| 136 | get => (bool?)this.Fields[(int)FileTupleFields.Compressed]?.Value; | ||
| 137 | set => this.Set((int)FileTupleFields.Compressed, value); | ||
| 138 | } | ||
| 139 | } | ||
| 140 | } | ||
diff --git a/src/WixToolset.Data/Tuples/FontTuple.cs b/src/WixToolset.Data/Tuples/FontTuple.cs new file mode 100644 index 00000000..97550148 --- /dev/null +++ b/src/WixToolset.Data/Tuples/FontTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Font = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Font, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(FontTupleFields.File_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(FontTupleFields.FontTitle), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(FontTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum FontTupleFields | ||
| 23 | { | ||
| 24 | File_, | ||
| 25 | FontTitle, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class FontTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public FontTuple() : base(TupleDefinitions.Font, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public FontTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Font, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[FontTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string File_ | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)FontTupleFields.File_]?.Value; | ||
| 43 | set => this.Set((int)FontTupleFields.File_, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string FontTitle | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)FontTupleFields.FontTitle]?.Value; | ||
| 49 | set => this.Set((int)FontTupleFields.FontTitle, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/IconTuple.cs b/src/WixToolset.Data/Tuples/IconTuple.cs new file mode 100644 index 00000000..0ccd9a53 --- /dev/null +++ b/src/WixToolset.Data/Tuples/IconTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Icon = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Icon, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(IconTupleFields.Name), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(IconTupleFields.Data), IntermediateFieldType.Path), | ||
| 15 | }, | ||
| 16 | typeof(IconTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum IconTupleFields | ||
| 23 | { | ||
| 24 | Name, | ||
| 25 | Data, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class IconTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public IconTuple() : base(TupleDefinitions.Icon, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public IconTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Icon, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[IconTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Name | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)IconTupleFields.Name]?.Value; | ||
| 43 | set => this.Set((int)IconTupleFields.Name, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Data | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)IconTupleFields.Data]?.Value; | ||
| 49 | set => this.Set((int)IconTupleFields.Data, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ImageFamiliesTuple.cs b/src/WixToolset.Data/Tuples/ImageFamiliesTuple.cs new file mode 100644 index 00000000..7ce884ca --- /dev/null +++ b/src/WixToolset.Data/Tuples/ImageFamiliesTuple.cs | |||
| @@ -0,0 +1,84 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ImageFamilies = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ImageFamilies, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ImageFamiliesTupleFields.Family), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ImageFamiliesTupleFields.MediaSrcPropName), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ImageFamiliesTupleFields.MediaDiskId), IntermediateFieldType.Number), | ||
| 16 | new IntermediateFieldDefinition(nameof(ImageFamiliesTupleFields.FileSequenceStart), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(ImageFamiliesTupleFields.DiskPrompt), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(ImageFamiliesTupleFields.VolumeLabel), IntermediateFieldType.String), | ||
| 19 | }, | ||
| 20 | typeof(ImageFamiliesTuple)); | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace WixToolset.Data.Tuples | ||
| 25 | { | ||
| 26 | public enum ImageFamiliesTupleFields | ||
| 27 | { | ||
| 28 | Family, | ||
| 29 | MediaSrcPropName, | ||
| 30 | MediaDiskId, | ||
| 31 | FileSequenceStart, | ||
| 32 | DiskPrompt, | ||
| 33 | VolumeLabel, | ||
| 34 | } | ||
| 35 | |||
| 36 | public class ImageFamiliesTuple : IntermediateTuple | ||
| 37 | { | ||
| 38 | public ImageFamiliesTuple() : base(TupleDefinitions.ImageFamilies, null, null) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public ImageFamiliesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ImageFamilies, sourceLineNumber, id) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public IntermediateField this[ImageFamiliesTupleFields index] => this.Fields[(int)index]; | ||
| 47 | |||
| 48 | public string Family | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)ImageFamiliesTupleFields.Family]?.Value; | ||
| 51 | set => this.Set((int)ImageFamiliesTupleFields.Family, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string MediaSrcPropName | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)ImageFamiliesTupleFields.MediaSrcPropName]?.Value; | ||
| 57 | set => this.Set((int)ImageFamiliesTupleFields.MediaSrcPropName, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public int MediaDiskId | ||
| 61 | { | ||
| 62 | get => (int)this.Fields[(int)ImageFamiliesTupleFields.MediaDiskId]?.Value; | ||
| 63 | set => this.Set((int)ImageFamiliesTupleFields.MediaDiskId, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public int FileSequenceStart | ||
| 67 | { | ||
| 68 | get => (int)this.Fields[(int)ImageFamiliesTupleFields.FileSequenceStart]?.Value; | ||
| 69 | set => this.Set((int)ImageFamiliesTupleFields.FileSequenceStart, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public string DiskPrompt | ||
| 73 | { | ||
| 74 | get => (string)this.Fields[(int)ImageFamiliesTupleFields.DiskPrompt]?.Value; | ||
| 75 | set => this.Set((int)ImageFamiliesTupleFields.DiskPrompt, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public string VolumeLabel | ||
| 79 | { | ||
| 80 | get => (string)this.Fields[(int)ImageFamiliesTupleFields.VolumeLabel]?.Value; | ||
| 81 | set => this.Set((int)ImageFamiliesTupleFields.VolumeLabel, value); | ||
| 82 | } | ||
| 83 | } | ||
| 84 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/IniFileTuple.cs b/src/WixToolset.Data/Tuples/IniFileTuple.cs new file mode 100644 index 00000000..29fb3264 --- /dev/null +++ b/src/WixToolset.Data/Tuples/IniFileTuple.cs | |||
| @@ -0,0 +1,100 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition IniFile = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.IniFile, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(IniFileTupleFields.IniFile), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(IniFileTupleFields.FileName), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(IniFileTupleFields.DirProperty), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(IniFileTupleFields.Section), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(IniFileTupleFields.Key), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(IniFileTupleFields.Value), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(IniFileTupleFields.Action), IntermediateFieldType.Number), | ||
| 20 | new IntermediateFieldDefinition(nameof(IniFileTupleFields.Component_), IntermediateFieldType.String), | ||
| 21 | }, | ||
| 22 | typeof(IniFileTuple)); | ||
| 23 | } | ||
| 24 | } | ||
| 25 | |||
| 26 | namespace WixToolset.Data.Tuples | ||
| 27 | { | ||
| 28 | public enum IniFileTupleFields | ||
| 29 | { | ||
| 30 | IniFile, | ||
| 31 | FileName, | ||
| 32 | DirProperty, | ||
| 33 | Section, | ||
| 34 | Key, | ||
| 35 | Value, | ||
| 36 | Action, | ||
| 37 | Component_, | ||
| 38 | } | ||
| 39 | |||
| 40 | public class IniFileTuple : IntermediateTuple | ||
| 41 | { | ||
| 42 | public IniFileTuple() : base(TupleDefinitions.IniFile, null, null) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public IniFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.IniFile, sourceLineNumber, id) | ||
| 47 | { | ||
| 48 | } | ||
| 49 | |||
| 50 | public IntermediateField this[IniFileTupleFields index] => this.Fields[(int)index]; | ||
| 51 | |||
| 52 | public string IniFile | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)IniFileTupleFields.IniFile]?.Value; | ||
| 55 | set => this.Set((int)IniFileTupleFields.IniFile, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string FileName | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)IniFileTupleFields.FileName]?.Value; | ||
| 61 | set => this.Set((int)IniFileTupleFields.FileName, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string DirProperty | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)IniFileTupleFields.DirProperty]?.Value; | ||
| 67 | set => this.Set((int)IniFileTupleFields.DirProperty, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Section | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)IniFileTupleFields.Section]?.Value; | ||
| 73 | set => this.Set((int)IniFileTupleFields.Section, value); | ||
| 74 | } | ||
| 75 | |||
| 76 | public string Key | ||
| 77 | { | ||
| 78 | get => (string)this.Fields[(int)IniFileTupleFields.Key]?.Value; | ||
| 79 | set => this.Set((int)IniFileTupleFields.Key, value); | ||
| 80 | } | ||
| 81 | |||
| 82 | public string Value | ||
| 83 | { | ||
| 84 | get => (string)this.Fields[(int)IniFileTupleFields.Value]?.Value; | ||
| 85 | set => this.Set((int)IniFileTupleFields.Value, value); | ||
| 86 | } | ||
| 87 | |||
| 88 | public int Action | ||
| 89 | { | ||
| 90 | get => (int)this.Fields[(int)IniFileTupleFields.Action]?.Value; | ||
| 91 | set => this.Set((int)IniFileTupleFields.Action, value); | ||
| 92 | } | ||
| 93 | |||
| 94 | public string Component_ | ||
| 95 | { | ||
| 96 | get => (string)this.Fields[(int)IniFileTupleFields.Component_]?.Value; | ||
| 97 | set => this.Set((int)IniFileTupleFields.Component_, value); | ||
| 98 | } | ||
| 99 | } | ||
| 100 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/IniLocatorTuple.cs b/src/WixToolset.Data/Tuples/IniLocatorTuple.cs new file mode 100644 index 00000000..f956ee5f --- /dev/null +++ b/src/WixToolset.Data/Tuples/IniLocatorTuple.cs | |||
| @@ -0,0 +1,84 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition IniLocator = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.IniLocator, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(IniLocatorTupleFields.Signature_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(IniLocatorTupleFields.FileName), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(IniLocatorTupleFields.Section), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(IniLocatorTupleFields.Key), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(IniLocatorTupleFields.Field), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(IniLocatorTupleFields.Type), IntermediateFieldType.Number), | ||
| 19 | }, | ||
| 20 | typeof(IniLocatorTuple)); | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace WixToolset.Data.Tuples | ||
| 25 | { | ||
| 26 | public enum IniLocatorTupleFields | ||
| 27 | { | ||
| 28 | Signature_, | ||
| 29 | FileName, | ||
| 30 | Section, | ||
| 31 | Key, | ||
| 32 | Field, | ||
| 33 | Type, | ||
| 34 | } | ||
| 35 | |||
| 36 | public class IniLocatorTuple : IntermediateTuple | ||
| 37 | { | ||
| 38 | public IniLocatorTuple() : base(TupleDefinitions.IniLocator, null, null) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IniLocatorTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.IniLocator, sourceLineNumber, id) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public IntermediateField this[IniLocatorTupleFields index] => this.Fields[(int)index]; | ||
| 47 | |||
| 48 | public string Signature_ | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)IniLocatorTupleFields.Signature_]?.Value; | ||
| 51 | set => this.Set((int)IniLocatorTupleFields.Signature_, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string FileName | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)IniLocatorTupleFields.FileName]?.Value; | ||
| 57 | set => this.Set((int)IniLocatorTupleFields.FileName, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public string Section | ||
| 61 | { | ||
| 62 | get => (string)this.Fields[(int)IniLocatorTupleFields.Section]?.Value; | ||
| 63 | set => this.Set((int)IniLocatorTupleFields.Section, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public string Key | ||
| 67 | { | ||
| 68 | get => (string)this.Fields[(int)IniLocatorTupleFields.Key]?.Value; | ||
| 69 | set => this.Set((int)IniLocatorTupleFields.Key, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public int Field | ||
| 73 | { | ||
| 74 | get => (int)this.Fields[(int)IniLocatorTupleFields.Field]?.Value; | ||
| 75 | set => this.Set((int)IniLocatorTupleFields.Field, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public int Type | ||
| 79 | { | ||
| 80 | get => (int)this.Fields[(int)IniLocatorTupleFields.Type]?.Value; | ||
| 81 | set => this.Set((int)IniLocatorTupleFields.Type, value); | ||
| 82 | } | ||
| 83 | } | ||
| 84 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/InstallExecuteSequenceTuple.cs b/src/WixToolset.Data/Tuples/InstallExecuteSequenceTuple.cs new file mode 100644 index 00000000..390faf9d --- /dev/null +++ b/src/WixToolset.Data/Tuples/InstallExecuteSequenceTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition InstallExecuteSequence = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.InstallExecuteSequence, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(InstallExecuteSequenceTupleFields.Action), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(InstallExecuteSequenceTupleFields.Condition), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(InstallExecuteSequenceTupleFields.Sequence), IntermediateFieldType.Number), | ||
| 16 | }, | ||
| 17 | typeof(InstallExecuteSequenceTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum InstallExecuteSequenceTupleFields | ||
| 24 | { | ||
| 25 | Action, | ||
| 26 | Condition, | ||
| 27 | Sequence, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class InstallExecuteSequenceTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public InstallExecuteSequenceTuple() : base(TupleDefinitions.InstallExecuteSequence, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public InstallExecuteSequenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.InstallExecuteSequence, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[InstallExecuteSequenceTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string Action | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)InstallExecuteSequenceTupleFields.Action]?.Value; | ||
| 45 | set => this.Set((int)InstallExecuteSequenceTupleFields.Action, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Condition | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)InstallExecuteSequenceTupleFields.Condition]?.Value; | ||
| 51 | set => this.Set((int)InstallExecuteSequenceTupleFields.Condition, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public int Sequence | ||
| 55 | { | ||
| 56 | get => (int)this.Fields[(int)InstallExecuteSequenceTupleFields.Sequence]?.Value; | ||
| 57 | set => this.Set((int)InstallExecuteSequenceTupleFields.Sequence, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/InstallUISequenceTuple.cs b/src/WixToolset.Data/Tuples/InstallUISequenceTuple.cs new file mode 100644 index 00000000..07409c37 --- /dev/null +++ b/src/WixToolset.Data/Tuples/InstallUISequenceTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition InstallUISequence = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.InstallUISequence, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(InstallUISequenceTupleFields.Action), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(InstallUISequenceTupleFields.Condition), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(InstallUISequenceTupleFields.Sequence), IntermediateFieldType.Number), | ||
| 16 | }, | ||
| 17 | typeof(InstallUISequenceTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum InstallUISequenceTupleFields | ||
| 24 | { | ||
| 25 | Action, | ||
| 26 | Condition, | ||
| 27 | Sequence, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class InstallUISequenceTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public InstallUISequenceTuple() : base(TupleDefinitions.InstallUISequence, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public InstallUISequenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.InstallUISequence, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[InstallUISequenceTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string Action | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)InstallUISequenceTupleFields.Action]?.Value; | ||
| 45 | set => this.Set((int)InstallUISequenceTupleFields.Action, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Condition | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)InstallUISequenceTupleFields.Condition]?.Value; | ||
| 51 | set => this.Set((int)InstallUISequenceTupleFields.Condition, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public int Sequence | ||
| 55 | { | ||
| 56 | get => (int)this.Fields[(int)InstallUISequenceTupleFields.Sequence]?.Value; | ||
| 57 | set => this.Set((int)InstallUISequenceTupleFields.Sequence, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/IsolatedComponentTuple.cs b/src/WixToolset.Data/Tuples/IsolatedComponentTuple.cs new file mode 100644 index 00000000..5fb4f8aa --- /dev/null +++ b/src/WixToolset.Data/Tuples/IsolatedComponentTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition IsolatedComponent = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.IsolatedComponent, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(IsolatedComponentTupleFields.Component_Shared), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(IsolatedComponentTupleFields.Component_Application), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(IsolatedComponentTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum IsolatedComponentTupleFields | ||
| 23 | { | ||
| 24 | Component_Shared, | ||
| 25 | Component_Application, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class IsolatedComponentTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public IsolatedComponentTuple() : base(TupleDefinitions.IsolatedComponent, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public IsolatedComponentTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.IsolatedComponent, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[IsolatedComponentTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Component_Shared | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)IsolatedComponentTupleFields.Component_Shared]?.Value; | ||
| 43 | set => this.Set((int)IsolatedComponentTupleFields.Component_Shared, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Component_Application | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)IsolatedComponentTupleFields.Component_Application]?.Value; | ||
| 49 | set => this.Set((int)IsolatedComponentTupleFields.Component_Application, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/LaunchConditionTuple.cs b/src/WixToolset.Data/Tuples/LaunchConditionTuple.cs new file mode 100644 index 00000000..f5718607 --- /dev/null +++ b/src/WixToolset.Data/Tuples/LaunchConditionTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition LaunchCondition = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.LaunchCondition, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(LaunchConditionTupleFields.Condition), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(LaunchConditionTupleFields.Description), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(LaunchConditionTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum LaunchConditionTupleFields | ||
| 23 | { | ||
| 24 | Condition, | ||
| 25 | Description, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class LaunchConditionTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public LaunchConditionTuple() : base(TupleDefinitions.LaunchCondition, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public LaunchConditionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.LaunchCondition, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[LaunchConditionTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Condition | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)LaunchConditionTupleFields.Condition]?.Value; | ||
| 43 | set => this.Set((int)LaunchConditionTupleFields.Condition, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Description | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)LaunchConditionTupleFields.Description]?.Value; | ||
| 49 | set => this.Set((int)LaunchConditionTupleFields.Description, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ListBoxTuple.cs b/src/WixToolset.Data/Tuples/ListBoxTuple.cs new file mode 100644 index 00000000..71702c07 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ListBoxTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ListBox = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ListBox, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ListBoxTupleFields.Property), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ListBoxTupleFields.Order), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(ListBoxTupleFields.Value), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ListBoxTupleFields.Text), IntermediateFieldType.String), | ||
| 17 | }, | ||
| 18 | typeof(ListBoxTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum ListBoxTupleFields | ||
| 25 | { | ||
| 26 | Property, | ||
| 27 | Order, | ||
| 28 | Value, | ||
| 29 | Text, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class ListBoxTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public ListBoxTuple() : base(TupleDefinitions.ListBox, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public ListBoxTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ListBox, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[ListBoxTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string Property | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)ListBoxTupleFields.Property]?.Value; | ||
| 47 | set => this.Set((int)ListBoxTupleFields.Property, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public int Order | ||
| 51 | { | ||
| 52 | get => (int)this.Fields[(int)ListBoxTupleFields.Order]?.Value; | ||
| 53 | set => this.Set((int)ListBoxTupleFields.Order, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string Value | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)ListBoxTupleFields.Value]?.Value; | ||
| 59 | set => this.Set((int)ListBoxTupleFields.Value, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string Text | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)ListBoxTupleFields.Text]?.Value; | ||
| 65 | set => this.Set((int)ListBoxTupleFields.Text, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ListViewTuple.cs b/src/WixToolset.Data/Tuples/ListViewTuple.cs new file mode 100644 index 00000000..3b1f4c88 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ListViewTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ListView = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ListView, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ListViewTupleFields.Property), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ListViewTupleFields.Order), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(ListViewTupleFields.Value), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ListViewTupleFields.Text), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(ListViewTupleFields.Binary_), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(ListViewTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum ListViewTupleFields | ||
| 26 | { | ||
| 27 | Property, | ||
| 28 | Order, | ||
| 29 | Value, | ||
| 30 | Text, | ||
| 31 | Binary_, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class ListViewTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public ListViewTuple() : base(TupleDefinitions.ListView, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public ListViewTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ListView, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[ListViewTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string Property | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)ListViewTupleFields.Property]?.Value; | ||
| 49 | set => this.Set((int)ListViewTupleFields.Property, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public int Order | ||
| 53 | { | ||
| 54 | get => (int)this.Fields[(int)ListViewTupleFields.Order]?.Value; | ||
| 55 | set => this.Set((int)ListViewTupleFields.Order, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string Value | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)ListViewTupleFields.Value]?.Value; | ||
| 61 | set => this.Set((int)ListViewTupleFields.Value, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string Text | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)ListViewTupleFields.Text]?.Value; | ||
| 67 | set => this.Set((int)ListViewTupleFields.Text, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Binary_ | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)ListViewTupleFields.Binary_]?.Value; | ||
| 73 | set => this.Set((int)ListViewTupleFields.Binary_, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/LockPermissionsTuple.cs b/src/WixToolset.Data/Tuples/LockPermissionsTuple.cs new file mode 100644 index 00000000..cff4aaa0 --- /dev/null +++ b/src/WixToolset.Data/Tuples/LockPermissionsTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition LockPermissions = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.LockPermissions, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(LockPermissionsTupleFields.LockObject), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(LockPermissionsTupleFields.Table), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(LockPermissionsTupleFields.Domain), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(LockPermissionsTupleFields.User), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(LockPermissionsTupleFields.Permission), IntermediateFieldType.Number), | ||
| 18 | }, | ||
| 19 | typeof(LockPermissionsTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum LockPermissionsTupleFields | ||
| 26 | { | ||
| 27 | LockObject, | ||
| 28 | Table, | ||
| 29 | Domain, | ||
| 30 | User, | ||
| 31 | Permission, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class LockPermissionsTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public LockPermissionsTuple() : base(TupleDefinitions.LockPermissions, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public LockPermissionsTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.LockPermissions, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[LockPermissionsTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string LockObject | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)LockPermissionsTupleFields.LockObject]?.Value; | ||
| 49 | set => this.Set((int)LockPermissionsTupleFields.LockObject, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string Table | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)LockPermissionsTupleFields.Table]?.Value; | ||
| 55 | set => this.Set((int)LockPermissionsTupleFields.Table, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string Domain | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)LockPermissionsTupleFields.Domain]?.Value; | ||
| 61 | set => this.Set((int)LockPermissionsTupleFields.Domain, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string User | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)LockPermissionsTupleFields.User]?.Value; | ||
| 67 | set => this.Set((int)LockPermissionsTupleFields.User, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public int Permission | ||
| 71 | { | ||
| 72 | get => (int)this.Fields[(int)LockPermissionsTupleFields.Permission]?.Value; | ||
| 73 | set => this.Set((int)LockPermissionsTupleFields.Permission, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MIMETuple.cs b/src/WixToolset.Data/Tuples/MIMETuple.cs new file mode 100644 index 00000000..8453275e --- /dev/null +++ b/src/WixToolset.Data/Tuples/MIMETuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MIME = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MIME, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MIMETupleFields.ContentType), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MIMETupleFields.Extension_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(MIMETupleFields.CLSID), IntermediateFieldType.String), | ||
| 16 | }, | ||
| 17 | typeof(MIMETuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum MIMETupleFields | ||
| 24 | { | ||
| 25 | ContentType, | ||
| 26 | Extension_, | ||
| 27 | CLSID, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class MIMETuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public MIMETuple() : base(TupleDefinitions.MIME, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public MIMETuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MIME, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[MIMETupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string ContentType | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)MIMETupleFields.ContentType]?.Value; | ||
| 45 | set => this.Set((int)MIMETupleFields.ContentType, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Extension_ | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)MIMETupleFields.Extension_]?.Value; | ||
| 51 | set => this.Set((int)MIMETupleFields.Extension_, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string CLSID | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)MIMETupleFields.CLSID]?.Value; | ||
| 57 | set => this.Set((int)MIMETupleFields.CLSID, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MediaTuple.cs b/src/WixToolset.Data/Tuples/MediaTuple.cs new file mode 100644 index 00000000..305080c3 --- /dev/null +++ b/src/WixToolset.Data/Tuples/MediaTuple.cs | |||
| @@ -0,0 +1,84 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Media = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Media, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MediaTupleFields.DiskId), IntermediateFieldType.Number), | ||
| 14 | new IntermediateFieldDefinition(nameof(MediaTupleFields.LastSequence), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(MediaTupleFields.DiskPrompt), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(MediaTupleFields.Cabinet), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(MediaTupleFields.VolumeLabel), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(MediaTupleFields.Source), IntermediateFieldType.String), | ||
| 19 | }, | ||
| 20 | typeof(MediaTuple)); | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace WixToolset.Data.Tuples | ||
| 25 | { | ||
| 26 | public enum MediaTupleFields | ||
| 27 | { | ||
| 28 | DiskId, | ||
| 29 | LastSequence, | ||
| 30 | DiskPrompt, | ||
| 31 | Cabinet, | ||
| 32 | VolumeLabel, | ||
| 33 | Source, | ||
| 34 | } | ||
| 35 | |||
| 36 | public class MediaTuple : IntermediateTuple | ||
| 37 | { | ||
| 38 | public MediaTuple() : base(TupleDefinitions.Media, null, null) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public MediaTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Media, sourceLineNumber, id) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public IntermediateField this[MediaTupleFields index] => this.Fields[(int)index]; | ||
| 47 | |||
| 48 | public int DiskId | ||
| 49 | { | ||
| 50 | get => (int)this.Fields[(int)MediaTupleFields.DiskId]?.Value; | ||
| 51 | set => this.Set((int)MediaTupleFields.DiskId, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public int LastSequence | ||
| 55 | { | ||
| 56 | get => (int)this.Fields[(int)MediaTupleFields.LastSequence]?.Value; | ||
| 57 | set => this.Set((int)MediaTupleFields.LastSequence, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public string DiskPrompt | ||
| 61 | { | ||
| 62 | get => (string)this.Fields[(int)MediaTupleFields.DiskPrompt]?.Value; | ||
| 63 | set => this.Set((int)MediaTupleFields.DiskPrompt, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public string Cabinet | ||
| 67 | { | ||
| 68 | get => (string)this.Fields[(int)MediaTupleFields.Cabinet]?.Value; | ||
| 69 | set => this.Set((int)MediaTupleFields.Cabinet, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public string VolumeLabel | ||
| 73 | { | ||
| 74 | get => (string)this.Fields[(int)MediaTupleFields.VolumeLabel]?.Value; | ||
| 75 | set => this.Set((int)MediaTupleFields.VolumeLabel, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public string Source | ||
| 79 | { | ||
| 80 | get => (string)this.Fields[(int)MediaTupleFields.Source]?.Value; | ||
| 81 | set => this.Set((int)MediaTupleFields.Source, value); | ||
| 82 | } | ||
| 83 | } | ||
| 84 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ModuleAdminExecuteSequenceTuple.cs b/src/WixToolset.Data/Tuples/ModuleAdminExecuteSequenceTuple.cs new file mode 100644 index 00000000..4f762214 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ModuleAdminExecuteSequenceTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ModuleAdminExecuteSequence = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ModuleAdminExecuteSequence, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ModuleAdminExecuteSequenceTupleFields.Action), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ModuleAdminExecuteSequenceTupleFields.Sequence), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(ModuleAdminExecuteSequenceTupleFields.BaseAction), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ModuleAdminExecuteSequenceTupleFields.After), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(ModuleAdminExecuteSequenceTupleFields.Condition), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(ModuleAdminExecuteSequenceTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum ModuleAdminExecuteSequenceTupleFields | ||
| 26 | { | ||
| 27 | Action, | ||
| 28 | Sequence, | ||
| 29 | BaseAction, | ||
| 30 | After, | ||
| 31 | Condition, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class ModuleAdminExecuteSequenceTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public ModuleAdminExecuteSequenceTuple() : base(TupleDefinitions.ModuleAdminExecuteSequence, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public ModuleAdminExecuteSequenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleAdminExecuteSequence, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[ModuleAdminExecuteSequenceTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string Action | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)ModuleAdminExecuteSequenceTupleFields.Action]?.Value; | ||
| 49 | set => this.Set((int)ModuleAdminExecuteSequenceTupleFields.Action, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public int Sequence | ||
| 53 | { | ||
| 54 | get => (int)this.Fields[(int)ModuleAdminExecuteSequenceTupleFields.Sequence]?.Value; | ||
| 55 | set => this.Set((int)ModuleAdminExecuteSequenceTupleFields.Sequence, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string BaseAction | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)ModuleAdminExecuteSequenceTupleFields.BaseAction]?.Value; | ||
| 61 | set => this.Set((int)ModuleAdminExecuteSequenceTupleFields.BaseAction, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public int After | ||
| 65 | { | ||
| 66 | get => (int)this.Fields[(int)ModuleAdminExecuteSequenceTupleFields.After]?.Value; | ||
| 67 | set => this.Set((int)ModuleAdminExecuteSequenceTupleFields.After, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Condition | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)ModuleAdminExecuteSequenceTupleFields.Condition]?.Value; | ||
| 73 | set => this.Set((int)ModuleAdminExecuteSequenceTupleFields.Condition, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ModuleAdminUISequenceTuple.cs b/src/WixToolset.Data/Tuples/ModuleAdminUISequenceTuple.cs new file mode 100644 index 00000000..bc873b72 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ModuleAdminUISequenceTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ModuleAdminUISequence = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ModuleAdminUISequence, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ModuleAdminUISequenceTupleFields.Action), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ModuleAdminUISequenceTupleFields.Sequence), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(ModuleAdminUISequenceTupleFields.BaseAction), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ModuleAdminUISequenceTupleFields.After), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(ModuleAdminUISequenceTupleFields.Condition), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(ModuleAdminUISequenceTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum ModuleAdminUISequenceTupleFields | ||
| 26 | { | ||
| 27 | Action, | ||
| 28 | Sequence, | ||
| 29 | BaseAction, | ||
| 30 | After, | ||
| 31 | Condition, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class ModuleAdminUISequenceTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public ModuleAdminUISequenceTuple() : base(TupleDefinitions.ModuleAdminUISequence, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public ModuleAdminUISequenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleAdminUISequence, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[ModuleAdminUISequenceTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string Action | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)ModuleAdminUISequenceTupleFields.Action]?.Value; | ||
| 49 | set => this.Set((int)ModuleAdminUISequenceTupleFields.Action, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public int Sequence | ||
| 53 | { | ||
| 54 | get => (int)this.Fields[(int)ModuleAdminUISequenceTupleFields.Sequence]?.Value; | ||
| 55 | set => this.Set((int)ModuleAdminUISequenceTupleFields.Sequence, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string BaseAction | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)ModuleAdminUISequenceTupleFields.BaseAction]?.Value; | ||
| 61 | set => this.Set((int)ModuleAdminUISequenceTupleFields.BaseAction, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public int After | ||
| 65 | { | ||
| 66 | get => (int)this.Fields[(int)ModuleAdminUISequenceTupleFields.After]?.Value; | ||
| 67 | set => this.Set((int)ModuleAdminUISequenceTupleFields.After, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Condition | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)ModuleAdminUISequenceTupleFields.Condition]?.Value; | ||
| 73 | set => this.Set((int)ModuleAdminUISequenceTupleFields.Condition, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ModuleAdvtExecuteSequenceTuple.cs b/src/WixToolset.Data/Tuples/ModuleAdvtExecuteSequenceTuple.cs new file mode 100644 index 00000000..2864be7e --- /dev/null +++ b/src/WixToolset.Data/Tuples/ModuleAdvtExecuteSequenceTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ModuleAdvtExecuteSequence = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ModuleAdvtExecuteSequence, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ModuleAdvtExecuteSequenceTupleFields.Action), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ModuleAdvtExecuteSequenceTupleFields.Sequence), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(ModuleAdvtExecuteSequenceTupleFields.BaseAction), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ModuleAdvtExecuteSequenceTupleFields.After), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(ModuleAdvtExecuteSequenceTupleFields.Condition), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(ModuleAdvtExecuteSequenceTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum ModuleAdvtExecuteSequenceTupleFields | ||
| 26 | { | ||
| 27 | Action, | ||
| 28 | Sequence, | ||
| 29 | BaseAction, | ||
| 30 | After, | ||
| 31 | Condition, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class ModuleAdvtExecuteSequenceTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public ModuleAdvtExecuteSequenceTuple() : base(TupleDefinitions.ModuleAdvtExecuteSequence, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public ModuleAdvtExecuteSequenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleAdvtExecuteSequence, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[ModuleAdvtExecuteSequenceTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string Action | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)ModuleAdvtExecuteSequenceTupleFields.Action]?.Value; | ||
| 49 | set => this.Set((int)ModuleAdvtExecuteSequenceTupleFields.Action, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public int Sequence | ||
| 53 | { | ||
| 54 | get => (int)this.Fields[(int)ModuleAdvtExecuteSequenceTupleFields.Sequence]?.Value; | ||
| 55 | set => this.Set((int)ModuleAdvtExecuteSequenceTupleFields.Sequence, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string BaseAction | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)ModuleAdvtExecuteSequenceTupleFields.BaseAction]?.Value; | ||
| 61 | set => this.Set((int)ModuleAdvtExecuteSequenceTupleFields.BaseAction, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public int After | ||
| 65 | { | ||
| 66 | get => (int)this.Fields[(int)ModuleAdvtExecuteSequenceTupleFields.After]?.Value; | ||
| 67 | set => this.Set((int)ModuleAdvtExecuteSequenceTupleFields.After, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Condition | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)ModuleAdvtExecuteSequenceTupleFields.Condition]?.Value; | ||
| 73 | set => this.Set((int)ModuleAdvtExecuteSequenceTupleFields.Condition, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ModuleComponentsTuple.cs b/src/WixToolset.Data/Tuples/ModuleComponentsTuple.cs new file mode 100644 index 00000000..24b9aab4 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ModuleComponentsTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ModuleComponents = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ModuleComponents, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ModuleComponentsTupleFields.Component), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ModuleComponentsTupleFields.ModuleID), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ModuleComponentsTupleFields.Language), IntermediateFieldType.Number), | ||
| 16 | }, | ||
| 17 | typeof(ModuleComponentsTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum ModuleComponentsTupleFields | ||
| 24 | { | ||
| 25 | Component, | ||
| 26 | ModuleID, | ||
| 27 | Language, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class ModuleComponentsTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public ModuleComponentsTuple() : base(TupleDefinitions.ModuleComponents, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public ModuleComponentsTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleComponents, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[ModuleComponentsTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string Component | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)ModuleComponentsTupleFields.Component]?.Value; | ||
| 45 | set => this.Set((int)ModuleComponentsTupleFields.Component, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string ModuleID | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)ModuleComponentsTupleFields.ModuleID]?.Value; | ||
| 51 | set => this.Set((int)ModuleComponentsTupleFields.ModuleID, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public int Language | ||
| 55 | { | ||
| 56 | get => (int)this.Fields[(int)ModuleComponentsTupleFields.Language]?.Value; | ||
| 57 | set => this.Set((int)ModuleComponentsTupleFields.Language, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ModuleConfigurationTuple.cs b/src/WixToolset.Data/Tuples/ModuleConfigurationTuple.cs new file mode 100644 index 00000000..b3c4cd7f --- /dev/null +++ b/src/WixToolset.Data/Tuples/ModuleConfigurationTuple.cs | |||
| @@ -0,0 +1,116 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ModuleConfiguration = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ModuleConfiguration, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.Name), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.Format), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.Type), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.ContextData), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.DefaultValue), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 19 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.DisplayName), IntermediateFieldType.String), | ||
| 20 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.Description), IntermediateFieldType.String), | ||
| 21 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.HelpLocation), IntermediateFieldType.String), | ||
| 22 | new IntermediateFieldDefinition(nameof(ModuleConfigurationTupleFields.HelpKeyword), IntermediateFieldType.String), | ||
| 23 | }, | ||
| 24 | typeof(ModuleConfigurationTuple)); | ||
| 25 | } | ||
| 26 | } | ||
| 27 | |||
| 28 | namespace WixToolset.Data.Tuples | ||
| 29 | { | ||
| 30 | public enum ModuleConfigurationTupleFields | ||
| 31 | { | ||
| 32 | Name, | ||
| 33 | Format, | ||
| 34 | Type, | ||
| 35 | ContextData, | ||
| 36 | DefaultValue, | ||
| 37 | Attributes, | ||
| 38 | DisplayName, | ||
| 39 | Description, | ||
| 40 | HelpLocation, | ||
| 41 | HelpKeyword, | ||
| 42 | } | ||
| 43 | |||
| 44 | public class ModuleConfigurationTuple : IntermediateTuple | ||
| 45 | { | ||
| 46 | public ModuleConfigurationTuple() : base(TupleDefinitions.ModuleConfiguration, null, null) | ||
| 47 | { | ||
| 48 | } | ||
| 49 | |||
| 50 | public ModuleConfigurationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleConfiguration, sourceLineNumber, id) | ||
| 51 | { | ||
| 52 | } | ||
| 53 | |||
| 54 | public IntermediateField this[ModuleConfigurationTupleFields index] => this.Fields[(int)index]; | ||
| 55 | |||
| 56 | public string Name | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)ModuleConfigurationTupleFields.Name]?.Value; | ||
| 59 | set => this.Set((int)ModuleConfigurationTupleFields.Name, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public int Format | ||
| 63 | { | ||
| 64 | get => (int)this.Fields[(int)ModuleConfigurationTupleFields.Format]?.Value; | ||
| 65 | set => this.Set((int)ModuleConfigurationTupleFields.Format, value); | ||
| 66 | } | ||
| 67 | |||
| 68 | public string Type | ||
| 69 | { | ||
| 70 | get => (string)this.Fields[(int)ModuleConfigurationTupleFields.Type]?.Value; | ||
| 71 | set => this.Set((int)ModuleConfigurationTupleFields.Type, value); | ||
| 72 | } | ||
| 73 | |||
| 74 | public string ContextData | ||
| 75 | { | ||
| 76 | get => (string)this.Fields[(int)ModuleConfigurationTupleFields.ContextData]?.Value; | ||
| 77 | set => this.Set((int)ModuleConfigurationTupleFields.ContextData, value); | ||
| 78 | } | ||
| 79 | |||
| 80 | public string DefaultValue | ||
| 81 | { | ||
| 82 | get => (string)this.Fields[(int)ModuleConfigurationTupleFields.DefaultValue]?.Value; | ||
| 83 | set => this.Set((int)ModuleConfigurationTupleFields.DefaultValue, value); | ||
| 84 | } | ||
| 85 | |||
| 86 | public int Attributes | ||
| 87 | { | ||
| 88 | get => (int)this.Fields[(int)ModuleConfigurationTupleFields.Attributes]?.Value; | ||
| 89 | set => this.Set((int)ModuleConfigurationTupleFields.Attributes, value); | ||
| 90 | } | ||
| 91 | |||
| 92 | public string DisplayName | ||
| 93 | { | ||
| 94 | get => (string)this.Fields[(int)ModuleConfigurationTupleFields.DisplayName]?.Value; | ||
| 95 | set => this.Set((int)ModuleConfigurationTupleFields.DisplayName, value); | ||
| 96 | } | ||
| 97 | |||
| 98 | public string Description | ||
| 99 | { | ||
| 100 | get => (string)this.Fields[(int)ModuleConfigurationTupleFields.Description]?.Value; | ||
| 101 | set => this.Set((int)ModuleConfigurationTupleFields.Description, value); | ||
| 102 | } | ||
| 103 | |||
| 104 | public string HelpLocation | ||
| 105 | { | ||
| 106 | get => (string)this.Fields[(int)ModuleConfigurationTupleFields.HelpLocation]?.Value; | ||
| 107 | set => this.Set((int)ModuleConfigurationTupleFields.HelpLocation, value); | ||
| 108 | } | ||
| 109 | |||
| 110 | public string HelpKeyword | ||
| 111 | { | ||
| 112 | get => (string)this.Fields[(int)ModuleConfigurationTupleFields.HelpKeyword]?.Value; | ||
| 113 | set => this.Set((int)ModuleConfigurationTupleFields.HelpKeyword, value); | ||
| 114 | } | ||
| 115 | } | ||
| 116 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ModuleDependencyTuple.cs b/src/WixToolset.Data/Tuples/ModuleDependencyTuple.cs new file mode 100644 index 00000000..ed887207 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ModuleDependencyTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ModuleDependency = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ModuleDependency, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ModuleDependencyTupleFields.ModuleID), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ModuleDependencyTupleFields.ModuleLanguage), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(ModuleDependencyTupleFields.RequiredID), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ModuleDependencyTupleFields.RequiredLanguage), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(ModuleDependencyTupleFields.RequiredVersion), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(ModuleDependencyTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum ModuleDependencyTupleFields | ||
| 26 | { | ||
| 27 | ModuleID, | ||
| 28 | ModuleLanguage, | ||
| 29 | RequiredID, | ||
| 30 | RequiredLanguage, | ||
| 31 | RequiredVersion, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class ModuleDependencyTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public ModuleDependencyTuple() : base(TupleDefinitions.ModuleDependency, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public ModuleDependencyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleDependency, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[ModuleDependencyTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string ModuleID | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)ModuleDependencyTupleFields.ModuleID]?.Value; | ||
| 49 | set => this.Set((int)ModuleDependencyTupleFields.ModuleID, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public int ModuleLanguage | ||
| 53 | { | ||
| 54 | get => (int)this.Fields[(int)ModuleDependencyTupleFields.ModuleLanguage]?.Value; | ||
| 55 | set => this.Set((int)ModuleDependencyTupleFields.ModuleLanguage, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string RequiredID | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)ModuleDependencyTupleFields.RequiredID]?.Value; | ||
| 61 | set => this.Set((int)ModuleDependencyTupleFields.RequiredID, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public int RequiredLanguage | ||
| 65 | { | ||
| 66 | get => (int)this.Fields[(int)ModuleDependencyTupleFields.RequiredLanguage]?.Value; | ||
| 67 | set => this.Set((int)ModuleDependencyTupleFields.RequiredLanguage, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string RequiredVersion | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)ModuleDependencyTupleFields.RequiredVersion]?.Value; | ||
| 73 | set => this.Set((int)ModuleDependencyTupleFields.RequiredVersion, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ModuleExclusionTuple.cs b/src/WixToolset.Data/Tuples/ModuleExclusionTuple.cs new file mode 100644 index 00000000..968fc2cd --- /dev/null +++ b/src/WixToolset.Data/Tuples/ModuleExclusionTuple.cs | |||
| @@ -0,0 +1,84 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ModuleExclusion = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ModuleExclusion, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ModuleExclusionTupleFields.ModuleID), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ModuleExclusionTupleFields.ModuleLanguage), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(ModuleExclusionTupleFields.ExcludedID), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ModuleExclusionTupleFields.ExcludedLanguage), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(ModuleExclusionTupleFields.ExcludedMinVersion), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(ModuleExclusionTupleFields.ExcludedMaxVersion), IntermediateFieldType.String), | ||
| 19 | }, | ||
| 20 | typeof(ModuleExclusionTuple)); | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace WixToolset.Data.Tuples | ||
| 25 | { | ||
| 26 | public enum ModuleExclusionTupleFields | ||
| 27 | { | ||
| 28 | ModuleID, | ||
| 29 | ModuleLanguage, | ||
| 30 | ExcludedID, | ||
| 31 | ExcludedLanguage, | ||
| 32 | ExcludedMinVersion, | ||
| 33 | ExcludedMaxVersion, | ||
| 34 | } | ||
| 35 | |||
| 36 | public class ModuleExclusionTuple : IntermediateTuple | ||
| 37 | { | ||
| 38 | public ModuleExclusionTuple() : base(TupleDefinitions.ModuleExclusion, null, null) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public ModuleExclusionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleExclusion, sourceLineNumber, id) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public IntermediateField this[ModuleExclusionTupleFields index] => this.Fields[(int)index]; | ||
| 47 | |||
| 48 | public string ModuleID | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)ModuleExclusionTupleFields.ModuleID]?.Value; | ||
| 51 | set => this.Set((int)ModuleExclusionTupleFields.ModuleID, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public int ModuleLanguage | ||
| 55 | { | ||
| 56 | get => (int)this.Fields[(int)ModuleExclusionTupleFields.ModuleLanguage]?.Value; | ||
| 57 | set => this.Set((int)ModuleExclusionTupleFields.ModuleLanguage, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public string ExcludedID | ||
| 61 | { | ||
| 62 | get => (string)this.Fields[(int)ModuleExclusionTupleFields.ExcludedID]?.Value; | ||
| 63 | set => this.Set((int)ModuleExclusionTupleFields.ExcludedID, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public int ExcludedLanguage | ||
| 67 | { | ||
| 68 | get => (int)this.Fields[(int)ModuleExclusionTupleFields.ExcludedLanguage]?.Value; | ||
| 69 | set => this.Set((int)ModuleExclusionTupleFields.ExcludedLanguage, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public string ExcludedMinVersion | ||
| 73 | { | ||
| 74 | get => (string)this.Fields[(int)ModuleExclusionTupleFields.ExcludedMinVersion]?.Value; | ||
| 75 | set => this.Set((int)ModuleExclusionTupleFields.ExcludedMinVersion, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public string ExcludedMaxVersion | ||
| 79 | { | ||
| 80 | get => (string)this.Fields[(int)ModuleExclusionTupleFields.ExcludedMaxVersion]?.Value; | ||
| 81 | set => this.Set((int)ModuleExclusionTupleFields.ExcludedMaxVersion, value); | ||
| 82 | } | ||
| 83 | } | ||
| 84 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ModuleIgnoreTableTuple.cs b/src/WixToolset.Data/Tuples/ModuleIgnoreTableTuple.cs new file mode 100644 index 00000000..ec82c94b --- /dev/null +++ b/src/WixToolset.Data/Tuples/ModuleIgnoreTableTuple.cs | |||
| @@ -0,0 +1,44 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ModuleIgnoreTable = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ModuleIgnoreTable, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ModuleIgnoreTableTupleFields.Table), IntermediateFieldType.String), | ||
| 14 | }, | ||
| 15 | typeof(ModuleIgnoreTableTuple)); | ||
| 16 | } | ||
| 17 | } | ||
| 18 | |||
| 19 | namespace WixToolset.Data.Tuples | ||
| 20 | { | ||
| 21 | public enum ModuleIgnoreTableTupleFields | ||
| 22 | { | ||
| 23 | Table, | ||
| 24 | } | ||
| 25 | |||
| 26 | public class ModuleIgnoreTableTuple : IntermediateTuple | ||
| 27 | { | ||
| 28 | public ModuleIgnoreTableTuple() : base(TupleDefinitions.ModuleIgnoreTable, null, null) | ||
| 29 | { | ||
| 30 | } | ||
| 31 | |||
| 32 | public ModuleIgnoreTableTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleIgnoreTable, sourceLineNumber, id) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public IntermediateField this[ModuleIgnoreTableTupleFields index] => this.Fields[(int)index]; | ||
| 37 | |||
| 38 | public string Table | ||
| 39 | { | ||
| 40 | get => (string)this.Fields[(int)ModuleIgnoreTableTupleFields.Table]?.Value; | ||
| 41 | set => this.Set((int)ModuleIgnoreTableTupleFields.Table, value); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ModuleInstallExecuteSequenceTuple.cs b/src/WixToolset.Data/Tuples/ModuleInstallExecuteSequenceTuple.cs new file mode 100644 index 00000000..22bb678c --- /dev/null +++ b/src/WixToolset.Data/Tuples/ModuleInstallExecuteSequenceTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ModuleInstallExecuteSequence = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ModuleInstallExecuteSequence, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ModuleInstallExecuteSequenceTupleFields.Action), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ModuleInstallExecuteSequenceTupleFields.Sequence), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(ModuleInstallExecuteSequenceTupleFields.BaseAction), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ModuleInstallExecuteSequenceTupleFields.After), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(ModuleInstallExecuteSequenceTupleFields.Condition), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(ModuleInstallExecuteSequenceTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum ModuleInstallExecuteSequenceTupleFields | ||
| 26 | { | ||
| 27 | Action, | ||
| 28 | Sequence, | ||
| 29 | BaseAction, | ||
| 30 | After, | ||
| 31 | Condition, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class ModuleInstallExecuteSequenceTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public ModuleInstallExecuteSequenceTuple() : base(TupleDefinitions.ModuleInstallExecuteSequence, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public ModuleInstallExecuteSequenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleInstallExecuteSequence, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[ModuleInstallExecuteSequenceTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string Action | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)ModuleInstallExecuteSequenceTupleFields.Action]?.Value; | ||
| 49 | set => this.Set((int)ModuleInstallExecuteSequenceTupleFields.Action, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public int Sequence | ||
| 53 | { | ||
| 54 | get => (int)this.Fields[(int)ModuleInstallExecuteSequenceTupleFields.Sequence]?.Value; | ||
| 55 | set => this.Set((int)ModuleInstallExecuteSequenceTupleFields.Sequence, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string BaseAction | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)ModuleInstallExecuteSequenceTupleFields.BaseAction]?.Value; | ||
| 61 | set => this.Set((int)ModuleInstallExecuteSequenceTupleFields.BaseAction, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public int After | ||
| 65 | { | ||
| 66 | get => (int)this.Fields[(int)ModuleInstallExecuteSequenceTupleFields.After]?.Value; | ||
| 67 | set => this.Set((int)ModuleInstallExecuteSequenceTupleFields.After, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Condition | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)ModuleInstallExecuteSequenceTupleFields.Condition]?.Value; | ||
| 73 | set => this.Set((int)ModuleInstallExecuteSequenceTupleFields.Condition, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ModuleInstallUISequenceTuple.cs b/src/WixToolset.Data/Tuples/ModuleInstallUISequenceTuple.cs new file mode 100644 index 00000000..cc6e0c76 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ModuleInstallUISequenceTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ModuleInstallUISequence = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ModuleInstallUISequence, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ModuleInstallUISequenceTupleFields.Action), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ModuleInstallUISequenceTupleFields.Sequence), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(ModuleInstallUISequenceTupleFields.BaseAction), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ModuleInstallUISequenceTupleFields.After), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(ModuleInstallUISequenceTupleFields.Condition), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(ModuleInstallUISequenceTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum ModuleInstallUISequenceTupleFields | ||
| 26 | { | ||
| 27 | Action, | ||
| 28 | Sequence, | ||
| 29 | BaseAction, | ||
| 30 | After, | ||
| 31 | Condition, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class ModuleInstallUISequenceTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public ModuleInstallUISequenceTuple() : base(TupleDefinitions.ModuleInstallUISequence, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public ModuleInstallUISequenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleInstallUISequence, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[ModuleInstallUISequenceTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string Action | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)ModuleInstallUISequenceTupleFields.Action]?.Value; | ||
| 49 | set => this.Set((int)ModuleInstallUISequenceTupleFields.Action, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public int Sequence | ||
| 53 | { | ||
| 54 | get => (int)this.Fields[(int)ModuleInstallUISequenceTupleFields.Sequence]?.Value; | ||
| 55 | set => this.Set((int)ModuleInstallUISequenceTupleFields.Sequence, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string BaseAction | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)ModuleInstallUISequenceTupleFields.BaseAction]?.Value; | ||
| 61 | set => this.Set((int)ModuleInstallUISequenceTupleFields.BaseAction, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public int After | ||
| 65 | { | ||
| 66 | get => (int)this.Fields[(int)ModuleInstallUISequenceTupleFields.After]?.Value; | ||
| 67 | set => this.Set((int)ModuleInstallUISequenceTupleFields.After, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Condition | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)ModuleInstallUISequenceTupleFields.Condition]?.Value; | ||
| 73 | set => this.Set((int)ModuleInstallUISequenceTupleFields.Condition, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ModuleSignatureTuple.cs b/src/WixToolset.Data/Tuples/ModuleSignatureTuple.cs new file mode 100644 index 00000000..836f769b --- /dev/null +++ b/src/WixToolset.Data/Tuples/ModuleSignatureTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ModuleSignature = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ModuleSignature, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ModuleSignatureTupleFields.ModuleID), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ModuleSignatureTupleFields.Language), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(ModuleSignatureTupleFields.Version), IntermediateFieldType.String), | ||
| 16 | }, | ||
| 17 | typeof(ModuleSignatureTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum ModuleSignatureTupleFields | ||
| 24 | { | ||
| 25 | ModuleID, | ||
| 26 | Language, | ||
| 27 | Version, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class ModuleSignatureTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public ModuleSignatureTuple() : base(TupleDefinitions.ModuleSignature, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public ModuleSignatureTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleSignature, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[ModuleSignatureTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string ModuleID | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)ModuleSignatureTupleFields.ModuleID]?.Value; | ||
| 45 | set => this.Set((int)ModuleSignatureTupleFields.ModuleID, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public int Language | ||
| 49 | { | ||
| 50 | get => (int)this.Fields[(int)ModuleSignatureTupleFields.Language]?.Value; | ||
| 51 | set => this.Set((int)ModuleSignatureTupleFields.Language, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string Version | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)ModuleSignatureTupleFields.Version]?.Value; | ||
| 57 | set => this.Set((int)ModuleSignatureTupleFields.Version, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs b/src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs new file mode 100644 index 00000000..609670f0 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ModuleSubstitutionTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ModuleSubstitution = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ModuleSubstitution, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionTupleFields.Table), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionTupleFields.Row), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionTupleFields.Column), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ModuleSubstitutionTupleFields.Value), IntermediateFieldType.String), | ||
| 17 | }, | ||
| 18 | typeof(ModuleSubstitutionTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum ModuleSubstitutionTupleFields | ||
| 25 | { | ||
| 26 | Table, | ||
| 27 | Row, | ||
| 28 | Column, | ||
| 29 | Value, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class ModuleSubstitutionTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public ModuleSubstitutionTuple() : base(TupleDefinitions.ModuleSubstitution, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public ModuleSubstitutionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ModuleSubstitution, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[ModuleSubstitutionTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string Table | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Table]?.Value; | ||
| 47 | set => this.Set((int)ModuleSubstitutionTupleFields.Table, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public string Row | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Row]?.Value; | ||
| 53 | set => this.Set((int)ModuleSubstitutionTupleFields.Row, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string Column | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Column]?.Value; | ||
| 59 | set => this.Set((int)ModuleSubstitutionTupleFields.Column, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string Value | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)ModuleSubstitutionTupleFields.Value]?.Value; | ||
| 65 | set => this.Set((int)ModuleSubstitutionTupleFields.Value, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MoveFileTuple.cs b/src/WixToolset.Data/Tuples/MoveFileTuple.cs new file mode 100644 index 00000000..404d39b3 --- /dev/null +++ b/src/WixToolset.Data/Tuples/MoveFileTuple.cs | |||
| @@ -0,0 +1,92 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MoveFile = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MoveFile, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MoveFileTupleFields.FileKey), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MoveFileTupleFields.Component_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(MoveFileTupleFields.SourceName), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(MoveFileTupleFields.DestName), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(MoveFileTupleFields.SourceFolder), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(MoveFileTupleFields.DestFolder), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(MoveFileTupleFields.Options), IntermediateFieldType.Number), | ||
| 20 | }, | ||
| 21 | typeof(MoveFileTuple)); | ||
| 22 | } | ||
| 23 | } | ||
| 24 | |||
| 25 | namespace WixToolset.Data.Tuples | ||
| 26 | { | ||
| 27 | public enum MoveFileTupleFields | ||
| 28 | { | ||
| 29 | FileKey, | ||
| 30 | Component_, | ||
| 31 | SourceName, | ||
| 32 | DestName, | ||
| 33 | SourceFolder, | ||
| 34 | DestFolder, | ||
| 35 | Options, | ||
| 36 | } | ||
| 37 | |||
| 38 | public class MoveFileTuple : IntermediateTuple | ||
| 39 | { | ||
| 40 | public MoveFileTuple() : base(TupleDefinitions.MoveFile, null, null) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public MoveFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MoveFile, sourceLineNumber, id) | ||
| 45 | { | ||
| 46 | } | ||
| 47 | |||
| 48 | public IntermediateField this[MoveFileTupleFields index] => this.Fields[(int)index]; | ||
| 49 | |||
| 50 | public string FileKey | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)MoveFileTupleFields.FileKey]?.Value; | ||
| 53 | set => this.Set((int)MoveFileTupleFields.FileKey, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string Component_ | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)MoveFileTupleFields.Component_]?.Value; | ||
| 59 | set => this.Set((int)MoveFileTupleFields.Component_, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string SourceName | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)MoveFileTupleFields.SourceName]?.Value; | ||
| 65 | set => this.Set((int)MoveFileTupleFields.SourceName, value); | ||
| 66 | } | ||
| 67 | |||
| 68 | public string DestName | ||
| 69 | { | ||
| 70 | get => (string)this.Fields[(int)MoveFileTupleFields.DestName]?.Value; | ||
| 71 | set => this.Set((int)MoveFileTupleFields.DestName, value); | ||
| 72 | } | ||
| 73 | |||
| 74 | public string SourceFolder | ||
| 75 | { | ||
| 76 | get => (string)this.Fields[(int)MoveFileTupleFields.SourceFolder]?.Value; | ||
| 77 | set => this.Set((int)MoveFileTupleFields.SourceFolder, value); | ||
| 78 | } | ||
| 79 | |||
| 80 | public string DestFolder | ||
| 81 | { | ||
| 82 | get => (string)this.Fields[(int)MoveFileTupleFields.DestFolder]?.Value; | ||
| 83 | set => this.Set((int)MoveFileTupleFields.DestFolder, value); | ||
| 84 | } | ||
| 85 | |||
| 86 | public int Options | ||
| 87 | { | ||
| 88 | get => (int)this.Fields[(int)MoveFileTupleFields.Options]?.Value; | ||
| 89 | set => this.Set((int)MoveFileTupleFields.Options, value); | ||
| 90 | } | ||
| 91 | } | ||
| 92 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MsiAssemblyNameTuple.cs b/src/WixToolset.Data/Tuples/MsiAssemblyNameTuple.cs new file mode 100644 index 00000000..a8e97b00 --- /dev/null +++ b/src/WixToolset.Data/Tuples/MsiAssemblyNameTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MsiAssemblyName = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MsiAssemblyName, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MsiAssemblyNameTupleFields.Component_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MsiAssemblyNameTupleFields.Name), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(MsiAssemblyNameTupleFields.Value), IntermediateFieldType.String), | ||
| 16 | }, | ||
| 17 | typeof(MsiAssemblyNameTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum MsiAssemblyNameTupleFields | ||
| 24 | { | ||
| 25 | Component_, | ||
| 26 | Name, | ||
| 27 | Value, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class MsiAssemblyNameTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public MsiAssemblyNameTuple() : base(TupleDefinitions.MsiAssemblyName, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public MsiAssemblyNameTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiAssemblyName, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[MsiAssemblyNameTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string Component_ | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)MsiAssemblyNameTupleFields.Component_]?.Value; | ||
| 45 | set => this.Set((int)MsiAssemblyNameTupleFields.Component_, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Name | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)MsiAssemblyNameTupleFields.Name]?.Value; | ||
| 51 | set => this.Set((int)MsiAssemblyNameTupleFields.Name, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string Value | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)MsiAssemblyNameTupleFields.Value]?.Value; | ||
| 57 | set => this.Set((int)MsiAssemblyNameTupleFields.Value, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MsiAssemblyTuple.cs b/src/WixToolset.Data/Tuples/MsiAssemblyTuple.cs new file mode 100644 index 00000000..0cd814d8 --- /dev/null +++ b/src/WixToolset.Data/Tuples/MsiAssemblyTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MsiAssembly = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MsiAssembly, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MsiAssemblyTupleFields.Component_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MsiAssemblyTupleFields.Feature_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(MsiAssemblyTupleFields.File_Manifest), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(MsiAssemblyTupleFields.File_Application), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(MsiAssemblyTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 18 | }, | ||
| 19 | typeof(MsiAssemblyTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum MsiAssemblyTupleFields | ||
| 26 | { | ||
| 27 | Component_, | ||
| 28 | Feature_, | ||
| 29 | File_Manifest, | ||
| 30 | File_Application, | ||
| 31 | Attributes, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class MsiAssemblyTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public MsiAssemblyTuple() : base(TupleDefinitions.MsiAssembly, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public MsiAssemblyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiAssembly, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[MsiAssemblyTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string Component_ | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)MsiAssemblyTupleFields.Component_]?.Value; | ||
| 49 | set => this.Set((int)MsiAssemblyTupleFields.Component_, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string Feature_ | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)MsiAssemblyTupleFields.Feature_]?.Value; | ||
| 55 | set => this.Set((int)MsiAssemblyTupleFields.Feature_, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string File_Manifest | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)MsiAssemblyTupleFields.File_Manifest]?.Value; | ||
| 61 | set => this.Set((int)MsiAssemblyTupleFields.File_Manifest, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string File_Application | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)MsiAssemblyTupleFields.File_Application]?.Value; | ||
| 67 | set => this.Set((int)MsiAssemblyTupleFields.File_Application, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public int Attributes | ||
| 71 | { | ||
| 72 | get => (int)this.Fields[(int)MsiAssemblyTupleFields.Attributes]?.Value; | ||
| 73 | set => this.Set((int)MsiAssemblyTupleFields.Attributes, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MsiDigitalCertificateTuple.cs b/src/WixToolset.Data/Tuples/MsiDigitalCertificateTuple.cs new file mode 100644 index 00000000..fb949afb --- /dev/null +++ b/src/WixToolset.Data/Tuples/MsiDigitalCertificateTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MsiDigitalCertificate = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MsiDigitalCertificate, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MsiDigitalCertificateTupleFields.DigitalCertificate), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MsiDigitalCertificateTupleFields.CertData), IntermediateFieldType.Path), | ||
| 15 | }, | ||
| 16 | typeof(MsiDigitalCertificateTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum MsiDigitalCertificateTupleFields | ||
| 23 | { | ||
| 24 | DigitalCertificate, | ||
| 25 | CertData, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class MsiDigitalCertificateTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public MsiDigitalCertificateTuple() : base(TupleDefinitions.MsiDigitalCertificate, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public MsiDigitalCertificateTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiDigitalCertificate, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[MsiDigitalCertificateTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string DigitalCertificate | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)MsiDigitalCertificateTupleFields.DigitalCertificate]?.Value; | ||
| 43 | set => this.Set((int)MsiDigitalCertificateTupleFields.DigitalCertificate, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string CertData | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)MsiDigitalCertificateTupleFields.CertData]?.Value; | ||
| 49 | set => this.Set((int)MsiDigitalCertificateTupleFields.CertData, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MsiDigitalSignatureTuple.cs b/src/WixToolset.Data/Tuples/MsiDigitalSignatureTuple.cs new file mode 100644 index 00000000..8b30c53c --- /dev/null +++ b/src/WixToolset.Data/Tuples/MsiDigitalSignatureTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MsiDigitalSignature = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MsiDigitalSignature, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MsiDigitalSignatureTupleFields.Table), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MsiDigitalSignatureTupleFields.SignObject), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(MsiDigitalSignatureTupleFields.DigitalCertificate_), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(MsiDigitalSignatureTupleFields.Hash), IntermediateFieldType.Path), | ||
| 17 | }, | ||
| 18 | typeof(MsiDigitalSignatureTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum MsiDigitalSignatureTupleFields | ||
| 25 | { | ||
| 26 | Table, | ||
| 27 | SignObject, | ||
| 28 | DigitalCertificate_, | ||
| 29 | Hash, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class MsiDigitalSignatureTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public MsiDigitalSignatureTuple() : base(TupleDefinitions.MsiDigitalSignature, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public MsiDigitalSignatureTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiDigitalSignature, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[MsiDigitalSignatureTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string Table | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)MsiDigitalSignatureTupleFields.Table]?.Value; | ||
| 47 | set => this.Set((int)MsiDigitalSignatureTupleFields.Table, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public string SignObject | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)MsiDigitalSignatureTupleFields.SignObject]?.Value; | ||
| 53 | set => this.Set((int)MsiDigitalSignatureTupleFields.SignObject, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string DigitalCertificate_ | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)MsiDigitalSignatureTupleFields.DigitalCertificate_]?.Value; | ||
| 59 | set => this.Set((int)MsiDigitalSignatureTupleFields.DigitalCertificate_, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string Hash | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)MsiDigitalSignatureTupleFields.Hash]?.Value; | ||
| 65 | set => this.Set((int)MsiDigitalSignatureTupleFields.Hash, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MsiEmbeddedChainerTuple.cs b/src/WixToolset.Data/Tuples/MsiEmbeddedChainerTuple.cs new file mode 100644 index 00000000..7f1b7a2a --- /dev/null +++ b/src/WixToolset.Data/Tuples/MsiEmbeddedChainerTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MsiEmbeddedChainer = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MsiEmbeddedChainer, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerTupleFields.MsiEmbeddedChainer), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerTupleFields.Condition), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerTupleFields.CommandLine), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerTupleFields.Source), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(MsiEmbeddedChainerTupleFields.Type), IntermediateFieldType.Number), | ||
| 18 | }, | ||
| 19 | typeof(MsiEmbeddedChainerTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum MsiEmbeddedChainerTupleFields | ||
| 26 | { | ||
| 27 | MsiEmbeddedChainer, | ||
| 28 | Condition, | ||
| 29 | CommandLine, | ||
| 30 | Source, | ||
| 31 | Type, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class MsiEmbeddedChainerTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public MsiEmbeddedChainerTuple() : base(TupleDefinitions.MsiEmbeddedChainer, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public MsiEmbeddedChainerTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiEmbeddedChainer, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[MsiEmbeddedChainerTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string MsiEmbeddedChainer | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)MsiEmbeddedChainerTupleFields.MsiEmbeddedChainer]?.Value; | ||
| 49 | set => this.Set((int)MsiEmbeddedChainerTupleFields.MsiEmbeddedChainer, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string Condition | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)MsiEmbeddedChainerTupleFields.Condition]?.Value; | ||
| 55 | set => this.Set((int)MsiEmbeddedChainerTupleFields.Condition, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string CommandLine | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)MsiEmbeddedChainerTupleFields.CommandLine]?.Value; | ||
| 61 | set => this.Set((int)MsiEmbeddedChainerTupleFields.CommandLine, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string Source | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)MsiEmbeddedChainerTupleFields.Source]?.Value; | ||
| 67 | set => this.Set((int)MsiEmbeddedChainerTupleFields.Source, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public int Type | ||
| 71 | { | ||
| 72 | get => (int)this.Fields[(int)MsiEmbeddedChainerTupleFields.Type]?.Value; | ||
| 73 | set => this.Set((int)MsiEmbeddedChainerTupleFields.Type, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MsiEmbeddedUITuple.cs b/src/WixToolset.Data/Tuples/MsiEmbeddedUITuple.cs new file mode 100644 index 00000000..82deb53a --- /dev/null +++ b/src/WixToolset.Data/Tuples/MsiEmbeddedUITuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MsiEmbeddedUI = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MsiEmbeddedUI, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MsiEmbeddedUITupleFields.MsiEmbeddedUI), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MsiEmbeddedUITupleFields.FileName), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(MsiEmbeddedUITupleFields.Attributes), IntermediateFieldType.Number), | ||
| 16 | new IntermediateFieldDefinition(nameof(MsiEmbeddedUITupleFields.MessageFilter), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(MsiEmbeddedUITupleFields.Data), IntermediateFieldType.Path), | ||
| 18 | }, | ||
| 19 | typeof(MsiEmbeddedUITuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum MsiEmbeddedUITupleFields | ||
| 26 | { | ||
| 27 | MsiEmbeddedUI, | ||
| 28 | FileName, | ||
| 29 | Attributes, | ||
| 30 | MessageFilter, | ||
| 31 | Data, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class MsiEmbeddedUITuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public MsiEmbeddedUITuple() : base(TupleDefinitions.MsiEmbeddedUI, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public MsiEmbeddedUITuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiEmbeddedUI, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[MsiEmbeddedUITupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string MsiEmbeddedUI | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)MsiEmbeddedUITupleFields.MsiEmbeddedUI]?.Value; | ||
| 49 | set => this.Set((int)MsiEmbeddedUITupleFields.MsiEmbeddedUI, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string FileName | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)MsiEmbeddedUITupleFields.FileName]?.Value; | ||
| 55 | set => this.Set((int)MsiEmbeddedUITupleFields.FileName, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public int Attributes | ||
| 59 | { | ||
| 60 | get => (int)this.Fields[(int)MsiEmbeddedUITupleFields.Attributes]?.Value; | ||
| 61 | set => this.Set((int)MsiEmbeddedUITupleFields.Attributes, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public int MessageFilter | ||
| 65 | { | ||
| 66 | get => (int)this.Fields[(int)MsiEmbeddedUITupleFields.MessageFilter]?.Value; | ||
| 67 | set => this.Set((int)MsiEmbeddedUITupleFields.MessageFilter, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Data | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)MsiEmbeddedUITupleFields.Data]?.Value; | ||
| 73 | set => this.Set((int)MsiEmbeddedUITupleFields.Data, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MsiFileHashTuple.cs b/src/WixToolset.Data/Tuples/MsiFileHashTuple.cs new file mode 100644 index 00000000..2850bc22 --- /dev/null +++ b/src/WixToolset.Data/Tuples/MsiFileHashTuple.cs | |||
| @@ -0,0 +1,84 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MsiFileHash = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MsiFileHash, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MsiFileHashTupleFields.File_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MsiFileHashTupleFields.Options), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(MsiFileHashTupleFields.HashPart1), IntermediateFieldType.Number), | ||
| 16 | new IntermediateFieldDefinition(nameof(MsiFileHashTupleFields.HashPart2), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(MsiFileHashTupleFields.HashPart3), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(MsiFileHashTupleFields.HashPart4), IntermediateFieldType.Number), | ||
| 19 | }, | ||
| 20 | typeof(MsiFileHashTuple)); | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace WixToolset.Data.Tuples | ||
| 25 | { | ||
| 26 | public enum MsiFileHashTupleFields | ||
| 27 | { | ||
| 28 | File_, | ||
| 29 | Options, | ||
| 30 | HashPart1, | ||
| 31 | HashPart2, | ||
| 32 | HashPart3, | ||
| 33 | HashPart4, | ||
| 34 | } | ||
| 35 | |||
| 36 | public class MsiFileHashTuple : IntermediateTuple | ||
| 37 | { | ||
| 38 | public MsiFileHashTuple() : base(TupleDefinitions.MsiFileHash, null, null) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public MsiFileHashTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiFileHash, sourceLineNumber, id) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public IntermediateField this[MsiFileHashTupleFields index] => this.Fields[(int)index]; | ||
| 47 | |||
| 48 | public string File_ | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)MsiFileHashTupleFields.File_]?.Value; | ||
| 51 | set => this.Set((int)MsiFileHashTupleFields.File_, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public int Options | ||
| 55 | { | ||
| 56 | get => (int)this.Fields[(int)MsiFileHashTupleFields.Options]?.Value; | ||
| 57 | set => this.Set((int)MsiFileHashTupleFields.Options, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public int HashPart1 | ||
| 61 | { | ||
| 62 | get => (int)this.Fields[(int)MsiFileHashTupleFields.HashPart1]?.Value; | ||
| 63 | set => this.Set((int)MsiFileHashTupleFields.HashPart1, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public int HashPart2 | ||
| 67 | { | ||
| 68 | get => (int)this.Fields[(int)MsiFileHashTupleFields.HashPart2]?.Value; | ||
| 69 | set => this.Set((int)MsiFileHashTupleFields.HashPart2, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public int HashPart3 | ||
| 73 | { | ||
| 74 | get => (int)this.Fields[(int)MsiFileHashTupleFields.HashPart3]?.Value; | ||
| 75 | set => this.Set((int)MsiFileHashTupleFields.HashPart3, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public int HashPart4 | ||
| 79 | { | ||
| 80 | get => (int)this.Fields[(int)MsiFileHashTupleFields.HashPart4]?.Value; | ||
| 81 | set => this.Set((int)MsiFileHashTupleFields.HashPart4, value); | ||
| 82 | } | ||
| 83 | } | ||
| 84 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MsiLockPermissionsExTuple.cs b/src/WixToolset.Data/Tuples/MsiLockPermissionsExTuple.cs new file mode 100644 index 00000000..14fc62a3 --- /dev/null +++ b/src/WixToolset.Data/Tuples/MsiLockPermissionsExTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MsiLockPermissionsEx = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MsiLockPermissionsEx, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MsiLockPermissionsExTupleFields.MsiLockPermissionsEx), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MsiLockPermissionsExTupleFields.LockObject), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(MsiLockPermissionsExTupleFields.Table), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(MsiLockPermissionsExTupleFields.SDDLText), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(MsiLockPermissionsExTupleFields.Condition), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(MsiLockPermissionsExTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum MsiLockPermissionsExTupleFields | ||
| 26 | { | ||
| 27 | MsiLockPermissionsEx, | ||
| 28 | LockObject, | ||
| 29 | Table, | ||
| 30 | SDDLText, | ||
| 31 | Condition, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class MsiLockPermissionsExTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public MsiLockPermissionsExTuple() : base(TupleDefinitions.MsiLockPermissionsEx, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public MsiLockPermissionsExTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiLockPermissionsEx, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[MsiLockPermissionsExTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string MsiLockPermissionsEx | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)MsiLockPermissionsExTupleFields.MsiLockPermissionsEx]?.Value; | ||
| 49 | set => this.Set((int)MsiLockPermissionsExTupleFields.MsiLockPermissionsEx, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string LockObject | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)MsiLockPermissionsExTupleFields.LockObject]?.Value; | ||
| 55 | set => this.Set((int)MsiLockPermissionsExTupleFields.LockObject, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string Table | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)MsiLockPermissionsExTupleFields.Table]?.Value; | ||
| 61 | set => this.Set((int)MsiLockPermissionsExTupleFields.Table, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string SDDLText | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)MsiLockPermissionsExTupleFields.SDDLText]?.Value; | ||
| 67 | set => this.Set((int)MsiLockPermissionsExTupleFields.SDDLText, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Condition | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)MsiLockPermissionsExTupleFields.Condition]?.Value; | ||
| 73 | set => this.Set((int)MsiLockPermissionsExTupleFields.Condition, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MsiPackageCertificateTuple.cs b/src/WixToolset.Data/Tuples/MsiPackageCertificateTuple.cs new file mode 100644 index 00000000..6eeb141c --- /dev/null +++ b/src/WixToolset.Data/Tuples/MsiPackageCertificateTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MsiPackageCertificate = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MsiPackageCertificate, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MsiPackageCertificateTupleFields.PackageCertificate), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MsiPackageCertificateTupleFields.DigitalCertificate_), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(MsiPackageCertificateTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum MsiPackageCertificateTupleFields | ||
| 23 | { | ||
| 24 | PackageCertificate, | ||
| 25 | DigitalCertificate_, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class MsiPackageCertificateTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public MsiPackageCertificateTuple() : base(TupleDefinitions.MsiPackageCertificate, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public MsiPackageCertificateTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiPackageCertificate, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[MsiPackageCertificateTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string PackageCertificate | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)MsiPackageCertificateTupleFields.PackageCertificate]?.Value; | ||
| 43 | set => this.Set((int)MsiPackageCertificateTupleFields.PackageCertificate, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string DigitalCertificate_ | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)MsiPackageCertificateTupleFields.DigitalCertificate_]?.Value; | ||
| 49 | set => this.Set((int)MsiPackageCertificateTupleFields.DigitalCertificate_, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MsiPatchCertificateTuple.cs b/src/WixToolset.Data/Tuples/MsiPatchCertificateTuple.cs new file mode 100644 index 00000000..1b02dca9 --- /dev/null +++ b/src/WixToolset.Data/Tuples/MsiPatchCertificateTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MsiPatchCertificate = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MsiPatchCertificate, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MsiPatchCertificateTupleFields.PatchCertificate), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MsiPatchCertificateTupleFields.DigitalCertificate_), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(MsiPatchCertificateTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum MsiPatchCertificateTupleFields | ||
| 23 | { | ||
| 24 | PatchCertificate, | ||
| 25 | DigitalCertificate_, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class MsiPatchCertificateTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public MsiPatchCertificateTuple() : base(TupleDefinitions.MsiPatchCertificate, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public MsiPatchCertificateTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiPatchCertificate, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[MsiPatchCertificateTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string PatchCertificate | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)MsiPatchCertificateTupleFields.PatchCertificate]?.Value; | ||
| 43 | set => this.Set((int)MsiPatchCertificateTupleFields.PatchCertificate, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string DigitalCertificate_ | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)MsiPatchCertificateTupleFields.DigitalCertificate_]?.Value; | ||
| 49 | set => this.Set((int)MsiPatchCertificateTupleFields.DigitalCertificate_, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MsiPatchHeadersTuple.cs b/src/WixToolset.Data/Tuples/MsiPatchHeadersTuple.cs new file mode 100644 index 00000000..6d99a9ae --- /dev/null +++ b/src/WixToolset.Data/Tuples/MsiPatchHeadersTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MsiPatchHeaders = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MsiPatchHeaders, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MsiPatchHeadersTupleFields.StreamRef), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MsiPatchHeadersTupleFields.Header), IntermediateFieldType.Path), | ||
| 15 | }, | ||
| 16 | typeof(MsiPatchHeadersTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum MsiPatchHeadersTupleFields | ||
| 23 | { | ||
| 24 | StreamRef, | ||
| 25 | Header, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class MsiPatchHeadersTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public MsiPatchHeadersTuple() : base(TupleDefinitions.MsiPatchHeaders, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public MsiPatchHeadersTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiPatchHeaders, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[MsiPatchHeadersTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string StreamRef | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)MsiPatchHeadersTupleFields.StreamRef]?.Value; | ||
| 43 | set => this.Set((int)MsiPatchHeadersTupleFields.StreamRef, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Header | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)MsiPatchHeadersTupleFields.Header]?.Value; | ||
| 49 | set => this.Set((int)MsiPatchHeadersTupleFields.Header, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MsiPatchMetadataTuple.cs b/src/WixToolset.Data/Tuples/MsiPatchMetadataTuple.cs new file mode 100644 index 00000000..f6a6fd7d --- /dev/null +++ b/src/WixToolset.Data/Tuples/MsiPatchMetadataTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MsiPatchMetadata = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MsiPatchMetadata, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MsiPatchMetadataTupleFields.Company), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MsiPatchMetadataTupleFields.Property), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(MsiPatchMetadataTupleFields.Value), IntermediateFieldType.String), | ||
| 16 | }, | ||
| 17 | typeof(MsiPatchMetadataTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum MsiPatchMetadataTupleFields | ||
| 24 | { | ||
| 25 | Company, | ||
| 26 | Property, | ||
| 27 | Value, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class MsiPatchMetadataTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public MsiPatchMetadataTuple() : base(TupleDefinitions.MsiPatchMetadata, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public MsiPatchMetadataTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiPatchMetadata, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[MsiPatchMetadataTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string Company | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)MsiPatchMetadataTupleFields.Company]?.Value; | ||
| 45 | set => this.Set((int)MsiPatchMetadataTupleFields.Company, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Property | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)MsiPatchMetadataTupleFields.Property]?.Value; | ||
| 51 | set => this.Set((int)MsiPatchMetadataTupleFields.Property, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string Value | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)MsiPatchMetadataTupleFields.Value]?.Value; | ||
| 57 | set => this.Set((int)MsiPatchMetadataTupleFields.Value, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MsiPatchOldAssemblyFileTuple.cs b/src/WixToolset.Data/Tuples/MsiPatchOldAssemblyFileTuple.cs new file mode 100644 index 00000000..f23ace77 --- /dev/null +++ b/src/WixToolset.Data/Tuples/MsiPatchOldAssemblyFileTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MsiPatchOldAssemblyFile = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MsiPatchOldAssemblyFile, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MsiPatchOldAssemblyFileTupleFields.File_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MsiPatchOldAssemblyFileTupleFields.Assembly_), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(MsiPatchOldAssemblyFileTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum MsiPatchOldAssemblyFileTupleFields | ||
| 23 | { | ||
| 24 | File_, | ||
| 25 | Assembly_, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class MsiPatchOldAssemblyFileTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public MsiPatchOldAssemblyFileTuple() : base(TupleDefinitions.MsiPatchOldAssemblyFile, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public MsiPatchOldAssemblyFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiPatchOldAssemblyFile, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[MsiPatchOldAssemblyFileTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string File_ | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)MsiPatchOldAssemblyFileTupleFields.File_]?.Value; | ||
| 43 | set => this.Set((int)MsiPatchOldAssemblyFileTupleFields.File_, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Assembly_ | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)MsiPatchOldAssemblyFileTupleFields.Assembly_]?.Value; | ||
| 49 | set => this.Set((int)MsiPatchOldAssemblyFileTupleFields.Assembly_, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MsiPatchOldAssemblyNameTuple.cs b/src/WixToolset.Data/Tuples/MsiPatchOldAssemblyNameTuple.cs new file mode 100644 index 00000000..77385f5f --- /dev/null +++ b/src/WixToolset.Data/Tuples/MsiPatchOldAssemblyNameTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MsiPatchOldAssemblyName = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MsiPatchOldAssemblyName, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MsiPatchOldAssemblyNameTupleFields.Assembly), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MsiPatchOldAssemblyNameTupleFields.Name), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(MsiPatchOldAssemblyNameTupleFields.Value), IntermediateFieldType.String), | ||
| 16 | }, | ||
| 17 | typeof(MsiPatchOldAssemblyNameTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum MsiPatchOldAssemblyNameTupleFields | ||
| 24 | { | ||
| 25 | Assembly, | ||
| 26 | Name, | ||
| 27 | Value, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class MsiPatchOldAssemblyNameTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public MsiPatchOldAssemblyNameTuple() : base(TupleDefinitions.MsiPatchOldAssemblyName, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public MsiPatchOldAssemblyNameTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiPatchOldAssemblyName, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[MsiPatchOldAssemblyNameTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string Assembly | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)MsiPatchOldAssemblyNameTupleFields.Assembly]?.Value; | ||
| 45 | set => this.Set((int)MsiPatchOldAssemblyNameTupleFields.Assembly, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Name | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)MsiPatchOldAssemblyNameTupleFields.Name]?.Value; | ||
| 51 | set => this.Set((int)MsiPatchOldAssemblyNameTupleFields.Name, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string Value | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)MsiPatchOldAssemblyNameTupleFields.Value]?.Value; | ||
| 57 | set => this.Set((int)MsiPatchOldAssemblyNameTupleFields.Value, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MsiPatchSequenceTuple.cs b/src/WixToolset.Data/Tuples/MsiPatchSequenceTuple.cs new file mode 100644 index 00000000..c48be28f --- /dev/null +++ b/src/WixToolset.Data/Tuples/MsiPatchSequenceTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MsiPatchSequence = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MsiPatchSequence, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MsiPatchSequenceTupleFields.PatchFamily), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MsiPatchSequenceTupleFields.ProductCode), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(MsiPatchSequenceTupleFields.Sequence), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(MsiPatchSequenceTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 17 | }, | ||
| 18 | typeof(MsiPatchSequenceTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum MsiPatchSequenceTupleFields | ||
| 25 | { | ||
| 26 | PatchFamily, | ||
| 27 | ProductCode, | ||
| 28 | Sequence, | ||
| 29 | Attributes, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class MsiPatchSequenceTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public MsiPatchSequenceTuple() : base(TupleDefinitions.MsiPatchSequence, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public MsiPatchSequenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiPatchSequence, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[MsiPatchSequenceTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string PatchFamily | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)MsiPatchSequenceTupleFields.PatchFamily]?.Value; | ||
| 47 | set => this.Set((int)MsiPatchSequenceTupleFields.PatchFamily, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public string ProductCode | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)MsiPatchSequenceTupleFields.ProductCode]?.Value; | ||
| 53 | set => this.Set((int)MsiPatchSequenceTupleFields.ProductCode, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string Sequence | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)MsiPatchSequenceTupleFields.Sequence]?.Value; | ||
| 59 | set => this.Set((int)MsiPatchSequenceTupleFields.Sequence, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public int Attributes | ||
| 63 | { | ||
| 64 | get => (int)this.Fields[(int)MsiPatchSequenceTupleFields.Attributes]?.Value; | ||
| 65 | set => this.Set((int)MsiPatchSequenceTupleFields.Attributes, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MsiServiceConfigFailureActionsTuple.cs b/src/WixToolset.Data/Tuples/MsiServiceConfigFailureActionsTuple.cs new file mode 100644 index 00000000..043be793 --- /dev/null +++ b/src/WixToolset.Data/Tuples/MsiServiceConfigFailureActionsTuple.cs | |||
| @@ -0,0 +1,108 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MsiServiceConfigFailureActions = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MsiServiceConfigFailureActions, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.MsiServiceConfigFailureActions), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.Name), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.Event), IntermediateFieldType.Number), | ||
| 16 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.ResetPeriod), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.RebootMessage), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.Command), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.Actions), IntermediateFieldType.String), | ||
| 20 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.DelayActions), IntermediateFieldType.String), | ||
| 21 | new IntermediateFieldDefinition(nameof(MsiServiceConfigFailureActionsTupleFields.Component_), IntermediateFieldType.String), | ||
| 22 | }, | ||
| 23 | typeof(MsiServiceConfigFailureActionsTuple)); | ||
| 24 | } | ||
| 25 | } | ||
| 26 | |||
| 27 | namespace WixToolset.Data.Tuples | ||
| 28 | { | ||
| 29 | public enum MsiServiceConfigFailureActionsTupleFields | ||
| 30 | { | ||
| 31 | MsiServiceConfigFailureActions, | ||
| 32 | Name, | ||
| 33 | Event, | ||
| 34 | ResetPeriod, | ||
| 35 | RebootMessage, | ||
| 36 | Command, | ||
| 37 | Actions, | ||
| 38 | DelayActions, | ||
| 39 | Component_, | ||
| 40 | } | ||
| 41 | |||
| 42 | public class MsiServiceConfigFailureActionsTuple : IntermediateTuple | ||
| 43 | { | ||
| 44 | public MsiServiceConfigFailureActionsTuple() : base(TupleDefinitions.MsiServiceConfigFailureActions, null, null) | ||
| 45 | { | ||
| 46 | } | ||
| 47 | |||
| 48 | public MsiServiceConfigFailureActionsTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiServiceConfigFailureActions, sourceLineNumber, id) | ||
| 49 | { | ||
| 50 | } | ||
| 51 | |||
| 52 | public IntermediateField this[MsiServiceConfigFailureActionsTupleFields index] => this.Fields[(int)index]; | ||
| 53 | |||
| 54 | public string MsiServiceConfigFailureActions | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.MsiServiceConfigFailureActions]?.Value; | ||
| 57 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.MsiServiceConfigFailureActions, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public string Name | ||
| 61 | { | ||
| 62 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.Name]?.Value; | ||
| 63 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.Name, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public int Event | ||
| 67 | { | ||
| 68 | get => (int)this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.Event]?.Value; | ||
| 69 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.Event, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public int ResetPeriod | ||
| 73 | { | ||
| 74 | get => (int)this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.ResetPeriod]?.Value; | ||
| 75 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.ResetPeriod, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public string RebootMessage | ||
| 79 | { | ||
| 80 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.RebootMessage]?.Value; | ||
| 81 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.RebootMessage, value); | ||
| 82 | } | ||
| 83 | |||
| 84 | public string Command | ||
| 85 | { | ||
| 86 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.Command]?.Value; | ||
| 87 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.Command, value); | ||
| 88 | } | ||
| 89 | |||
| 90 | public string Actions | ||
| 91 | { | ||
| 92 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.Actions]?.Value; | ||
| 93 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.Actions, value); | ||
| 94 | } | ||
| 95 | |||
| 96 | public string DelayActions | ||
| 97 | { | ||
| 98 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.DelayActions]?.Value; | ||
| 99 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.DelayActions, value); | ||
| 100 | } | ||
| 101 | |||
| 102 | public string Component_ | ||
| 103 | { | ||
| 104 | get => (string)this.Fields[(int)MsiServiceConfigFailureActionsTupleFields.Component_]?.Value; | ||
| 105 | set => this.Set((int)MsiServiceConfigFailureActionsTupleFields.Component_, value); | ||
| 106 | } | ||
| 107 | } | ||
| 108 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MsiServiceConfigTuple.cs b/src/WixToolset.Data/Tuples/MsiServiceConfigTuple.cs new file mode 100644 index 00000000..701d85b4 --- /dev/null +++ b/src/WixToolset.Data/Tuples/MsiServiceConfigTuple.cs | |||
| @@ -0,0 +1,84 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MsiServiceConfig = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MsiServiceConfig, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MsiServiceConfigTupleFields.MsiServiceConfig), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MsiServiceConfigTupleFields.Name), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(MsiServiceConfigTupleFields.Event), IntermediateFieldType.Number), | ||
| 16 | new IntermediateFieldDefinition(nameof(MsiServiceConfigTupleFields.ConfigType), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(MsiServiceConfigTupleFields.Argument), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(MsiServiceConfigTupleFields.Component_), IntermediateFieldType.String), | ||
| 19 | }, | ||
| 20 | typeof(MsiServiceConfigTuple)); | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace WixToolset.Data.Tuples | ||
| 25 | { | ||
| 26 | public enum MsiServiceConfigTupleFields | ||
| 27 | { | ||
| 28 | MsiServiceConfig, | ||
| 29 | Name, | ||
| 30 | Event, | ||
| 31 | ConfigType, | ||
| 32 | Argument, | ||
| 33 | Component_, | ||
| 34 | } | ||
| 35 | |||
| 36 | public class MsiServiceConfigTuple : IntermediateTuple | ||
| 37 | { | ||
| 38 | public MsiServiceConfigTuple() : base(TupleDefinitions.MsiServiceConfig, null, null) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public MsiServiceConfigTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiServiceConfig, sourceLineNumber, id) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public IntermediateField this[MsiServiceConfigTupleFields index] => this.Fields[(int)index]; | ||
| 47 | |||
| 48 | public string MsiServiceConfig | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)MsiServiceConfigTupleFields.MsiServiceConfig]?.Value; | ||
| 51 | set => this.Set((int)MsiServiceConfigTupleFields.MsiServiceConfig, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string Name | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)MsiServiceConfigTupleFields.Name]?.Value; | ||
| 57 | set => this.Set((int)MsiServiceConfigTupleFields.Name, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public int Event | ||
| 61 | { | ||
| 62 | get => (int)this.Fields[(int)MsiServiceConfigTupleFields.Event]?.Value; | ||
| 63 | set => this.Set((int)MsiServiceConfigTupleFields.Event, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public int ConfigType | ||
| 67 | { | ||
| 68 | get => (int)this.Fields[(int)MsiServiceConfigTupleFields.ConfigType]?.Value; | ||
| 69 | set => this.Set((int)MsiServiceConfigTupleFields.ConfigType, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public string Argument | ||
| 73 | { | ||
| 74 | get => (string)this.Fields[(int)MsiServiceConfigTupleFields.Argument]?.Value; | ||
| 75 | set => this.Set((int)MsiServiceConfigTupleFields.Argument, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public string Component_ | ||
| 79 | { | ||
| 80 | get => (string)this.Fields[(int)MsiServiceConfigTupleFields.Component_]?.Value; | ||
| 81 | set => this.Set((int)MsiServiceConfigTupleFields.Component_, value); | ||
| 82 | } | ||
| 83 | } | ||
| 84 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/MsiShortcutPropertyTuple.cs b/src/WixToolset.Data/Tuples/MsiShortcutPropertyTuple.cs new file mode 100644 index 00000000..9ee6b2f2 --- /dev/null +++ b/src/WixToolset.Data/Tuples/MsiShortcutPropertyTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition MsiShortcutProperty = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.MsiShortcutProperty, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(MsiShortcutPropertyTupleFields.MsiShortcutProperty), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(MsiShortcutPropertyTupleFields.Shortcut_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(MsiShortcutPropertyTupleFields.PropertyKey), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(MsiShortcutPropertyTupleFields.PropVariantValue), IntermediateFieldType.String), | ||
| 17 | }, | ||
| 18 | typeof(MsiShortcutPropertyTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum MsiShortcutPropertyTupleFields | ||
| 25 | { | ||
| 26 | MsiShortcutProperty, | ||
| 27 | Shortcut_, | ||
| 28 | PropertyKey, | ||
| 29 | PropVariantValue, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class MsiShortcutPropertyTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public MsiShortcutPropertyTuple() : base(TupleDefinitions.MsiShortcutProperty, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public MsiShortcutPropertyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.MsiShortcutProperty, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[MsiShortcutPropertyTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string MsiShortcutProperty | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.MsiShortcutProperty]?.Value; | ||
| 47 | set => this.Set((int)MsiShortcutPropertyTupleFields.MsiShortcutProperty, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public string Shortcut_ | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.Shortcut_]?.Value; | ||
| 53 | set => this.Set((int)MsiShortcutPropertyTupleFields.Shortcut_, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string PropertyKey | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.PropertyKey]?.Value; | ||
| 59 | set => this.Set((int)MsiShortcutPropertyTupleFields.PropertyKey, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string PropVariantValue | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)MsiShortcutPropertyTupleFields.PropVariantValue]?.Value; | ||
| 65 | set => this.Set((int)MsiShortcutPropertyTupleFields.PropVariantValue, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ODBCAttributeTuple.cs b/src/WixToolset.Data/Tuples/ODBCAttributeTuple.cs new file mode 100644 index 00000000..de4f88cd --- /dev/null +++ b/src/WixToolset.Data/Tuples/ODBCAttributeTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ODBCAttribute = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ODBCAttribute, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ODBCAttributeTupleFields.Driver_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ODBCAttributeTupleFields.Attribute), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ODBCAttributeTupleFields.Value), IntermediateFieldType.String), | ||
| 16 | }, | ||
| 17 | typeof(ODBCAttributeTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum ODBCAttributeTupleFields | ||
| 24 | { | ||
| 25 | Driver_, | ||
| 26 | Attribute, | ||
| 27 | Value, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class ODBCAttributeTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public ODBCAttributeTuple() : base(TupleDefinitions.ODBCAttribute, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public ODBCAttributeTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ODBCAttribute, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[ODBCAttributeTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string Driver_ | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)ODBCAttributeTupleFields.Driver_]?.Value; | ||
| 45 | set => this.Set((int)ODBCAttributeTupleFields.Driver_, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Attribute | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)ODBCAttributeTupleFields.Attribute]?.Value; | ||
| 51 | set => this.Set((int)ODBCAttributeTupleFields.Attribute, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string Value | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)ODBCAttributeTupleFields.Value]?.Value; | ||
| 57 | set => this.Set((int)ODBCAttributeTupleFields.Value, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ODBCDataSourceTuple.cs b/src/WixToolset.Data/Tuples/ODBCDataSourceTuple.cs new file mode 100644 index 00000000..c06b2da0 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ODBCDataSourceTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ODBCDataSource = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ODBCDataSource, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ODBCDataSourceTupleFields.DataSource), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ODBCDataSourceTupleFields.Component_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ODBCDataSourceTupleFields.Description), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ODBCDataSourceTupleFields.DriverDescription), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(ODBCDataSourceTupleFields.Registration), IntermediateFieldType.Number), | ||
| 18 | }, | ||
| 19 | typeof(ODBCDataSourceTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum ODBCDataSourceTupleFields | ||
| 26 | { | ||
| 27 | DataSource, | ||
| 28 | Component_, | ||
| 29 | Description, | ||
| 30 | DriverDescription, | ||
| 31 | Registration, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class ODBCDataSourceTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public ODBCDataSourceTuple() : base(TupleDefinitions.ODBCDataSource, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public ODBCDataSourceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ODBCDataSource, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[ODBCDataSourceTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string DataSource | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)ODBCDataSourceTupleFields.DataSource]?.Value; | ||
| 49 | set => this.Set((int)ODBCDataSourceTupleFields.DataSource, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string Component_ | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)ODBCDataSourceTupleFields.Component_]?.Value; | ||
| 55 | set => this.Set((int)ODBCDataSourceTupleFields.Component_, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string Description | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)ODBCDataSourceTupleFields.Description]?.Value; | ||
| 61 | set => this.Set((int)ODBCDataSourceTupleFields.Description, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string DriverDescription | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)ODBCDataSourceTupleFields.DriverDescription]?.Value; | ||
| 67 | set => this.Set((int)ODBCDataSourceTupleFields.DriverDescription, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public int Registration | ||
| 71 | { | ||
| 72 | get => (int)this.Fields[(int)ODBCDataSourceTupleFields.Registration]?.Value; | ||
| 73 | set => this.Set((int)ODBCDataSourceTupleFields.Registration, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ODBCDriverTuple.cs b/src/WixToolset.Data/Tuples/ODBCDriverTuple.cs new file mode 100644 index 00000000..ab40ee88 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ODBCDriverTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ODBCDriver = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ODBCDriver, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ODBCDriverTupleFields.Driver), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ODBCDriverTupleFields.Component_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ODBCDriverTupleFields.Description), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ODBCDriverTupleFields.File_), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(ODBCDriverTupleFields.File_Setup), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(ODBCDriverTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum ODBCDriverTupleFields | ||
| 26 | { | ||
| 27 | Driver, | ||
| 28 | Component_, | ||
| 29 | Description, | ||
| 30 | File_, | ||
| 31 | File_Setup, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class ODBCDriverTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public ODBCDriverTuple() : base(TupleDefinitions.ODBCDriver, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public ODBCDriverTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ODBCDriver, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[ODBCDriverTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string Driver | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)ODBCDriverTupleFields.Driver]?.Value; | ||
| 49 | set => this.Set((int)ODBCDriverTupleFields.Driver, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string Component_ | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)ODBCDriverTupleFields.Component_]?.Value; | ||
| 55 | set => this.Set((int)ODBCDriverTupleFields.Component_, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string Description | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)ODBCDriverTupleFields.Description]?.Value; | ||
| 61 | set => this.Set((int)ODBCDriverTupleFields.Description, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string File_ | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)ODBCDriverTupleFields.File_]?.Value; | ||
| 67 | set => this.Set((int)ODBCDriverTupleFields.File_, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string File_Setup | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)ODBCDriverTupleFields.File_Setup]?.Value; | ||
| 73 | set => this.Set((int)ODBCDriverTupleFields.File_Setup, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ODBCSourceAttributeTuple.cs b/src/WixToolset.Data/Tuples/ODBCSourceAttributeTuple.cs new file mode 100644 index 00000000..541eb532 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ODBCSourceAttributeTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ODBCSourceAttribute = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ODBCSourceAttribute, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ODBCSourceAttributeTupleFields.DataSource_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ODBCSourceAttributeTupleFields.Attribute), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ODBCSourceAttributeTupleFields.Value), IntermediateFieldType.String), | ||
| 16 | }, | ||
| 17 | typeof(ODBCSourceAttributeTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum ODBCSourceAttributeTupleFields | ||
| 24 | { | ||
| 25 | DataSource_, | ||
| 26 | Attribute, | ||
| 27 | Value, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class ODBCSourceAttributeTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public ODBCSourceAttributeTuple() : base(TupleDefinitions.ODBCSourceAttribute, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public ODBCSourceAttributeTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ODBCSourceAttribute, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[ODBCSourceAttributeTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string DataSource_ | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)ODBCSourceAttributeTupleFields.DataSource_]?.Value; | ||
| 45 | set => this.Set((int)ODBCSourceAttributeTupleFields.DataSource_, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Attribute | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)ODBCSourceAttributeTupleFields.Attribute]?.Value; | ||
| 51 | set => this.Set((int)ODBCSourceAttributeTupleFields.Attribute, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string Value | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)ODBCSourceAttributeTupleFields.Value]?.Value; | ||
| 57 | set => this.Set((int)ODBCSourceAttributeTupleFields.Value, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ODBCTranslatorTuple.cs b/src/WixToolset.Data/Tuples/ODBCTranslatorTuple.cs new file mode 100644 index 00000000..ab1abbdc --- /dev/null +++ b/src/WixToolset.Data/Tuples/ODBCTranslatorTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ODBCTranslator = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ODBCTranslator, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ODBCTranslatorTupleFields.Translator), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ODBCTranslatorTupleFields.Component_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ODBCTranslatorTupleFields.Description), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ODBCTranslatorTupleFields.File_), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(ODBCTranslatorTupleFields.File_Setup), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(ODBCTranslatorTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum ODBCTranslatorTupleFields | ||
| 26 | { | ||
| 27 | Translator, | ||
| 28 | Component_, | ||
| 29 | Description, | ||
| 30 | File_, | ||
| 31 | File_Setup, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class ODBCTranslatorTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public ODBCTranslatorTuple() : base(TupleDefinitions.ODBCTranslator, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public ODBCTranslatorTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ODBCTranslator, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[ODBCTranslatorTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string Translator | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)ODBCTranslatorTupleFields.Translator]?.Value; | ||
| 49 | set => this.Set((int)ODBCTranslatorTupleFields.Translator, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string Component_ | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)ODBCTranslatorTupleFields.Component_]?.Value; | ||
| 55 | set => this.Set((int)ODBCTranslatorTupleFields.Component_, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string Description | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)ODBCTranslatorTupleFields.Description]?.Value; | ||
| 61 | set => this.Set((int)ODBCTranslatorTupleFields.Description, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string File_ | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)ODBCTranslatorTupleFields.File_]?.Value; | ||
| 67 | set => this.Set((int)ODBCTranslatorTupleFields.File_, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string File_Setup | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)ODBCTranslatorTupleFields.File_Setup]?.Value; | ||
| 73 | set => this.Set((int)ODBCTranslatorTupleFields.File_Setup, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/PatchMetadataTuple.cs b/src/WixToolset.Data/Tuples/PatchMetadataTuple.cs new file mode 100644 index 00000000..d596e58e --- /dev/null +++ b/src/WixToolset.Data/Tuples/PatchMetadataTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition PatchMetadata = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.PatchMetadata, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(PatchMetadataTupleFields.Company), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(PatchMetadataTupleFields.Property), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(PatchMetadataTupleFields.Value), IntermediateFieldType.String), | ||
| 16 | }, | ||
| 17 | typeof(PatchMetadataTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum PatchMetadataTupleFields | ||
| 24 | { | ||
| 25 | Company, | ||
| 26 | Property, | ||
| 27 | Value, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class PatchMetadataTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public PatchMetadataTuple() : base(TupleDefinitions.PatchMetadata, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public PatchMetadataTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.PatchMetadata, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[PatchMetadataTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string Company | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)PatchMetadataTupleFields.Company]?.Value; | ||
| 45 | set => this.Set((int)PatchMetadataTupleFields.Company, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Property | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)PatchMetadataTupleFields.Property]?.Value; | ||
| 51 | set => this.Set((int)PatchMetadataTupleFields.Property, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string Value | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)PatchMetadataTupleFields.Value]?.Value; | ||
| 57 | set => this.Set((int)PatchMetadataTupleFields.Value, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/PatchPackageTuple.cs b/src/WixToolset.Data/Tuples/PatchPackageTuple.cs new file mode 100644 index 00000000..276d00a2 --- /dev/null +++ b/src/WixToolset.Data/Tuples/PatchPackageTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition PatchPackage = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.PatchPackage, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(PatchPackageTupleFields.PatchId), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(PatchPackageTupleFields.Media_), IntermediateFieldType.Number), | ||
| 15 | }, | ||
| 16 | typeof(PatchPackageTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum PatchPackageTupleFields | ||
| 23 | { | ||
| 24 | PatchId, | ||
| 25 | Media_, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class PatchPackageTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public PatchPackageTuple() : base(TupleDefinitions.PatchPackage, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public PatchPackageTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.PatchPackage, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[PatchPackageTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string PatchId | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)PatchPackageTupleFields.PatchId]?.Value; | ||
| 43 | set => this.Set((int)PatchPackageTupleFields.PatchId, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public int Media_ | ||
| 47 | { | ||
| 48 | get => (int)this.Fields[(int)PatchPackageTupleFields.Media_]?.Value; | ||
| 49 | set => this.Set((int)PatchPackageTupleFields.Media_, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/PatchSequenceTuple.cs b/src/WixToolset.Data/Tuples/PatchSequenceTuple.cs new file mode 100644 index 00000000..624054c1 --- /dev/null +++ b/src/WixToolset.Data/Tuples/PatchSequenceTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition PatchSequence = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.PatchSequence, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(PatchSequenceTupleFields.PatchFamily), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(PatchSequenceTupleFields.Target), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(PatchSequenceTupleFields.Sequence), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(PatchSequenceTupleFields.Supersede), IntermediateFieldType.Number), | ||
| 17 | }, | ||
| 18 | typeof(PatchSequenceTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum PatchSequenceTupleFields | ||
| 25 | { | ||
| 26 | PatchFamily, | ||
| 27 | Target, | ||
| 28 | Sequence, | ||
| 29 | Supersede, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class PatchSequenceTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public PatchSequenceTuple() : base(TupleDefinitions.PatchSequence, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public PatchSequenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.PatchSequence, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[PatchSequenceTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string PatchFamily | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)PatchSequenceTupleFields.PatchFamily]?.Value; | ||
| 47 | set => this.Set((int)PatchSequenceTupleFields.PatchFamily, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public string Target | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)PatchSequenceTupleFields.Target]?.Value; | ||
| 53 | set => this.Set((int)PatchSequenceTupleFields.Target, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string Sequence | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)PatchSequenceTupleFields.Sequence]?.Value; | ||
| 59 | set => this.Set((int)PatchSequenceTupleFields.Sequence, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public int Supersede | ||
| 63 | { | ||
| 64 | get => (int)this.Fields[(int)PatchSequenceTupleFields.Supersede]?.Value; | ||
| 65 | set => this.Set((int)PatchSequenceTupleFields.Supersede, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/PatchTuple.cs b/src/WixToolset.Data/Tuples/PatchTuple.cs new file mode 100644 index 00000000..268307c7 --- /dev/null +++ b/src/WixToolset.Data/Tuples/PatchTuple.cs | |||
| @@ -0,0 +1,84 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Patch = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Patch, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(PatchTupleFields.File_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(PatchTupleFields.Sequence), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(PatchTupleFields.PatchSize), IntermediateFieldType.Number), | ||
| 16 | new IntermediateFieldDefinition(nameof(PatchTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(PatchTupleFields.Header), IntermediateFieldType.Path), | ||
| 18 | new IntermediateFieldDefinition(nameof(PatchTupleFields.StreamRef_), IntermediateFieldType.String), | ||
| 19 | }, | ||
| 20 | typeof(PatchTuple)); | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace WixToolset.Data.Tuples | ||
| 25 | { | ||
| 26 | public enum PatchTupleFields | ||
| 27 | { | ||
| 28 | File_, | ||
| 29 | Sequence, | ||
| 30 | PatchSize, | ||
| 31 | Attributes, | ||
| 32 | Header, | ||
| 33 | StreamRef_, | ||
| 34 | } | ||
| 35 | |||
| 36 | public class PatchTuple : IntermediateTuple | ||
| 37 | { | ||
| 38 | public PatchTuple() : base(TupleDefinitions.Patch, null, null) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public PatchTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Patch, sourceLineNumber, id) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public IntermediateField this[PatchTupleFields index] => this.Fields[(int)index]; | ||
| 47 | |||
| 48 | public string File_ | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)PatchTupleFields.File_]?.Value; | ||
| 51 | set => this.Set((int)PatchTupleFields.File_, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public int Sequence | ||
| 55 | { | ||
| 56 | get => (int)this.Fields[(int)PatchTupleFields.Sequence]?.Value; | ||
| 57 | set => this.Set((int)PatchTupleFields.Sequence, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public int PatchSize | ||
| 61 | { | ||
| 62 | get => (int)this.Fields[(int)PatchTupleFields.PatchSize]?.Value; | ||
| 63 | set => this.Set((int)PatchTupleFields.PatchSize, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public int Attributes | ||
| 67 | { | ||
| 68 | get => (int)this.Fields[(int)PatchTupleFields.Attributes]?.Value; | ||
| 69 | set => this.Set((int)PatchTupleFields.Attributes, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public string Header | ||
| 73 | { | ||
| 74 | get => (string)this.Fields[(int)PatchTupleFields.Header]?.Value; | ||
| 75 | set => this.Set((int)PatchTupleFields.Header, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public string StreamRef_ | ||
| 79 | { | ||
| 80 | get => (string)this.Fields[(int)PatchTupleFields.StreamRef_]?.Value; | ||
| 81 | set => this.Set((int)PatchTupleFields.StreamRef_, value); | ||
| 82 | } | ||
| 83 | } | ||
| 84 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ProgIdTuple.cs b/src/WixToolset.Data/Tuples/ProgIdTuple.cs new file mode 100644 index 00000000..a1713392 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ProgIdTuple.cs | |||
| @@ -0,0 +1,84 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ProgId = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ProgId, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ProgIdTupleFields.ProgId), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ProgIdTupleFields.ProgId_Parent), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ProgIdTupleFields.Class_), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ProgIdTupleFields.Description), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(ProgIdTupleFields.Icon_), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(ProgIdTupleFields.IconIndex), IntermediateFieldType.Number), | ||
| 19 | }, | ||
| 20 | typeof(ProgIdTuple)); | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace WixToolset.Data.Tuples | ||
| 25 | { | ||
| 26 | public enum ProgIdTupleFields | ||
| 27 | { | ||
| 28 | ProgId, | ||
| 29 | ProgId_Parent, | ||
| 30 | Class_, | ||
| 31 | Description, | ||
| 32 | Icon_, | ||
| 33 | IconIndex, | ||
| 34 | } | ||
| 35 | |||
| 36 | public class ProgIdTuple : IntermediateTuple | ||
| 37 | { | ||
| 38 | public ProgIdTuple() : base(TupleDefinitions.ProgId, null, null) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public ProgIdTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ProgId, sourceLineNumber, id) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public IntermediateField this[ProgIdTupleFields index] => this.Fields[(int)index]; | ||
| 47 | |||
| 48 | public string ProgId | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)ProgIdTupleFields.ProgId]?.Value; | ||
| 51 | set => this.Set((int)ProgIdTupleFields.ProgId, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string ProgId_Parent | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)ProgIdTupleFields.ProgId_Parent]?.Value; | ||
| 57 | set => this.Set((int)ProgIdTupleFields.ProgId_Parent, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public string Class_ | ||
| 61 | { | ||
| 62 | get => (string)this.Fields[(int)ProgIdTupleFields.Class_]?.Value; | ||
| 63 | set => this.Set((int)ProgIdTupleFields.Class_, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public string Description | ||
| 67 | { | ||
| 68 | get => (string)this.Fields[(int)ProgIdTupleFields.Description]?.Value; | ||
| 69 | set => this.Set((int)ProgIdTupleFields.Description, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public string Icon_ | ||
| 73 | { | ||
| 74 | get => (string)this.Fields[(int)ProgIdTupleFields.Icon_]?.Value; | ||
| 75 | set => this.Set((int)ProgIdTupleFields.Icon_, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public int IconIndex | ||
| 79 | { | ||
| 80 | get => (int)this.Fields[(int)ProgIdTupleFields.IconIndex]?.Value; | ||
| 81 | set => this.Set((int)ProgIdTupleFields.IconIndex, value); | ||
| 82 | } | ||
| 83 | } | ||
| 84 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/PropertiesTuple.cs b/src/WixToolset.Data/Tuples/PropertiesTuple.cs new file mode 100644 index 00000000..6aafaa51 --- /dev/null +++ b/src/WixToolset.Data/Tuples/PropertiesTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Properties = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Properties, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(PropertiesTupleFields.Name), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(PropertiesTupleFields.Value), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(PropertiesTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum PropertiesTupleFields | ||
| 23 | { | ||
| 24 | Name, | ||
| 25 | Value, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class PropertiesTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public PropertiesTuple() : base(TupleDefinitions.Properties, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public PropertiesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Properties, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[PropertiesTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Name | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)PropertiesTupleFields.Name]?.Value; | ||
| 43 | set => this.Set((int)PropertiesTupleFields.Name, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Value | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)PropertiesTupleFields.Value]?.Value; | ||
| 49 | set => this.Set((int)PropertiesTupleFields.Value, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/PropertyTuple.cs b/src/WixToolset.Data/Tuples/PropertyTuple.cs new file mode 100644 index 00000000..120b01fb --- /dev/null +++ b/src/WixToolset.Data/Tuples/PropertyTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Property = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Property, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(PropertyTupleFields.Property), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(PropertyTupleFields.Value), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(PropertyTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum PropertyTupleFields | ||
| 23 | { | ||
| 24 | Property, | ||
| 25 | Value, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class PropertyTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public PropertyTuple() : base(TupleDefinitions.Property, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public PropertyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Property, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[PropertyTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Property | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)PropertyTupleFields.Property]?.Value; | ||
| 43 | set => this.Set((int)PropertyTupleFields.Property, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Value | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)PropertyTupleFields.Value]?.Value; | ||
| 49 | set => this.Set((int)PropertyTupleFields.Value, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/PublishComponentTuple.cs b/src/WixToolset.Data/Tuples/PublishComponentTuple.cs new file mode 100644 index 00000000..d17da1bb --- /dev/null +++ b/src/WixToolset.Data/Tuples/PublishComponentTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition PublishComponent = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.PublishComponent, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(PublishComponentTupleFields.ComponentId), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(PublishComponentTupleFields.Qualifier), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(PublishComponentTupleFields.Component_), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(PublishComponentTupleFields.AppData), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(PublishComponentTupleFields.Feature_), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(PublishComponentTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum PublishComponentTupleFields | ||
| 26 | { | ||
| 27 | ComponentId, | ||
| 28 | Qualifier, | ||
| 29 | Component_, | ||
| 30 | AppData, | ||
| 31 | Feature_, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class PublishComponentTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public PublishComponentTuple() : base(TupleDefinitions.PublishComponent, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public PublishComponentTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.PublishComponent, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[PublishComponentTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string ComponentId | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)PublishComponentTupleFields.ComponentId]?.Value; | ||
| 49 | set => this.Set((int)PublishComponentTupleFields.ComponentId, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string Qualifier | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)PublishComponentTupleFields.Qualifier]?.Value; | ||
| 55 | set => this.Set((int)PublishComponentTupleFields.Qualifier, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string Component_ | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)PublishComponentTupleFields.Component_]?.Value; | ||
| 61 | set => this.Set((int)PublishComponentTupleFields.Component_, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string AppData | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)PublishComponentTupleFields.AppData]?.Value; | ||
| 67 | set => this.Set((int)PublishComponentTupleFields.AppData, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Feature_ | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)PublishComponentTupleFields.Feature_]?.Value; | ||
| 73 | set => this.Set((int)PublishComponentTupleFields.Feature_, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/RadioButtonTuple.cs b/src/WixToolset.Data/Tuples/RadioButtonTuple.cs new file mode 100644 index 00000000..420577dc --- /dev/null +++ b/src/WixToolset.Data/Tuples/RadioButtonTuple.cs | |||
| @@ -0,0 +1,108 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition RadioButton = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.RadioButton, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Property), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Order), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Value), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.X), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Y), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Width), IntermediateFieldType.Number), | ||
| 19 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Height), IntermediateFieldType.Number), | ||
| 20 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Text), IntermediateFieldType.String), | ||
| 21 | new IntermediateFieldDefinition(nameof(RadioButtonTupleFields.Help), IntermediateFieldType.String), | ||
| 22 | }, | ||
| 23 | typeof(RadioButtonTuple)); | ||
| 24 | } | ||
| 25 | } | ||
| 26 | |||
| 27 | namespace WixToolset.Data.Tuples | ||
| 28 | { | ||
| 29 | public enum RadioButtonTupleFields | ||
| 30 | { | ||
| 31 | Property, | ||
| 32 | Order, | ||
| 33 | Value, | ||
| 34 | X, | ||
| 35 | Y, | ||
| 36 | Width, | ||
| 37 | Height, | ||
| 38 | Text, | ||
| 39 | Help, | ||
| 40 | } | ||
| 41 | |||
| 42 | public class RadioButtonTuple : IntermediateTuple | ||
| 43 | { | ||
| 44 | public RadioButtonTuple() : base(TupleDefinitions.RadioButton, null, null) | ||
| 45 | { | ||
| 46 | } | ||
| 47 | |||
| 48 | public RadioButtonTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.RadioButton, sourceLineNumber, id) | ||
| 49 | { | ||
| 50 | } | ||
| 51 | |||
| 52 | public IntermediateField this[RadioButtonTupleFields index] => this.Fields[(int)index]; | ||
| 53 | |||
| 54 | public string Property | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)RadioButtonTupleFields.Property]?.Value; | ||
| 57 | set => this.Set((int)RadioButtonTupleFields.Property, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public int Order | ||
| 61 | { | ||
| 62 | get => (int)this.Fields[(int)RadioButtonTupleFields.Order]?.Value; | ||
| 63 | set => this.Set((int)RadioButtonTupleFields.Order, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public string Value | ||
| 67 | { | ||
| 68 | get => (string)this.Fields[(int)RadioButtonTupleFields.Value]?.Value; | ||
| 69 | set => this.Set((int)RadioButtonTupleFields.Value, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public int X | ||
| 73 | { | ||
| 74 | get => (int)this.Fields[(int)RadioButtonTupleFields.X]?.Value; | ||
| 75 | set => this.Set((int)RadioButtonTupleFields.X, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public int Y | ||
| 79 | { | ||
| 80 | get => (int)this.Fields[(int)RadioButtonTupleFields.Y]?.Value; | ||
| 81 | set => this.Set((int)RadioButtonTupleFields.Y, value); | ||
| 82 | } | ||
| 83 | |||
| 84 | public int Width | ||
| 85 | { | ||
| 86 | get => (int)this.Fields[(int)RadioButtonTupleFields.Width]?.Value; | ||
| 87 | set => this.Set((int)RadioButtonTupleFields.Width, value); | ||
| 88 | } | ||
| 89 | |||
| 90 | public int Height | ||
| 91 | { | ||
| 92 | get => (int)this.Fields[(int)RadioButtonTupleFields.Height]?.Value; | ||
| 93 | set => this.Set((int)RadioButtonTupleFields.Height, value); | ||
| 94 | } | ||
| 95 | |||
| 96 | public string Text | ||
| 97 | { | ||
| 98 | get => (string)this.Fields[(int)RadioButtonTupleFields.Text]?.Value; | ||
| 99 | set => this.Set((int)RadioButtonTupleFields.Text, value); | ||
| 100 | } | ||
| 101 | |||
| 102 | public string Help | ||
| 103 | { | ||
| 104 | get => (string)this.Fields[(int)RadioButtonTupleFields.Help]?.Value; | ||
| 105 | set => this.Set((int)RadioButtonTupleFields.Help, value); | ||
| 106 | } | ||
| 107 | } | ||
| 108 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/RegLocatorTuple.cs b/src/WixToolset.Data/Tuples/RegLocatorTuple.cs new file mode 100644 index 00000000..b098e687 --- /dev/null +++ b/src/WixToolset.Data/Tuples/RegLocatorTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition RegLocator = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.RegLocator, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(RegLocatorTupleFields.Signature_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(RegLocatorTupleFields.Root), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(RegLocatorTupleFields.Key), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(RegLocatorTupleFields.Name), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(RegLocatorTupleFields.Type), IntermediateFieldType.Number), | ||
| 18 | }, | ||
| 19 | typeof(RegLocatorTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum RegLocatorTupleFields | ||
| 26 | { | ||
| 27 | Signature_, | ||
| 28 | Root, | ||
| 29 | Key, | ||
| 30 | Name, | ||
| 31 | Type, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class RegLocatorTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public RegLocatorTuple() : base(TupleDefinitions.RegLocator, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public RegLocatorTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.RegLocator, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[RegLocatorTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string Signature_ | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)RegLocatorTupleFields.Signature_]?.Value; | ||
| 49 | set => this.Set((int)RegLocatorTupleFields.Signature_, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public int Root | ||
| 53 | { | ||
| 54 | get => (int)this.Fields[(int)RegLocatorTupleFields.Root]?.Value; | ||
| 55 | set => this.Set((int)RegLocatorTupleFields.Root, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string Key | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)RegLocatorTupleFields.Key]?.Value; | ||
| 61 | set => this.Set((int)RegLocatorTupleFields.Key, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string Name | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)RegLocatorTupleFields.Name]?.Value; | ||
| 67 | set => this.Set((int)RegLocatorTupleFields.Name, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public int Type | ||
| 71 | { | ||
| 72 | get => (int)this.Fields[(int)RegLocatorTupleFields.Type]?.Value; | ||
| 73 | set => this.Set((int)RegLocatorTupleFields.Type, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/RegistryTuple.cs b/src/WixToolset.Data/Tuples/RegistryTuple.cs new file mode 100644 index 00000000..a82cd5ee --- /dev/null +++ b/src/WixToolset.Data/Tuples/RegistryTuple.cs | |||
| @@ -0,0 +1,84 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Registry = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Registry, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(RegistryTupleFields.Registry), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(RegistryTupleFields.Root), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(RegistryTupleFields.Key), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(RegistryTupleFields.Name), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(RegistryTupleFields.Value), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(RegistryTupleFields.Component_), IntermediateFieldType.String), | ||
| 19 | }, | ||
| 20 | typeof(RegistryTuple)); | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace WixToolset.Data.Tuples | ||
| 25 | { | ||
| 26 | public enum RegistryTupleFields | ||
| 27 | { | ||
| 28 | Registry, | ||
| 29 | Root, | ||
| 30 | Key, | ||
| 31 | Name, | ||
| 32 | Value, | ||
| 33 | Component_, | ||
| 34 | } | ||
| 35 | |||
| 36 | public class RegistryTuple : IntermediateTuple | ||
| 37 | { | ||
| 38 | public RegistryTuple() : base(TupleDefinitions.Registry, null, null) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public RegistryTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Registry, sourceLineNumber, id) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public IntermediateField this[RegistryTupleFields index] => this.Fields[(int)index]; | ||
| 47 | |||
| 48 | public string Registry | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)RegistryTupleFields.Registry]?.Value; | ||
| 51 | set => this.Set((int)RegistryTupleFields.Registry, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public int Root | ||
| 55 | { | ||
| 56 | get => (int)this.Fields[(int)RegistryTupleFields.Root]?.Value; | ||
| 57 | set => this.Set((int)RegistryTupleFields.Root, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public string Key | ||
| 61 | { | ||
| 62 | get => (string)this.Fields[(int)RegistryTupleFields.Key]?.Value; | ||
| 63 | set => this.Set((int)RegistryTupleFields.Key, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public string Name | ||
| 67 | { | ||
| 68 | get => (string)this.Fields[(int)RegistryTupleFields.Name]?.Value; | ||
| 69 | set => this.Set((int)RegistryTupleFields.Name, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public string Value | ||
| 73 | { | ||
| 74 | get => (string)this.Fields[(int)RegistryTupleFields.Value]?.Value; | ||
| 75 | set => this.Set((int)RegistryTupleFields.Value, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public string Component_ | ||
| 79 | { | ||
| 80 | get => (string)this.Fields[(int)RegistryTupleFields.Component_]?.Value; | ||
| 81 | set => this.Set((int)RegistryTupleFields.Component_, value); | ||
| 82 | } | ||
| 83 | } | ||
| 84 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/RemoveFileTuple.cs b/src/WixToolset.Data/Tuples/RemoveFileTuple.cs new file mode 100644 index 00000000..1860172f --- /dev/null +++ b/src/WixToolset.Data/Tuples/RemoveFileTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition RemoveFile = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.RemoveFile, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(RemoveFileTupleFields.FileKey), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(RemoveFileTupleFields.Component_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(RemoveFileTupleFields.FileName), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(RemoveFileTupleFields.DirProperty), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(RemoveFileTupleFields.InstallMode), IntermediateFieldType.Number), | ||
| 18 | }, | ||
| 19 | typeof(RemoveFileTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum RemoveFileTupleFields | ||
| 26 | { | ||
| 27 | FileKey, | ||
| 28 | Component_, | ||
| 29 | FileName, | ||
| 30 | DirProperty, | ||
| 31 | InstallMode, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class RemoveFileTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public RemoveFileTuple() : base(TupleDefinitions.RemoveFile, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public RemoveFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.RemoveFile, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[RemoveFileTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string FileKey | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)RemoveFileTupleFields.FileKey]?.Value; | ||
| 49 | set => this.Set((int)RemoveFileTupleFields.FileKey, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string Component_ | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)RemoveFileTupleFields.Component_]?.Value; | ||
| 55 | set => this.Set((int)RemoveFileTupleFields.Component_, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string FileName | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)RemoveFileTupleFields.FileName]?.Value; | ||
| 61 | set => this.Set((int)RemoveFileTupleFields.FileName, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string DirProperty | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)RemoveFileTupleFields.DirProperty]?.Value; | ||
| 67 | set => this.Set((int)RemoveFileTupleFields.DirProperty, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public int InstallMode | ||
| 71 | { | ||
| 72 | get => (int)this.Fields[(int)RemoveFileTupleFields.InstallMode]?.Value; | ||
| 73 | set => this.Set((int)RemoveFileTupleFields.InstallMode, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/RemoveIniFileTuple.cs b/src/WixToolset.Data/Tuples/RemoveIniFileTuple.cs new file mode 100644 index 00000000..e2e79560 --- /dev/null +++ b/src/WixToolset.Data/Tuples/RemoveIniFileTuple.cs | |||
| @@ -0,0 +1,100 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition RemoveIniFile = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.RemoveIniFile, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(RemoveIniFileTupleFields.RemoveIniFile), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(RemoveIniFileTupleFields.FileName), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(RemoveIniFileTupleFields.DirProperty), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(RemoveIniFileTupleFields.Section), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(RemoveIniFileTupleFields.Key), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(RemoveIniFileTupleFields.Value), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(RemoveIniFileTupleFields.Action), IntermediateFieldType.Number), | ||
| 20 | new IntermediateFieldDefinition(nameof(RemoveIniFileTupleFields.Component_), IntermediateFieldType.String), | ||
| 21 | }, | ||
| 22 | typeof(RemoveIniFileTuple)); | ||
| 23 | } | ||
| 24 | } | ||
| 25 | |||
| 26 | namespace WixToolset.Data.Tuples | ||
| 27 | { | ||
| 28 | public enum RemoveIniFileTupleFields | ||
| 29 | { | ||
| 30 | RemoveIniFile, | ||
| 31 | FileName, | ||
| 32 | DirProperty, | ||
| 33 | Section, | ||
| 34 | Key, | ||
| 35 | Value, | ||
| 36 | Action, | ||
| 37 | Component_, | ||
| 38 | } | ||
| 39 | |||
| 40 | public class RemoveIniFileTuple : IntermediateTuple | ||
| 41 | { | ||
| 42 | public RemoveIniFileTuple() : base(TupleDefinitions.RemoveIniFile, null, null) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public RemoveIniFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.RemoveIniFile, sourceLineNumber, id) | ||
| 47 | { | ||
| 48 | } | ||
| 49 | |||
| 50 | public IntermediateField this[RemoveIniFileTupleFields index] => this.Fields[(int)index]; | ||
| 51 | |||
| 52 | public string RemoveIniFile | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.RemoveIniFile]?.Value; | ||
| 55 | set => this.Set((int)RemoveIniFileTupleFields.RemoveIniFile, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string FileName | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.FileName]?.Value; | ||
| 61 | set => this.Set((int)RemoveIniFileTupleFields.FileName, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string DirProperty | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.DirProperty]?.Value; | ||
| 67 | set => this.Set((int)RemoveIniFileTupleFields.DirProperty, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Section | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.Section]?.Value; | ||
| 73 | set => this.Set((int)RemoveIniFileTupleFields.Section, value); | ||
| 74 | } | ||
| 75 | |||
| 76 | public string Key | ||
| 77 | { | ||
| 78 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.Key]?.Value; | ||
| 79 | set => this.Set((int)RemoveIniFileTupleFields.Key, value); | ||
| 80 | } | ||
| 81 | |||
| 82 | public string Value | ||
| 83 | { | ||
| 84 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.Value]?.Value; | ||
| 85 | set => this.Set((int)RemoveIniFileTupleFields.Value, value); | ||
| 86 | } | ||
| 87 | |||
| 88 | public int Action | ||
| 89 | { | ||
| 90 | get => (int)this.Fields[(int)RemoveIniFileTupleFields.Action]?.Value; | ||
| 91 | set => this.Set((int)RemoveIniFileTupleFields.Action, value); | ||
| 92 | } | ||
| 93 | |||
| 94 | public string Component_ | ||
| 95 | { | ||
| 96 | get => (string)this.Fields[(int)RemoveIniFileTupleFields.Component_]?.Value; | ||
| 97 | set => this.Set((int)RemoveIniFileTupleFields.Component_, value); | ||
| 98 | } | ||
| 99 | } | ||
| 100 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/RemoveRegistryTuple.cs b/src/WixToolset.Data/Tuples/RemoveRegistryTuple.cs new file mode 100644 index 00000000..154aad67 --- /dev/null +++ b/src/WixToolset.Data/Tuples/RemoveRegistryTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition RemoveRegistry = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.RemoveRegistry, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(RemoveRegistryTupleFields.RemoveRegistry), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(RemoveRegistryTupleFields.Root), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(RemoveRegistryTupleFields.Key), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(RemoveRegistryTupleFields.Name), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(RemoveRegistryTupleFields.Component_), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(RemoveRegistryTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum RemoveRegistryTupleFields | ||
| 26 | { | ||
| 27 | RemoveRegistry, | ||
| 28 | Root, | ||
| 29 | Key, | ||
| 30 | Name, | ||
| 31 | Component_, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class RemoveRegistryTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public RemoveRegistryTuple() : base(TupleDefinitions.RemoveRegistry, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public RemoveRegistryTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.RemoveRegistry, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[RemoveRegistryTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string RemoveRegistry | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)RemoveRegistryTupleFields.RemoveRegistry]?.Value; | ||
| 49 | set => this.Set((int)RemoveRegistryTupleFields.RemoveRegistry, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public int Root | ||
| 53 | { | ||
| 54 | get => (int)this.Fields[(int)RemoveRegistryTupleFields.Root]?.Value; | ||
| 55 | set => this.Set((int)RemoveRegistryTupleFields.Root, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string Key | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)RemoveRegistryTupleFields.Key]?.Value; | ||
| 61 | set => this.Set((int)RemoveRegistryTupleFields.Key, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string Name | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)RemoveRegistryTupleFields.Name]?.Value; | ||
| 67 | set => this.Set((int)RemoveRegistryTupleFields.Name, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Component_ | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)RemoveRegistryTupleFields.Component_]?.Value; | ||
| 73 | set => this.Set((int)RemoveRegistryTupleFields.Component_, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ReserveCostTuple.cs b/src/WixToolset.Data/Tuples/ReserveCostTuple.cs new file mode 100644 index 00000000..769ac4b2 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ReserveCostTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ReserveCost = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ReserveCost, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ReserveCostTupleFields.ReserveKey), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ReserveCostTupleFields.Component_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ReserveCostTupleFields.ReserveFolder), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ReserveCostTupleFields.ReserveLocal), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(ReserveCostTupleFields.ReserveSource), IntermediateFieldType.Number), | ||
| 18 | }, | ||
| 19 | typeof(ReserveCostTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum ReserveCostTupleFields | ||
| 26 | { | ||
| 27 | ReserveKey, | ||
| 28 | Component_, | ||
| 29 | ReserveFolder, | ||
| 30 | ReserveLocal, | ||
| 31 | ReserveSource, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class ReserveCostTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public ReserveCostTuple() : base(TupleDefinitions.ReserveCost, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public ReserveCostTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ReserveCost, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[ReserveCostTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string ReserveKey | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)ReserveCostTupleFields.ReserveKey]?.Value; | ||
| 49 | set => this.Set((int)ReserveCostTupleFields.ReserveKey, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string Component_ | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)ReserveCostTupleFields.Component_]?.Value; | ||
| 55 | set => this.Set((int)ReserveCostTupleFields.Component_, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string ReserveFolder | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)ReserveCostTupleFields.ReserveFolder]?.Value; | ||
| 61 | set => this.Set((int)ReserveCostTupleFields.ReserveFolder, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public int ReserveLocal | ||
| 65 | { | ||
| 66 | get => (int)this.Fields[(int)ReserveCostTupleFields.ReserveLocal]?.Value; | ||
| 67 | set => this.Set((int)ReserveCostTupleFields.ReserveLocal, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public int ReserveSource | ||
| 71 | { | ||
| 72 | get => (int)this.Fields[(int)ReserveCostTupleFields.ReserveSource]?.Value; | ||
| 73 | set => this.Set((int)ReserveCostTupleFields.ReserveSource, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/SFPCatalogTuple.cs b/src/WixToolset.Data/Tuples/SFPCatalogTuple.cs new file mode 100644 index 00000000..5db5f984 --- /dev/null +++ b/src/WixToolset.Data/Tuples/SFPCatalogTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition SFPCatalog = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.SFPCatalog, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(SFPCatalogTupleFields.SFPCatalog), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(SFPCatalogTupleFields.Catalog), IntermediateFieldType.Path), | ||
| 15 | new IntermediateFieldDefinition(nameof(SFPCatalogTupleFields.Dependency), IntermediateFieldType.String), | ||
| 16 | }, | ||
| 17 | typeof(SFPCatalogTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum SFPCatalogTupleFields | ||
| 24 | { | ||
| 25 | SFPCatalog, | ||
| 26 | Catalog, | ||
| 27 | Dependency, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class SFPCatalogTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public SFPCatalogTuple() : base(TupleDefinitions.SFPCatalog, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public SFPCatalogTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.SFPCatalog, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[SFPCatalogTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string SFPCatalog | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)SFPCatalogTupleFields.SFPCatalog]?.Value; | ||
| 45 | set => this.Set((int)SFPCatalogTupleFields.SFPCatalog, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Catalog | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)SFPCatalogTupleFields.Catalog]?.Value; | ||
| 51 | set => this.Set((int)SFPCatalogTupleFields.Catalog, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string Dependency | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)SFPCatalogTupleFields.Dependency]?.Value; | ||
| 57 | set => this.Set((int)SFPCatalogTupleFields.Dependency, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/SelfRegTuple.cs b/src/WixToolset.Data/Tuples/SelfRegTuple.cs new file mode 100644 index 00000000..b32127f3 --- /dev/null +++ b/src/WixToolset.Data/Tuples/SelfRegTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition SelfReg = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.SelfReg, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(SelfRegTupleFields.File_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(SelfRegTupleFields.Cost), IntermediateFieldType.Number), | ||
| 15 | }, | ||
| 16 | typeof(SelfRegTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum SelfRegTupleFields | ||
| 23 | { | ||
| 24 | File_, | ||
| 25 | Cost, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class SelfRegTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public SelfRegTuple() : base(TupleDefinitions.SelfReg, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public SelfRegTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.SelfReg, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[SelfRegTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string File_ | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)SelfRegTupleFields.File_]?.Value; | ||
| 43 | set => this.Set((int)SelfRegTupleFields.File_, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public int Cost | ||
| 47 | { | ||
| 48 | get => (int)this.Fields[(int)SelfRegTupleFields.Cost]?.Value; | ||
| 49 | set => this.Set((int)SelfRegTupleFields.Cost, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ServiceControlTuple.cs b/src/WixToolset.Data/Tuples/ServiceControlTuple.cs new file mode 100644 index 00000000..a2cdc7a0 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ServiceControlTuple.cs | |||
| @@ -0,0 +1,84 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ServiceControl = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ServiceControl, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ServiceControlTupleFields.ServiceControl), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ServiceControlTupleFields.Name), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ServiceControlTupleFields.Event), IntermediateFieldType.Number), | ||
| 16 | new IntermediateFieldDefinition(nameof(ServiceControlTupleFields.Arguments), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(ServiceControlTupleFields.Wait), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(ServiceControlTupleFields.Component_), IntermediateFieldType.String), | ||
| 19 | }, | ||
| 20 | typeof(ServiceControlTuple)); | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace WixToolset.Data.Tuples | ||
| 25 | { | ||
| 26 | public enum ServiceControlTupleFields | ||
| 27 | { | ||
| 28 | ServiceControl, | ||
| 29 | Name, | ||
| 30 | Event, | ||
| 31 | Arguments, | ||
| 32 | Wait, | ||
| 33 | Component_, | ||
| 34 | } | ||
| 35 | |||
| 36 | public class ServiceControlTuple : IntermediateTuple | ||
| 37 | { | ||
| 38 | public ServiceControlTuple() : base(TupleDefinitions.ServiceControl, null, null) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public ServiceControlTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ServiceControl, sourceLineNumber, id) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public IntermediateField this[ServiceControlTupleFields index] => this.Fields[(int)index]; | ||
| 47 | |||
| 48 | public string ServiceControl | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)ServiceControlTupleFields.ServiceControl]?.Value; | ||
| 51 | set => this.Set((int)ServiceControlTupleFields.ServiceControl, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string Name | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)ServiceControlTupleFields.Name]?.Value; | ||
| 57 | set => this.Set((int)ServiceControlTupleFields.Name, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public int Event | ||
| 61 | { | ||
| 62 | get => (int)this.Fields[(int)ServiceControlTupleFields.Event]?.Value; | ||
| 63 | set => this.Set((int)ServiceControlTupleFields.Event, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public string Arguments | ||
| 67 | { | ||
| 68 | get => (string)this.Fields[(int)ServiceControlTupleFields.Arguments]?.Value; | ||
| 69 | set => this.Set((int)ServiceControlTupleFields.Arguments, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public int Wait | ||
| 73 | { | ||
| 74 | get => (int)this.Fields[(int)ServiceControlTupleFields.Wait]?.Value; | ||
| 75 | set => this.Set((int)ServiceControlTupleFields.Wait, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public string Component_ | ||
| 79 | { | ||
| 80 | get => (string)this.Fields[(int)ServiceControlTupleFields.Component_]?.Value; | ||
| 81 | set => this.Set((int)ServiceControlTupleFields.Component_, value); | ||
| 82 | } | ||
| 83 | } | ||
| 84 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ServiceInstallTuple.cs b/src/WixToolset.Data/Tuples/ServiceInstallTuple.cs new file mode 100644 index 00000000..cd02d21e --- /dev/null +++ b/src/WixToolset.Data/Tuples/ServiceInstallTuple.cs | |||
| @@ -0,0 +1,140 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ServiceInstall = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.ServiceInstall, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.ServiceInstall), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Name), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.DisplayName), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.ServiceType), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.StartType), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.ErrorControl), IntermediateFieldType.Number), | ||
| 19 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.LoadOrderGroup), IntermediateFieldType.String), | ||
| 20 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Dependencies), IntermediateFieldType.String), | ||
| 21 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.StartName), IntermediateFieldType.String), | ||
| 22 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Password), IntermediateFieldType.String), | ||
| 23 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Arguments), IntermediateFieldType.String), | ||
| 24 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Component_), IntermediateFieldType.String), | ||
| 25 | new IntermediateFieldDefinition(nameof(ServiceInstallTupleFields.Description), IntermediateFieldType.String), | ||
| 26 | }, | ||
| 27 | typeof(ServiceInstallTuple)); | ||
| 28 | } | ||
| 29 | } | ||
| 30 | |||
| 31 | namespace WixToolset.Data.Tuples | ||
| 32 | { | ||
| 33 | public enum ServiceInstallTupleFields | ||
| 34 | { | ||
| 35 | ServiceInstall, | ||
| 36 | Name, | ||
| 37 | DisplayName, | ||
| 38 | ServiceType, | ||
| 39 | StartType, | ||
| 40 | ErrorControl, | ||
| 41 | LoadOrderGroup, | ||
| 42 | Dependencies, | ||
| 43 | StartName, | ||
| 44 | Password, | ||
| 45 | Arguments, | ||
| 46 | Component_, | ||
| 47 | Description, | ||
| 48 | } | ||
| 49 | |||
| 50 | public class ServiceInstallTuple : IntermediateTuple | ||
| 51 | { | ||
| 52 | public ServiceInstallTuple() : base(TupleDefinitions.ServiceInstall, null, null) | ||
| 53 | { | ||
| 54 | } | ||
| 55 | |||
| 56 | public ServiceInstallTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.ServiceInstall, sourceLineNumber, id) | ||
| 57 | { | ||
| 58 | } | ||
| 59 | |||
| 60 | public IntermediateField this[ServiceInstallTupleFields index] => this.Fields[(int)index]; | ||
| 61 | |||
| 62 | public string ServiceInstall | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)ServiceInstallTupleFields.ServiceInstall]?.Value; | ||
| 65 | set => this.Set((int)ServiceInstallTupleFields.ServiceInstall, value); | ||
| 66 | } | ||
| 67 | |||
| 68 | public string Name | ||
| 69 | { | ||
| 70 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Name]?.Value; | ||
| 71 | set => this.Set((int)ServiceInstallTupleFields.Name, value); | ||
| 72 | } | ||
| 73 | |||
| 74 | public string DisplayName | ||
| 75 | { | ||
| 76 | get => (string)this.Fields[(int)ServiceInstallTupleFields.DisplayName]?.Value; | ||
| 77 | set => this.Set((int)ServiceInstallTupleFields.DisplayName, value); | ||
| 78 | } | ||
| 79 | |||
| 80 | public int ServiceType | ||
| 81 | { | ||
| 82 | get => (int)this.Fields[(int)ServiceInstallTupleFields.ServiceType]?.Value; | ||
| 83 | set => this.Set((int)ServiceInstallTupleFields.ServiceType, value); | ||
| 84 | } | ||
| 85 | |||
| 86 | public int StartType | ||
| 87 | { | ||
| 88 | get => (int)this.Fields[(int)ServiceInstallTupleFields.StartType]?.Value; | ||
| 89 | set => this.Set((int)ServiceInstallTupleFields.StartType, value); | ||
| 90 | } | ||
| 91 | |||
| 92 | public int ErrorControl | ||
| 93 | { | ||
| 94 | get => (int)this.Fields[(int)ServiceInstallTupleFields.ErrorControl]?.Value; | ||
| 95 | set => this.Set((int)ServiceInstallTupleFields.ErrorControl, value); | ||
| 96 | } | ||
| 97 | |||
| 98 | public string LoadOrderGroup | ||
| 99 | { | ||
| 100 | get => (string)this.Fields[(int)ServiceInstallTupleFields.LoadOrderGroup]?.Value; | ||
| 101 | set => this.Set((int)ServiceInstallTupleFields.LoadOrderGroup, value); | ||
| 102 | } | ||
| 103 | |||
| 104 | public string Dependencies | ||
| 105 | { | ||
| 106 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Dependencies]?.Value; | ||
| 107 | set => this.Set((int)ServiceInstallTupleFields.Dependencies, value); | ||
| 108 | } | ||
| 109 | |||
| 110 | public string StartName | ||
| 111 | { | ||
| 112 | get => (string)this.Fields[(int)ServiceInstallTupleFields.StartName]?.Value; | ||
| 113 | set => this.Set((int)ServiceInstallTupleFields.StartName, value); | ||
| 114 | } | ||
| 115 | |||
| 116 | public string Password | ||
| 117 | { | ||
| 118 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Password]?.Value; | ||
| 119 | set => this.Set((int)ServiceInstallTupleFields.Password, value); | ||
| 120 | } | ||
| 121 | |||
| 122 | public string Arguments | ||
| 123 | { | ||
| 124 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Arguments]?.Value; | ||
| 125 | set => this.Set((int)ServiceInstallTupleFields.Arguments, value); | ||
| 126 | } | ||
| 127 | |||
| 128 | public string Component_ | ||
| 129 | { | ||
| 130 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Component_]?.Value; | ||
| 131 | set => this.Set((int)ServiceInstallTupleFields.Component_, value); | ||
| 132 | } | ||
| 133 | |||
| 134 | public string Description | ||
| 135 | { | ||
| 136 | get => (string)this.Fields[(int)ServiceInstallTupleFields.Description]?.Value; | ||
| 137 | set => this.Set((int)ServiceInstallTupleFields.Description, value); | ||
| 138 | } | ||
| 139 | } | ||
| 140 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/ShortcutTuple.cs b/src/WixToolset.Data/Tuples/ShortcutTuple.cs new file mode 100644 index 00000000..0591e7f4 --- /dev/null +++ b/src/WixToolset.Data/Tuples/ShortcutTuple.cs | |||
| @@ -0,0 +1,164 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Shortcut = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Shortcut, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.Shortcut), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.Directory_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.Name), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.Component_), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.Target), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.Arguments), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.Description), IntermediateFieldType.String), | ||
| 20 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.Hotkey), IntermediateFieldType.Number), | ||
| 21 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.Icon_), IntermediateFieldType.String), | ||
| 22 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.IconIndex), IntermediateFieldType.Number), | ||
| 23 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.ShowCmd), IntermediateFieldType.Number), | ||
| 24 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.WkDir), IntermediateFieldType.String), | ||
| 25 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.DisplayResourceDLL), IntermediateFieldType.String), | ||
| 26 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.DisplayResourceId), IntermediateFieldType.Number), | ||
| 27 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.DescriptionResourceDLL), IntermediateFieldType.String), | ||
| 28 | new IntermediateFieldDefinition(nameof(ShortcutTupleFields.DescriptionResourceId), IntermediateFieldType.Number), | ||
| 29 | }, | ||
| 30 | typeof(ShortcutTuple)); | ||
| 31 | } | ||
| 32 | } | ||
| 33 | |||
| 34 | namespace WixToolset.Data.Tuples | ||
| 35 | { | ||
| 36 | public enum ShortcutTupleFields | ||
| 37 | { | ||
| 38 | Shortcut, | ||
| 39 | Directory_, | ||
| 40 | Name, | ||
| 41 | Component_, | ||
| 42 | Target, | ||
| 43 | Arguments, | ||
| 44 | Description, | ||
| 45 | Hotkey, | ||
| 46 | Icon_, | ||
| 47 | IconIndex, | ||
| 48 | ShowCmd, | ||
| 49 | WkDir, | ||
| 50 | DisplayResourceDLL, | ||
| 51 | DisplayResourceId, | ||
| 52 | DescriptionResourceDLL, | ||
| 53 | DescriptionResourceId, | ||
| 54 | } | ||
| 55 | |||
| 56 | public class ShortcutTuple : IntermediateTuple | ||
| 57 | { | ||
| 58 | public ShortcutTuple() : base(TupleDefinitions.Shortcut, null, null) | ||
| 59 | { | ||
| 60 | } | ||
| 61 | |||
| 62 | public ShortcutTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Shortcut, sourceLineNumber, id) | ||
| 63 | { | ||
| 64 | } | ||
| 65 | |||
| 66 | public IntermediateField this[ShortcutTupleFields index] => this.Fields[(int)index]; | ||
| 67 | |||
| 68 | public string Shortcut | ||
| 69 | { | ||
| 70 | get => (string)this.Fields[(int)ShortcutTupleFields.Shortcut]?.Value; | ||
| 71 | set => this.Set((int)ShortcutTupleFields.Shortcut, value); | ||
| 72 | } | ||
| 73 | |||
| 74 | public string Directory_ | ||
| 75 | { | ||
| 76 | get => (string)this.Fields[(int)ShortcutTupleFields.Directory_]?.Value; | ||
| 77 | set => this.Set((int)ShortcutTupleFields.Directory_, value); | ||
| 78 | } | ||
| 79 | |||
| 80 | public string Name | ||
| 81 | { | ||
| 82 | get => (string)this.Fields[(int)ShortcutTupleFields.Name]?.Value; | ||
| 83 | set => this.Set((int)ShortcutTupleFields.Name, value); | ||
| 84 | } | ||
| 85 | |||
| 86 | public string Component_ | ||
| 87 | { | ||
| 88 | get => (string)this.Fields[(int)ShortcutTupleFields.Component_]?.Value; | ||
| 89 | set => this.Set((int)ShortcutTupleFields.Component_, value); | ||
| 90 | } | ||
| 91 | |||
| 92 | public string Target | ||
| 93 | { | ||
| 94 | get => (string)this.Fields[(int)ShortcutTupleFields.Target]?.Value; | ||
| 95 | set => this.Set((int)ShortcutTupleFields.Target, value); | ||
| 96 | } | ||
| 97 | |||
| 98 | public string Arguments | ||
| 99 | { | ||
| 100 | get => (string)this.Fields[(int)ShortcutTupleFields.Arguments]?.Value; | ||
| 101 | set => this.Set((int)ShortcutTupleFields.Arguments, value); | ||
| 102 | } | ||
| 103 | |||
| 104 | public string Description | ||
| 105 | { | ||
| 106 | get => (string)this.Fields[(int)ShortcutTupleFields.Description]?.Value; | ||
| 107 | set => this.Set((int)ShortcutTupleFields.Description, value); | ||
| 108 | } | ||
| 109 | |||
| 110 | public int Hotkey | ||
| 111 | { | ||
| 112 | get => (int)this.Fields[(int)ShortcutTupleFields.Hotkey]?.Value; | ||
| 113 | set => this.Set((int)ShortcutTupleFields.Hotkey, value); | ||
| 114 | } | ||
| 115 | |||
| 116 | public string Icon_ | ||
| 117 | { | ||
| 118 | get => (string)this.Fields[(int)ShortcutTupleFields.Icon_]?.Value; | ||
| 119 | set => this.Set((int)ShortcutTupleFields.Icon_, value); | ||
| 120 | } | ||
| 121 | |||
| 122 | public int IconIndex | ||
| 123 | { | ||
| 124 | get => (int)this.Fields[(int)ShortcutTupleFields.IconIndex]?.Value; | ||
| 125 | set => this.Set((int)ShortcutTupleFields.IconIndex, value); | ||
| 126 | } | ||
| 127 | |||
| 128 | public int ShowCmd | ||
| 129 | { | ||
| 130 | get => (int)this.Fields[(int)ShortcutTupleFields.ShowCmd]?.Value; | ||
| 131 | set => this.Set((int)ShortcutTupleFields.ShowCmd, value); | ||
| 132 | } | ||
| 133 | |||
| 134 | public string WkDir | ||
| 135 | { | ||
| 136 | get => (string)this.Fields[(int)ShortcutTupleFields.WkDir]?.Value; | ||
| 137 | set => this.Set((int)ShortcutTupleFields.WkDir, value); | ||
| 138 | } | ||
| 139 | |||
| 140 | public string DisplayResourceDLL | ||
| 141 | { | ||
| 142 | get => (string)this.Fields[(int)ShortcutTupleFields.DisplayResourceDLL]?.Value; | ||
| 143 | set => this.Set((int)ShortcutTupleFields.DisplayResourceDLL, value); | ||
| 144 | } | ||
| 145 | |||
| 146 | public int DisplayResourceId | ||
| 147 | { | ||
| 148 | get => (int)this.Fields[(int)ShortcutTupleFields.DisplayResourceId]?.Value; | ||
| 149 | set => this.Set((int)ShortcutTupleFields.DisplayResourceId, value); | ||
| 150 | } | ||
| 151 | |||
| 152 | public string DescriptionResourceDLL | ||
| 153 | { | ||
| 154 | get => (string)this.Fields[(int)ShortcutTupleFields.DescriptionResourceDLL]?.Value; | ||
| 155 | set => this.Set((int)ShortcutTupleFields.DescriptionResourceDLL, value); | ||
| 156 | } | ||
| 157 | |||
| 158 | public int DescriptionResourceId | ||
| 159 | { | ||
| 160 | get => (int)this.Fields[(int)ShortcutTupleFields.DescriptionResourceId]?.Value; | ||
| 161 | set => this.Set((int)ShortcutTupleFields.DescriptionResourceId, value); | ||
| 162 | } | ||
| 163 | } | ||
| 164 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/SignatureTuple.cs b/src/WixToolset.Data/Tuples/SignatureTuple.cs new file mode 100644 index 00000000..b8dbf308 --- /dev/null +++ b/src/WixToolset.Data/Tuples/SignatureTuple.cs | |||
| @@ -0,0 +1,108 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Signature = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Signature, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.Signature), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.FileName), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.MinVersion), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.MaxVersion), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.MinSize), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.MaxSize), IntermediateFieldType.Number), | ||
| 19 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.MinDate), IntermediateFieldType.Number), | ||
| 20 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.MaxDate), IntermediateFieldType.Number), | ||
| 21 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.Languages), IntermediateFieldType.String), | ||
| 22 | }, | ||
| 23 | typeof(SignatureTuple)); | ||
| 24 | } | ||
| 25 | } | ||
| 26 | |||
| 27 | namespace WixToolset.Data.Tuples | ||
| 28 | { | ||
| 29 | public enum SignatureTupleFields | ||
| 30 | { | ||
| 31 | Signature, | ||
| 32 | FileName, | ||
| 33 | MinVersion, | ||
| 34 | MaxVersion, | ||
| 35 | MinSize, | ||
| 36 | MaxSize, | ||
| 37 | MinDate, | ||
| 38 | MaxDate, | ||
| 39 | Languages, | ||
| 40 | } | ||
| 41 | |||
| 42 | public class SignatureTuple : IntermediateTuple | ||
| 43 | { | ||
| 44 | public SignatureTuple() : base(TupleDefinitions.Signature, null, null) | ||
| 45 | { | ||
| 46 | } | ||
| 47 | |||
| 48 | public SignatureTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Signature, sourceLineNumber, id) | ||
| 49 | { | ||
| 50 | } | ||
| 51 | |||
| 52 | public IntermediateField this[SignatureTupleFields index] => this.Fields[(int)index]; | ||
| 53 | |||
| 54 | public string Signature | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)SignatureTupleFields.Signature]?.Value; | ||
| 57 | set => this.Set((int)SignatureTupleFields.Signature, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public string FileName | ||
| 61 | { | ||
| 62 | get => (string)this.Fields[(int)SignatureTupleFields.FileName]?.Value; | ||
| 63 | set => this.Set((int)SignatureTupleFields.FileName, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public string MinVersion | ||
| 67 | { | ||
| 68 | get => (string)this.Fields[(int)SignatureTupleFields.MinVersion]?.Value; | ||
| 69 | set => this.Set((int)SignatureTupleFields.MinVersion, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public string MaxVersion | ||
| 73 | { | ||
| 74 | get => (string)this.Fields[(int)SignatureTupleFields.MaxVersion]?.Value; | ||
| 75 | set => this.Set((int)SignatureTupleFields.MaxVersion, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public int MinSize | ||
| 79 | { | ||
| 80 | get => (int)this.Fields[(int)SignatureTupleFields.MinSize]?.Value; | ||
| 81 | set => this.Set((int)SignatureTupleFields.MinSize, value); | ||
| 82 | } | ||
| 83 | |||
| 84 | public int MaxSize | ||
| 85 | { | ||
| 86 | get => (int)this.Fields[(int)SignatureTupleFields.MaxSize]?.Value; | ||
| 87 | set => this.Set((int)SignatureTupleFields.MaxSize, value); | ||
| 88 | } | ||
| 89 | |||
| 90 | public int MinDate | ||
| 91 | { | ||
| 92 | get => (int)this.Fields[(int)SignatureTupleFields.MinDate]?.Value; | ||
| 93 | set => this.Set((int)SignatureTupleFields.MinDate, value); | ||
| 94 | } | ||
| 95 | |||
| 96 | public int MaxDate | ||
| 97 | { | ||
| 98 | get => (int)this.Fields[(int)SignatureTupleFields.MaxDate]?.Value; | ||
| 99 | set => this.Set((int)SignatureTupleFields.MaxDate, value); | ||
| 100 | } | ||
| 101 | |||
| 102 | public string Languages | ||
| 103 | { | ||
| 104 | get => (string)this.Fields[(int)SignatureTupleFields.Languages]?.Value; | ||
| 105 | set => this.Set((int)SignatureTupleFields.Languages, value); | ||
| 106 | } | ||
| 107 | } | ||
| 108 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/TargetFiles_OptionalDataTuple.cs b/src/WixToolset.Data/Tuples/TargetFiles_OptionalDataTuple.cs new file mode 100644 index 00000000..449c4afe --- /dev/null +++ b/src/WixToolset.Data/Tuples/TargetFiles_OptionalDataTuple.cs | |||
| @@ -0,0 +1,84 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition TargetFiles_OptionalData = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.TargetFiles_OptionalData, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(TargetFiles_OptionalDataTupleFields.Target), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(TargetFiles_OptionalDataTupleFields.FTK), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(TargetFiles_OptionalDataTupleFields.SymbolPaths), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(TargetFiles_OptionalDataTupleFields.IgnoreOffsets), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(TargetFiles_OptionalDataTupleFields.IgnoreLengths), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(TargetFiles_OptionalDataTupleFields.RetainOffsets), IntermediateFieldType.String), | ||
| 19 | }, | ||
| 20 | typeof(TargetFiles_OptionalDataTuple)); | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace WixToolset.Data.Tuples | ||
| 25 | { | ||
| 26 | public enum TargetFiles_OptionalDataTupleFields | ||
| 27 | { | ||
| 28 | Target, | ||
| 29 | FTK, | ||
| 30 | SymbolPaths, | ||
| 31 | IgnoreOffsets, | ||
| 32 | IgnoreLengths, | ||
| 33 | RetainOffsets, | ||
| 34 | } | ||
| 35 | |||
| 36 | public class TargetFiles_OptionalDataTuple : IntermediateTuple | ||
| 37 | { | ||
| 38 | public TargetFiles_OptionalDataTuple() : base(TupleDefinitions.TargetFiles_OptionalData, null, null) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public TargetFiles_OptionalDataTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.TargetFiles_OptionalData, sourceLineNumber, id) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public IntermediateField this[TargetFiles_OptionalDataTupleFields index] => this.Fields[(int)index]; | ||
| 47 | |||
| 48 | public string Target | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)TargetFiles_OptionalDataTupleFields.Target]?.Value; | ||
| 51 | set => this.Set((int)TargetFiles_OptionalDataTupleFields.Target, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string FTK | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)TargetFiles_OptionalDataTupleFields.FTK]?.Value; | ||
| 57 | set => this.Set((int)TargetFiles_OptionalDataTupleFields.FTK, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public string SymbolPaths | ||
| 61 | { | ||
| 62 | get => (string)this.Fields[(int)TargetFiles_OptionalDataTupleFields.SymbolPaths]?.Value; | ||
| 63 | set => this.Set((int)TargetFiles_OptionalDataTupleFields.SymbolPaths, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public string IgnoreOffsets | ||
| 67 | { | ||
| 68 | get => (string)this.Fields[(int)TargetFiles_OptionalDataTupleFields.IgnoreOffsets]?.Value; | ||
| 69 | set => this.Set((int)TargetFiles_OptionalDataTupleFields.IgnoreOffsets, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public string IgnoreLengths | ||
| 73 | { | ||
| 74 | get => (string)this.Fields[(int)TargetFiles_OptionalDataTupleFields.IgnoreLengths]?.Value; | ||
| 75 | set => this.Set((int)TargetFiles_OptionalDataTupleFields.IgnoreLengths, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public string RetainOffsets | ||
| 79 | { | ||
| 80 | get => (string)this.Fields[(int)TargetFiles_OptionalDataTupleFields.RetainOffsets]?.Value; | ||
| 81 | set => this.Set((int)TargetFiles_OptionalDataTupleFields.RetainOffsets, value); | ||
| 82 | } | ||
| 83 | } | ||
| 84 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/TargetImagesTuple.cs b/src/WixToolset.Data/Tuples/TargetImagesTuple.cs new file mode 100644 index 00000000..0cb74ec9 --- /dev/null +++ b/src/WixToolset.Data/Tuples/TargetImagesTuple.cs | |||
| @@ -0,0 +1,92 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition TargetImages = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.TargetImages, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(TargetImagesTupleFields.Target), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(TargetImagesTupleFields.MsiPath), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(TargetImagesTupleFields.SymbolPaths), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(TargetImagesTupleFields.Upgraded), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(TargetImagesTupleFields.Order), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(TargetImagesTupleFields.ProductValidateFlags), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(TargetImagesTupleFields.IgnoreMissingSrcFiles), IntermediateFieldType.Number), | ||
| 20 | }, | ||
| 21 | typeof(TargetImagesTuple)); | ||
| 22 | } | ||
| 23 | } | ||
| 24 | |||
| 25 | namespace WixToolset.Data.Tuples | ||
| 26 | { | ||
| 27 | public enum TargetImagesTupleFields | ||
| 28 | { | ||
| 29 | Target, | ||
| 30 | MsiPath, | ||
| 31 | SymbolPaths, | ||
| 32 | Upgraded, | ||
| 33 | Order, | ||
| 34 | ProductValidateFlags, | ||
| 35 | IgnoreMissingSrcFiles, | ||
| 36 | } | ||
| 37 | |||
| 38 | public class TargetImagesTuple : IntermediateTuple | ||
| 39 | { | ||
| 40 | public TargetImagesTuple() : base(TupleDefinitions.TargetImages, null, null) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public TargetImagesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.TargetImages, sourceLineNumber, id) | ||
| 45 | { | ||
| 46 | } | ||
| 47 | |||
| 48 | public IntermediateField this[TargetImagesTupleFields index] => this.Fields[(int)index]; | ||
| 49 | |||
| 50 | public string Target | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)TargetImagesTupleFields.Target]?.Value; | ||
| 53 | set => this.Set((int)TargetImagesTupleFields.Target, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string MsiPath | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)TargetImagesTupleFields.MsiPath]?.Value; | ||
| 59 | set => this.Set((int)TargetImagesTupleFields.MsiPath, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string SymbolPaths | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)TargetImagesTupleFields.SymbolPaths]?.Value; | ||
| 65 | set => this.Set((int)TargetImagesTupleFields.SymbolPaths, value); | ||
| 66 | } | ||
| 67 | |||
| 68 | public string Upgraded | ||
| 69 | { | ||
| 70 | get => (string)this.Fields[(int)TargetImagesTupleFields.Upgraded]?.Value; | ||
| 71 | set => this.Set((int)TargetImagesTupleFields.Upgraded, value); | ||
| 72 | } | ||
| 73 | |||
| 74 | public int Order | ||
| 75 | { | ||
| 76 | get => (int)this.Fields[(int)TargetImagesTupleFields.Order]?.Value; | ||
| 77 | set => this.Set((int)TargetImagesTupleFields.Order, value); | ||
| 78 | } | ||
| 79 | |||
| 80 | public string ProductValidateFlags | ||
| 81 | { | ||
| 82 | get => (string)this.Fields[(int)TargetImagesTupleFields.ProductValidateFlags]?.Value; | ||
| 83 | set => this.Set((int)TargetImagesTupleFields.ProductValidateFlags, value); | ||
| 84 | } | ||
| 85 | |||
| 86 | public int IgnoreMissingSrcFiles | ||
| 87 | { | ||
| 88 | get => (int)this.Fields[(int)TargetImagesTupleFields.IgnoreMissingSrcFiles]?.Value; | ||
| 89 | set => this.Set((int)TargetImagesTupleFields.IgnoreMissingSrcFiles, value); | ||
| 90 | } | ||
| 91 | } | ||
| 92 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/TextStyleTuple.cs b/src/WixToolset.Data/Tuples/TextStyleTuple.cs new file mode 100644 index 00000000..20ec878a --- /dev/null +++ b/src/WixToolset.Data/Tuples/TextStyleTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition TextStyle = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.TextStyle, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(TextStyleTupleFields.TextStyle), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(TextStyleTupleFields.FaceName), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(TextStyleTupleFields.Size), IntermediateFieldType.Number), | ||
| 16 | new IntermediateFieldDefinition(nameof(TextStyleTupleFields.Color), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(TextStyleTupleFields.StyleBits), IntermediateFieldType.Number), | ||
| 18 | }, | ||
| 19 | typeof(TextStyleTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum TextStyleTupleFields | ||
| 26 | { | ||
| 27 | TextStyle, | ||
| 28 | FaceName, | ||
| 29 | Size, | ||
| 30 | Color, | ||
| 31 | StyleBits, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class TextStyleTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public TextStyleTuple() : base(TupleDefinitions.TextStyle, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public TextStyleTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.TextStyle, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[TextStyleTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string TextStyle | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)TextStyleTupleFields.TextStyle]?.Value; | ||
| 49 | set => this.Set((int)TextStyleTupleFields.TextStyle, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string FaceName | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)TextStyleTupleFields.FaceName]?.Value; | ||
| 55 | set => this.Set((int)TextStyleTupleFields.FaceName, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public int Size | ||
| 59 | { | ||
| 60 | get => (int)this.Fields[(int)TextStyleTupleFields.Size]?.Value; | ||
| 61 | set => this.Set((int)TextStyleTupleFields.Size, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public int Color | ||
| 65 | { | ||
| 66 | get => (int)this.Fields[(int)TextStyleTupleFields.Color]?.Value; | ||
| 67 | set => this.Set((int)TextStyleTupleFields.Color, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public int StyleBits | ||
| 71 | { | ||
| 72 | get => (int)this.Fields[(int)TextStyleTupleFields.StyleBits]?.Value; | ||
| 73 | set => this.Set((int)TextStyleTupleFields.StyleBits, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/TupleDefinitions.cs b/src/WixToolset.Data/Tuples/TupleDefinitions.cs new file mode 100644 index 00000000..b9ab2042 --- /dev/null +++ b/src/WixToolset.Data/Tuples/TupleDefinitions.cs | |||
| @@ -0,0 +1,815 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using System; | ||
| 6 | |||
| 7 | public enum TupleDefinitionType | ||
| 8 | { | ||
| 9 | _Streams, | ||
| 10 | _SummaryInformation, | ||
| 11 | _TransformView, | ||
| 12 | _Validation, | ||
| 13 | ActionText, | ||
| 14 | AdminExecuteSequence, | ||
| 15 | AdminUISequence, | ||
| 16 | AdvtExecuteSequence, | ||
| 17 | AppId, | ||
| 18 | AppSearch, | ||
| 19 | BBControl, | ||
| 20 | Billboard, | ||
| 21 | Binary, | ||
| 22 | BindImage, | ||
| 23 | CCPSearch, | ||
| 24 | CheckBox, | ||
| 25 | Class, | ||
| 26 | ComboBox, | ||
| 27 | CompLocator, | ||
| 28 | Complus, | ||
| 29 | Component, | ||
| 30 | Condition, | ||
| 31 | Control, | ||
| 32 | ControlCondition, | ||
| 33 | ControlEvent, | ||
| 34 | CreateFolder, | ||
| 35 | CustomAction, | ||
| 36 | Dialog, | ||
| 37 | Directory, | ||
| 38 | DrLocator, | ||
| 39 | DuplicateFile, | ||
| 40 | Environment, | ||
| 41 | Error, | ||
| 42 | EventMapping, | ||
| 43 | Extension, | ||
| 44 | ExternalFiles, | ||
| 45 | FamilyFileRanges, | ||
| 46 | Feature, | ||
| 47 | FeatureComponents, | ||
| 48 | File, | ||
| 49 | FileSFPCatalog, | ||
| 50 | Font, | ||
| 51 | Icon, | ||
| 52 | ImageFamilies, | ||
| 53 | IniFile, | ||
| 54 | IniLocator, | ||
| 55 | InstallExecuteSequence, | ||
| 56 | InstallUISequence, | ||
| 57 | IsolatedComponent, | ||
| 58 | LaunchCondition, | ||
| 59 | ListBox, | ||
| 60 | ListView, | ||
| 61 | LockPermissions, | ||
| 62 | Media, | ||
| 63 | MIME, | ||
| 64 | ModuleAdminExecuteSequence, | ||
| 65 | ModuleAdminUISequence, | ||
| 66 | ModuleAdvtExecuteSequence, | ||
| 67 | ModuleComponents, | ||
| 68 | ModuleConfiguration, | ||
| 69 | ModuleDependency, | ||
| 70 | ModuleExclusion, | ||
| 71 | ModuleIgnoreTable, | ||
| 72 | ModuleInstallExecuteSequence, | ||
| 73 | ModuleInstallUISequence, | ||
| 74 | ModuleSignature, | ||
| 75 | ModuleSubstitution, | ||
| 76 | MoveFile, | ||
| 77 | MsiAssembly, | ||
| 78 | MsiAssemblyName, | ||
| 79 | MsiDigitalCertificate, | ||
| 80 | MsiDigitalSignature, | ||
| 81 | MsiEmbeddedChainer, | ||
| 82 | MsiEmbeddedUI, | ||
| 83 | MsiFileHash, | ||
| 84 | MsiLockPermissionsEx, | ||
| 85 | MsiPackageCertificate, | ||
| 86 | MsiPatchCertificate, | ||
| 87 | MsiPatchHeaders, | ||
| 88 | MsiPatchMetadata, | ||
| 89 | MsiPatchOldAssemblyFile, | ||
| 90 | MsiPatchOldAssemblyName, | ||
| 91 | MsiPatchSequence, | ||
| 92 | MsiServiceConfig, | ||
| 93 | MsiServiceConfigFailureActions, | ||
| 94 | MsiShortcutProperty, | ||
| 95 | ODBCAttribute, | ||
| 96 | ODBCDataSource, | ||
| 97 | ODBCDriver, | ||
| 98 | ODBCSourceAttribute, | ||
| 99 | ODBCTranslator, | ||
| 100 | Patch, | ||
| 101 | PatchMetadata, | ||
| 102 | PatchPackage, | ||
| 103 | PatchSequence, | ||
| 104 | ProgId, | ||
| 105 | Properties, | ||
| 106 | Property, | ||
| 107 | PublishComponent, | ||
| 108 | RadioButton, | ||
| 109 | Registry, | ||
| 110 | RegLocator, | ||
| 111 | RemoveFile, | ||
| 112 | RemoveIniFile, | ||
| 113 | RemoveRegistry, | ||
| 114 | ReserveCost, | ||
| 115 | SelfReg, | ||
| 116 | ServiceControl, | ||
| 117 | ServiceInstall, | ||
| 118 | SFPCatalog, | ||
| 119 | Shortcut, | ||
| 120 | Signature, | ||
| 121 | TargetFiles_OptionalData, | ||
| 122 | TargetImages, | ||
| 123 | TextStyle, | ||
| 124 | TypeLib, | ||
| 125 | UIText, | ||
| 126 | Upgrade, | ||
| 127 | UpgradedFiles_OptionalData, | ||
| 128 | UpgradedFilesToIgnore, | ||
| 129 | UpgradedImages, | ||
| 130 | Verb, | ||
| 131 | WixAction, | ||
| 132 | WixApprovedExeForElevation, | ||
| 133 | WixBBControl, | ||
| 134 | WixBindUpdatedFiles, | ||
| 135 | WixBootstrapperApplication, | ||
| 136 | WixBuildInfo, | ||
| 137 | WixBundle, | ||
| 138 | WixBundleCatalog, | ||
| 139 | WixBundleContainer, | ||
| 140 | WixBundleExePackage, | ||
| 141 | WixBundleMsiFeature, | ||
| 142 | WixBundleMsiPackage, | ||
| 143 | WixBundleMsiProperty, | ||
| 144 | WixBundleMspPackage, | ||
| 145 | WixBundleMsuPackage, | ||
| 146 | WixBundlePackage, | ||
| 147 | WixBundlePackageCommandLine, | ||
| 148 | WixBundlePackageExitCode, | ||
| 149 | WixBundlePackageGroup, | ||
| 150 | WixBundlePatchTargetCode, | ||
| 151 | WixBundlePayload, | ||
| 152 | WixBundlePayloadGroup, | ||
| 153 | WixBundleProperties, | ||
| 154 | WixBundleRelatedPackage, | ||
| 155 | WixBundleRollbackBoundary, | ||
| 156 | WixBundleSlipstreamMsp, | ||
| 157 | WixBundleUpdate, | ||
| 158 | WixBundleVariable, | ||
| 159 | WixChain, | ||
| 160 | WixChainItem, | ||
| 161 | WixComplexReference, | ||
| 162 | WixComponentGroup, | ||
| 163 | WixComponentSearch, | ||
| 164 | WixControl, | ||
| 165 | WixCustomRow, | ||
| 166 | WixCustomTable, | ||
| 167 | WixDeltaPatchFile, | ||
| 168 | WixDeltaPatchSymbolPaths, | ||
| 169 | WixDirectory, | ||
| 170 | WixEnsureTable, | ||
| 171 | WixFeatureGroup, | ||
| 172 | WixFeatureModules, | ||
| 173 | WixFile, | ||
| 174 | WixFileSearch, | ||
| 175 | WixFragment, | ||
| 176 | WixGroup, | ||
| 177 | WixInstanceComponent, | ||
| 178 | WixInstanceTransforms, | ||
| 179 | WixMedia, | ||
| 180 | WixMediaTemplate, | ||
| 181 | WixMerge, | ||
| 182 | WixOrdering, | ||
| 183 | WixPackageFeatureInfo, | ||
| 184 | WixPackageProperties, | ||
| 185 | WixPatchBaseline, | ||
| 186 | WixPatchFamilyGroup, | ||
| 187 | WixPatchId, | ||
| 188 | WixPatchMetadata, | ||
| 189 | WixPatchRef, | ||
| 190 | WixPatchTarget, | ||
| 191 | WixPayloadProperties, | ||
| 192 | WixProductSearch, | ||
| 193 | WixProperty, | ||
| 194 | WixRegistrySearch, | ||
| 195 | WixRelatedBundle, | ||
| 196 | WixSearch, | ||
| 197 | WixSearchRelation, | ||
| 198 | WixSimpleReference, | ||
| 199 | WixSuppressAction, | ||
| 200 | WixSuppressModularization, | ||
| 201 | WixUI, | ||
| 202 | WixUpdateRegistration, | ||
| 203 | WixVariable, | ||
| 204 | MustBeFromAnExtension, | ||
| 205 | } | ||
| 206 | |||
| 207 | public static partial class TupleDefinitions | ||
| 208 | { | ||
| 209 | public static readonly Version Version = new Version("4.0.0"); | ||
| 210 | |||
| 211 | public static IntermediateTupleDefinition ByName(string name) | ||
| 212 | { | ||
| 213 | if (!Enum.TryParse(name, out TupleDefinitionType type) || type == TupleDefinitionType.MustBeFromAnExtension) | ||
| 214 | { | ||
| 215 | return null; | ||
| 216 | } | ||
| 217 | |||
| 218 | return ByType(type); | ||
| 219 | } | ||
| 220 | |||
| 221 | public static IntermediateTupleDefinition ByType(TupleDefinitionType type) | ||
| 222 | { | ||
| 223 | switch (type) | ||
| 224 | { | ||
| 225 | case TupleDefinitionType._Streams: | ||
| 226 | return TupleDefinitions._Streams; | ||
| 227 | |||
| 228 | case TupleDefinitionType._SummaryInformation: | ||
| 229 | return TupleDefinitions._SummaryInformation; | ||
| 230 | |||
| 231 | case TupleDefinitionType._TransformView: | ||
| 232 | return TupleDefinitions._TransformView; | ||
| 233 | |||
| 234 | case TupleDefinitionType._Validation: | ||
| 235 | return TupleDefinitions._Validation; | ||
| 236 | |||
| 237 | case TupleDefinitionType.ActionText: | ||
| 238 | return TupleDefinitions.ActionText; | ||
| 239 | |||
| 240 | case TupleDefinitionType.AdminExecuteSequence: | ||
| 241 | return TupleDefinitions.AdminExecuteSequence; | ||
| 242 | |||
| 243 | case TupleDefinitionType.AdminUISequence: | ||
| 244 | return TupleDefinitions.AdminUISequence; | ||
| 245 | |||
| 246 | case TupleDefinitionType.AdvtExecuteSequence: | ||
| 247 | return TupleDefinitions.AdvtExecuteSequence; | ||
| 248 | |||
| 249 | case TupleDefinitionType.AppId: | ||
| 250 | return TupleDefinitions.AppId; | ||
| 251 | |||
| 252 | case TupleDefinitionType.AppSearch: | ||
| 253 | return TupleDefinitions.AppSearch; | ||
| 254 | |||
| 255 | case TupleDefinitionType.BBControl: | ||
| 256 | return TupleDefinitions.BBControl; | ||
| 257 | |||
| 258 | case TupleDefinitionType.Billboard: | ||
| 259 | return TupleDefinitions.Billboard; | ||
| 260 | |||
| 261 | case TupleDefinitionType.Binary: | ||
| 262 | return TupleDefinitions.Binary; | ||
| 263 | |||
| 264 | case TupleDefinitionType.BindImage: | ||
| 265 | return TupleDefinitions.BindImage; | ||
| 266 | |||
| 267 | case TupleDefinitionType.CCPSearch: | ||
| 268 | return TupleDefinitions.CCPSearch; | ||
| 269 | |||
| 270 | case TupleDefinitionType.CheckBox: | ||
| 271 | return TupleDefinitions.CheckBox; | ||
| 272 | |||
| 273 | case TupleDefinitionType.Class: | ||
| 274 | return TupleDefinitions.Class; | ||
| 275 | |||
| 276 | case TupleDefinitionType.ComboBox: | ||
| 277 | return TupleDefinitions.ComboBox; | ||
| 278 | |||
| 279 | case TupleDefinitionType.CompLocator: | ||
| 280 | return TupleDefinitions.CompLocator; | ||
| 281 | |||
| 282 | case TupleDefinitionType.Complus: | ||
| 283 | return TupleDefinitions.Complus; | ||
| 284 | |||
| 285 | case TupleDefinitionType.Component: | ||
| 286 | return TupleDefinitions.Component; | ||
| 287 | |||
| 288 | case TupleDefinitionType.Condition: | ||
| 289 | return TupleDefinitions.Condition; | ||
| 290 | |||
| 291 | case TupleDefinitionType.Control: | ||
| 292 | return TupleDefinitions.Control; | ||
| 293 | |||
| 294 | case TupleDefinitionType.ControlCondition: | ||
| 295 | return TupleDefinitions.ControlCondition; | ||
| 296 | |||
| 297 | case TupleDefinitionType.ControlEvent: | ||
| 298 | return TupleDefinitions.ControlEvent; | ||
| 299 | |||
| 300 | case TupleDefinitionType.CreateFolder: | ||
| 301 | return TupleDefinitions.CreateFolder; | ||
| 302 | |||
| 303 | case TupleDefinitionType.CustomAction: | ||
| 304 | return TupleDefinitions.CustomAction; | ||
| 305 | |||
| 306 | case TupleDefinitionType.Dialog: | ||
| 307 | return TupleDefinitions.Dialog; | ||
| 308 | |||
| 309 | case TupleDefinitionType.Directory: | ||
| 310 | return TupleDefinitions.Directory; | ||
| 311 | |||
| 312 | case TupleDefinitionType.DrLocator: | ||
| 313 | return TupleDefinitions.DrLocator; | ||
| 314 | |||
| 315 | case TupleDefinitionType.DuplicateFile: | ||
| 316 | return TupleDefinitions.DuplicateFile; | ||
| 317 | |||
| 318 | case TupleDefinitionType.Environment: | ||
| 319 | return TupleDefinitions.Environment; | ||
| 320 | |||
| 321 | case TupleDefinitionType.Error: | ||
| 322 | return TupleDefinitions.Error; | ||
| 323 | |||
| 324 | case TupleDefinitionType.EventMapping: | ||
| 325 | return TupleDefinitions.EventMapping; | ||
| 326 | |||
| 327 | case TupleDefinitionType.Extension: | ||
| 328 | return TupleDefinitions.Extension; | ||
| 329 | |||
| 330 | case TupleDefinitionType.ExternalFiles: | ||
| 331 | return TupleDefinitions.ExternalFiles; | ||
| 332 | |||
| 333 | case TupleDefinitionType.FamilyFileRanges: | ||
| 334 | return TupleDefinitions.FamilyFileRanges; | ||
| 335 | |||
| 336 | case TupleDefinitionType.Feature: | ||
| 337 | return TupleDefinitions.Feature; | ||
| 338 | |||
| 339 | case TupleDefinitionType.FeatureComponents: | ||
| 340 | return TupleDefinitions.FeatureComponents; | ||
| 341 | |||
| 342 | case TupleDefinitionType.File: | ||
| 343 | return TupleDefinitions.File; | ||
| 344 | |||
| 345 | case TupleDefinitionType.FileSFPCatalog: | ||
| 346 | return TupleDefinitions.FileSFPCatalog; | ||
| 347 | |||
| 348 | case TupleDefinitionType.Font: | ||
| 349 | return TupleDefinitions.Font; | ||
| 350 | |||
| 351 | case TupleDefinitionType.Icon: | ||
| 352 | return TupleDefinitions.Icon; | ||
| 353 | |||
| 354 | case TupleDefinitionType.ImageFamilies: | ||
| 355 | return TupleDefinitions.ImageFamilies; | ||
| 356 | |||
| 357 | case TupleDefinitionType.IniFile: | ||
| 358 | return TupleDefinitions.IniFile; | ||
| 359 | |||
| 360 | case TupleDefinitionType.IniLocator: | ||
| 361 | return TupleDefinitions.IniLocator; | ||
| 362 | |||
| 363 | case TupleDefinitionType.InstallExecuteSequence: | ||
| 364 | return TupleDefinitions.InstallExecuteSequence; | ||
| 365 | |||
| 366 | case TupleDefinitionType.InstallUISequence: | ||
| 367 | return TupleDefinitions.InstallUISequence; | ||
| 368 | |||
| 369 | case TupleDefinitionType.IsolatedComponent: | ||
| 370 | return TupleDefinitions.IsolatedComponent; | ||
| 371 | |||
| 372 | case TupleDefinitionType.LaunchCondition: | ||
| 373 | return TupleDefinitions.LaunchCondition; | ||
| 374 | |||
| 375 | case TupleDefinitionType.ListBox: | ||
| 376 | return TupleDefinitions.ListBox; | ||
| 377 | |||
| 378 | case TupleDefinitionType.ListView: | ||
| 379 | return TupleDefinitions.ListView; | ||
| 380 | |||
| 381 | case TupleDefinitionType.LockPermissions: | ||
| 382 | return TupleDefinitions.LockPermissions; | ||
| 383 | |||
| 384 | case TupleDefinitionType.Media: | ||
| 385 | return TupleDefinitions.Media; | ||
| 386 | |||
| 387 | case TupleDefinitionType.MIME: | ||
| 388 | return TupleDefinitions.MIME; | ||
| 389 | |||
| 390 | case TupleDefinitionType.ModuleAdminExecuteSequence: | ||
| 391 | return TupleDefinitions.ModuleAdminExecuteSequence; | ||
| 392 | |||
| 393 | case TupleDefinitionType.ModuleAdminUISequence: | ||
| 394 | return TupleDefinitions.ModuleAdminUISequence; | ||
| 395 | |||
| 396 | case TupleDefinitionType.ModuleAdvtExecuteSequence: | ||
| 397 | return TupleDefinitions.ModuleAdvtExecuteSequence; | ||
| 398 | |||
| 399 | case TupleDefinitionType.ModuleComponents: | ||
| 400 | return TupleDefinitions.ModuleComponents; | ||
| 401 | |||
| 402 | case TupleDefinitionType.ModuleConfiguration: | ||
| 403 | return TupleDefinitions.ModuleConfiguration; | ||
| 404 | |||
| 405 | case TupleDefinitionType.ModuleDependency: | ||
| 406 | return TupleDefinitions.ModuleDependency; | ||
| 407 | |||
| 408 | case TupleDefinitionType.ModuleExclusion: | ||
| 409 | return TupleDefinitions.ModuleExclusion; | ||
| 410 | |||
| 411 | case TupleDefinitionType.ModuleIgnoreTable: | ||
| 412 | return TupleDefinitions.ModuleIgnoreTable; | ||
| 413 | |||
| 414 | case TupleDefinitionType.ModuleInstallExecuteSequence: | ||
| 415 | return TupleDefinitions.ModuleInstallExecuteSequence; | ||
| 416 | |||
| 417 | case TupleDefinitionType.ModuleInstallUISequence: | ||
| 418 | return TupleDefinitions.ModuleInstallUISequence; | ||
| 419 | |||
| 420 | case TupleDefinitionType.ModuleSignature: | ||
| 421 | return TupleDefinitions.ModuleSignature; | ||
| 422 | |||
| 423 | case TupleDefinitionType.ModuleSubstitution: | ||
| 424 | return TupleDefinitions.ModuleSubstitution; | ||
| 425 | |||
| 426 | case TupleDefinitionType.MoveFile: | ||
| 427 | return TupleDefinitions.MoveFile; | ||
| 428 | |||
| 429 | case TupleDefinitionType.MsiAssembly: | ||
| 430 | return TupleDefinitions.MsiAssembly; | ||
| 431 | |||
| 432 | case TupleDefinitionType.MsiAssemblyName: | ||
| 433 | return TupleDefinitions.MsiAssemblyName; | ||
| 434 | |||
| 435 | case TupleDefinitionType.MsiDigitalCertificate: | ||
| 436 | return TupleDefinitions.MsiDigitalCertificate; | ||
| 437 | |||
| 438 | case TupleDefinitionType.MsiDigitalSignature: | ||
| 439 | return TupleDefinitions.MsiDigitalSignature; | ||
| 440 | |||
| 441 | case TupleDefinitionType.MsiEmbeddedChainer: | ||
| 442 | return TupleDefinitions.MsiEmbeddedChainer; | ||
| 443 | |||
| 444 | case TupleDefinitionType.MsiEmbeddedUI: | ||
| 445 | return TupleDefinitions.MsiEmbeddedUI; | ||
| 446 | |||
| 447 | case TupleDefinitionType.MsiFileHash: | ||
| 448 | return TupleDefinitions.MsiFileHash; | ||
| 449 | |||
| 450 | case TupleDefinitionType.MsiLockPermissionsEx: | ||
| 451 | return TupleDefinitions.MsiLockPermissionsEx; | ||
| 452 | |||
| 453 | case TupleDefinitionType.MsiPackageCertificate: | ||
| 454 | return TupleDefinitions.MsiPackageCertificate; | ||
| 455 | |||
| 456 | case TupleDefinitionType.MsiPatchCertificate: | ||
| 457 | return TupleDefinitions.MsiPatchCertificate; | ||
| 458 | |||
| 459 | case TupleDefinitionType.MsiPatchHeaders: | ||
| 460 | return TupleDefinitions.MsiPatchHeaders; | ||
| 461 | |||
| 462 | case TupleDefinitionType.MsiPatchMetadata: | ||
| 463 | return TupleDefinitions.MsiPatchMetadata; | ||
| 464 | |||
| 465 | case TupleDefinitionType.MsiPatchOldAssemblyFile: | ||
| 466 | return TupleDefinitions.MsiPatchOldAssemblyFile; | ||
| 467 | |||
| 468 | case TupleDefinitionType.MsiPatchOldAssemblyName: | ||
| 469 | return TupleDefinitions.MsiPatchOldAssemblyName; | ||
| 470 | |||
| 471 | case TupleDefinitionType.MsiPatchSequence: | ||
| 472 | return TupleDefinitions.MsiPatchSequence; | ||
| 473 | |||
| 474 | case TupleDefinitionType.MsiServiceConfig: | ||
| 475 | return TupleDefinitions.MsiServiceConfig; | ||
| 476 | |||
| 477 | case TupleDefinitionType.MsiServiceConfigFailureActions: | ||
| 478 | return TupleDefinitions.MsiServiceConfigFailureActions; | ||
| 479 | |||
| 480 | case TupleDefinitionType.MsiShortcutProperty: | ||
| 481 | return TupleDefinitions.MsiShortcutProperty; | ||
| 482 | |||
| 483 | case TupleDefinitionType.ODBCAttribute: | ||
| 484 | return TupleDefinitions.ODBCAttribute; | ||
| 485 | |||
| 486 | case TupleDefinitionType.ODBCDataSource: | ||
| 487 | return TupleDefinitions.ODBCDataSource; | ||
| 488 | |||
| 489 | case TupleDefinitionType.ODBCDriver: | ||
| 490 | return TupleDefinitions.ODBCDriver; | ||
| 491 | |||
| 492 | case TupleDefinitionType.ODBCSourceAttribute: | ||
| 493 | return TupleDefinitions.ODBCSourceAttribute; | ||
| 494 | |||
| 495 | case TupleDefinitionType.ODBCTranslator: | ||
| 496 | return TupleDefinitions.ODBCTranslator; | ||
| 497 | |||
| 498 | case TupleDefinitionType.Patch: | ||
| 499 | return TupleDefinitions.Patch; | ||
| 500 | |||
| 501 | case TupleDefinitionType.PatchMetadata: | ||
| 502 | return TupleDefinitions.PatchMetadata; | ||
| 503 | |||
| 504 | case TupleDefinitionType.PatchPackage: | ||
| 505 | return TupleDefinitions.PatchPackage; | ||
| 506 | |||
| 507 | case TupleDefinitionType.PatchSequence: | ||
| 508 | return TupleDefinitions.PatchSequence; | ||
| 509 | |||
| 510 | case TupleDefinitionType.ProgId: | ||
| 511 | return TupleDefinitions.ProgId; | ||
| 512 | |||
| 513 | case TupleDefinitionType.Properties: | ||
| 514 | return TupleDefinitions.Properties; | ||
| 515 | |||
| 516 | case TupleDefinitionType.Property: | ||
| 517 | return TupleDefinitions.Property; | ||
| 518 | |||
| 519 | case TupleDefinitionType.PublishComponent: | ||
| 520 | return TupleDefinitions.PublishComponent; | ||
| 521 | |||
| 522 | case TupleDefinitionType.RadioButton: | ||
| 523 | return TupleDefinitions.RadioButton; | ||
| 524 | |||
| 525 | case TupleDefinitionType.Registry: | ||
| 526 | return TupleDefinitions.Registry; | ||
| 527 | |||
| 528 | case TupleDefinitionType.RegLocator: | ||
| 529 | return TupleDefinitions.RegLocator; | ||
| 530 | |||
| 531 | case TupleDefinitionType.RemoveFile: | ||
| 532 | return TupleDefinitions.RemoveFile; | ||
| 533 | |||
| 534 | case TupleDefinitionType.RemoveIniFile: | ||
| 535 | return TupleDefinitions.RemoveIniFile; | ||
| 536 | |||
| 537 | case TupleDefinitionType.RemoveRegistry: | ||
| 538 | return TupleDefinitions.RemoveRegistry; | ||
| 539 | |||
| 540 | case TupleDefinitionType.ReserveCost: | ||
| 541 | return TupleDefinitions.ReserveCost; | ||
| 542 | |||
| 543 | case TupleDefinitionType.SelfReg: | ||
| 544 | return TupleDefinitions.SelfReg; | ||
| 545 | |||
| 546 | case TupleDefinitionType.ServiceControl: | ||
| 547 | return TupleDefinitions.ServiceControl; | ||
| 548 | |||
| 549 | case TupleDefinitionType.ServiceInstall: | ||
| 550 | return TupleDefinitions.ServiceInstall; | ||
| 551 | |||
| 552 | case TupleDefinitionType.SFPCatalog: | ||
| 553 | return TupleDefinitions.SFPCatalog; | ||
| 554 | |||
| 555 | case TupleDefinitionType.Shortcut: | ||
| 556 | return TupleDefinitions.Shortcut; | ||
| 557 | |||
| 558 | case TupleDefinitionType.Signature: | ||
| 559 | return TupleDefinitions.Signature; | ||
| 560 | |||
| 561 | case TupleDefinitionType.TargetFiles_OptionalData: | ||
| 562 | return TupleDefinitions.TargetFiles_OptionalData; | ||
| 563 | |||
| 564 | case TupleDefinitionType.TargetImages: | ||
| 565 | return TupleDefinitions.TargetImages; | ||
| 566 | |||
| 567 | case TupleDefinitionType.TextStyle: | ||
| 568 | return TupleDefinitions.TextStyle; | ||
| 569 | |||
| 570 | case TupleDefinitionType.TypeLib: | ||
| 571 | return TupleDefinitions.TypeLib; | ||
| 572 | |||
| 573 | case TupleDefinitionType.UIText: | ||
| 574 | return TupleDefinitions.UIText; | ||
| 575 | |||
| 576 | case TupleDefinitionType.Upgrade: | ||
| 577 | return TupleDefinitions.Upgrade; | ||
| 578 | |||
| 579 | case TupleDefinitionType.UpgradedFiles_OptionalData: | ||
| 580 | return TupleDefinitions.UpgradedFiles_OptionalData; | ||
| 581 | |||
| 582 | case TupleDefinitionType.UpgradedFilesToIgnore: | ||
| 583 | return TupleDefinitions.UpgradedFilesToIgnore; | ||
| 584 | |||
| 585 | case TupleDefinitionType.UpgradedImages: | ||
| 586 | return TupleDefinitions.UpgradedImages; | ||
| 587 | |||
| 588 | case TupleDefinitionType.Verb: | ||
| 589 | return TupleDefinitions.Verb; | ||
| 590 | |||
| 591 | case TupleDefinitionType.WixAction: | ||
| 592 | return TupleDefinitions.WixAction; | ||
| 593 | |||
| 594 | case TupleDefinitionType.WixApprovedExeForElevation: | ||
| 595 | return TupleDefinitions.WixApprovedExeForElevation; | ||
| 596 | |||
| 597 | case TupleDefinitionType.WixBBControl: | ||
| 598 | return TupleDefinitions.WixBBControl; | ||
| 599 | |||
| 600 | case TupleDefinitionType.WixBindUpdatedFiles: | ||
| 601 | return TupleDefinitions.WixBindUpdatedFiles; | ||
| 602 | |||
| 603 | case TupleDefinitionType.WixBootstrapperApplication: | ||
| 604 | return TupleDefinitions.WixBootstrapperApplication; | ||
| 605 | |||
| 606 | case TupleDefinitionType.WixBuildInfo: | ||
| 607 | return TupleDefinitions.WixBuildInfo; | ||
| 608 | |||
| 609 | case TupleDefinitionType.WixBundle: | ||
| 610 | return TupleDefinitions.WixBundle; | ||
| 611 | |||
| 612 | case TupleDefinitionType.WixBundleCatalog: | ||
| 613 | return TupleDefinitions.WixBundleCatalog; | ||
| 614 | |||
| 615 | case TupleDefinitionType.WixBundleContainer: | ||
| 616 | return TupleDefinitions.WixBundleContainer; | ||
| 617 | |||
| 618 | case TupleDefinitionType.WixBundleExePackage: | ||
| 619 | return TupleDefinitions.WixBundleExePackage; | ||
| 620 | |||
| 621 | case TupleDefinitionType.WixBundleMsiFeature: | ||
| 622 | return TupleDefinitions.WixBundleMsiFeature; | ||
| 623 | |||
| 624 | case TupleDefinitionType.WixBundleMsiPackage: | ||
| 625 | return TupleDefinitions.WixBundleMsiPackage; | ||
| 626 | |||
| 627 | case TupleDefinitionType.WixBundleMsiProperty: | ||
| 628 | return TupleDefinitions.WixBundleMsiProperty; | ||
| 629 | |||
| 630 | case TupleDefinitionType.WixBundleMspPackage: | ||
| 631 | return TupleDefinitions.WixBundleMspPackage; | ||
| 632 | |||
| 633 | case TupleDefinitionType.WixBundleMsuPackage: | ||
| 634 | return TupleDefinitions.WixBundleMsuPackage; | ||
| 635 | |||
| 636 | case TupleDefinitionType.WixBundlePackage: | ||
| 637 | return TupleDefinitions.WixBundlePackage; | ||
| 638 | |||
| 639 | case TupleDefinitionType.WixBundlePackageCommandLine: | ||
| 640 | return TupleDefinitions.WixBundlePackageCommandLine; | ||
| 641 | |||
| 642 | case TupleDefinitionType.WixBundlePackageExitCode: | ||
| 643 | return TupleDefinitions.WixBundlePackageExitCode; | ||
| 644 | |||
| 645 | case TupleDefinitionType.WixBundlePackageGroup: | ||
| 646 | return TupleDefinitions.WixBundlePackageGroup; | ||
| 647 | |||
| 648 | case TupleDefinitionType.WixBundlePatchTargetCode: | ||
| 649 | return TupleDefinitions.WixBundlePatchTargetCode; | ||
| 650 | |||
| 651 | case TupleDefinitionType.WixBundlePayload: | ||
| 652 | return TupleDefinitions.WixBundlePayload; | ||
| 653 | |||
| 654 | case TupleDefinitionType.WixBundlePayloadGroup: | ||
| 655 | return TupleDefinitions.WixBundlePayloadGroup; | ||
| 656 | |||
| 657 | case TupleDefinitionType.WixBundleProperties: | ||
| 658 | return TupleDefinitions.WixBundleProperties; | ||
| 659 | |||
| 660 | case TupleDefinitionType.WixBundleRelatedPackage: | ||
| 661 | return TupleDefinitions.WixBundleRelatedPackage; | ||
| 662 | |||
| 663 | case TupleDefinitionType.WixBundleRollbackBoundary: | ||
| 664 | return TupleDefinitions.WixBundleRollbackBoundary; | ||
| 665 | |||
| 666 | case TupleDefinitionType.WixBundleSlipstreamMsp: | ||
| 667 | return TupleDefinitions.WixBundleSlipstreamMsp; | ||
| 668 | |||
| 669 | case TupleDefinitionType.WixBundleUpdate: | ||
| 670 | return TupleDefinitions.WixBundleUpdate; | ||
| 671 | |||
| 672 | case TupleDefinitionType.WixBundleVariable: | ||
| 673 | return TupleDefinitions.WixBundleVariable; | ||
| 674 | |||
| 675 | case TupleDefinitionType.WixChain: | ||
| 676 | return TupleDefinitions.WixChain; | ||
| 677 | |||
| 678 | case TupleDefinitionType.WixChainItem: | ||
| 679 | return TupleDefinitions.WixChainItem; | ||
| 680 | |||
| 681 | case TupleDefinitionType.WixComplexReference: | ||
| 682 | return TupleDefinitions.WixComplexReference; | ||
| 683 | |||
| 684 | case TupleDefinitionType.WixComponentGroup: | ||
| 685 | return TupleDefinitions.WixComponentGroup; | ||
| 686 | |||
| 687 | case TupleDefinitionType.WixComponentSearch: | ||
| 688 | return TupleDefinitions.WixComponentSearch; | ||
| 689 | |||
| 690 | case TupleDefinitionType.WixControl: | ||
| 691 | return TupleDefinitions.WixControl; | ||
| 692 | |||
| 693 | case TupleDefinitionType.WixCustomRow: | ||
| 694 | return TupleDefinitions.WixCustomRow; | ||
| 695 | |||
| 696 | case TupleDefinitionType.WixCustomTable: | ||
| 697 | return TupleDefinitions.WixCustomTable; | ||
| 698 | |||
| 699 | case TupleDefinitionType.WixDeltaPatchFile: | ||
| 700 | return TupleDefinitions.WixDeltaPatchFile; | ||
| 701 | |||
| 702 | case TupleDefinitionType.WixDeltaPatchSymbolPaths: | ||
| 703 | return TupleDefinitions.WixDeltaPatchSymbolPaths; | ||
| 704 | |||
| 705 | case TupleDefinitionType.WixDirectory: | ||
| 706 | return TupleDefinitions.WixDirectory; | ||
| 707 | |||
| 708 | case TupleDefinitionType.WixEnsureTable: | ||
| 709 | return TupleDefinitions.WixEnsureTable; | ||
| 710 | |||
| 711 | case TupleDefinitionType.WixFeatureGroup: | ||
| 712 | return TupleDefinitions.WixFeatureGroup; | ||
| 713 | |||
| 714 | case TupleDefinitionType.WixFeatureModules: | ||
| 715 | return TupleDefinitions.WixFeatureModules; | ||
| 716 | |||
| 717 | case TupleDefinitionType.WixFile: | ||
| 718 | return TupleDefinitions.WixFile; | ||
| 719 | |||
| 720 | case TupleDefinitionType.WixFileSearch: | ||
| 721 | return TupleDefinitions.WixFileSearch; | ||
| 722 | |||
| 723 | case TupleDefinitionType.WixFragment: | ||
| 724 | return TupleDefinitions.WixFragment; | ||
| 725 | |||
| 726 | case TupleDefinitionType.WixGroup: | ||
| 727 | return TupleDefinitions.WixGroup; | ||
| 728 | |||
| 729 | case TupleDefinitionType.WixInstanceComponent: | ||
| 730 | return TupleDefinitions.WixInstanceComponent; | ||
| 731 | |||
| 732 | case TupleDefinitionType.WixInstanceTransforms: | ||
| 733 | return TupleDefinitions.WixInstanceTransforms; | ||
| 734 | |||
| 735 | case TupleDefinitionType.WixMedia: | ||
| 736 | return TupleDefinitions.WixMedia; | ||
| 737 | |||
| 738 | case TupleDefinitionType.WixMediaTemplate: | ||
| 739 | return TupleDefinitions.WixMediaTemplate; | ||
| 740 | |||
| 741 | case TupleDefinitionType.WixMerge: | ||
| 742 | return TupleDefinitions.WixMerge; | ||
| 743 | |||
| 744 | case TupleDefinitionType.WixOrdering: | ||
| 745 | return TupleDefinitions.WixOrdering; | ||
| 746 | |||
| 747 | case TupleDefinitionType.WixPackageFeatureInfo: | ||
| 748 | return TupleDefinitions.WixPackageFeatureInfo; | ||
| 749 | |||
| 750 | case TupleDefinitionType.WixPackageProperties: | ||
| 751 | return TupleDefinitions.WixPackageProperties; | ||
| 752 | |||
| 753 | case TupleDefinitionType.WixPatchBaseline: | ||
| 754 | return TupleDefinitions.WixPatchBaseline; | ||
| 755 | |||
| 756 | case TupleDefinitionType.WixPatchFamilyGroup: | ||
| 757 | return TupleDefinitions.WixPatchFamilyGroup; | ||
| 758 | |||
| 759 | case TupleDefinitionType.WixPatchId: | ||
| 760 | return TupleDefinitions.WixPatchId; | ||
| 761 | |||
| 762 | case TupleDefinitionType.WixPatchMetadata: | ||
| 763 | return TupleDefinitions.WixPatchMetadata; | ||
| 764 | |||
| 765 | case TupleDefinitionType.WixPatchRef: | ||
| 766 | return TupleDefinitions.WixPatchRef; | ||
| 767 | |||
| 768 | case TupleDefinitionType.WixPatchTarget: | ||
| 769 | return TupleDefinitions.WixPatchTarget; | ||
| 770 | |||
| 771 | case TupleDefinitionType.WixPayloadProperties: | ||
| 772 | return TupleDefinitions.WixPayloadProperties; | ||
| 773 | |||
| 774 | case TupleDefinitionType.WixProductSearch: | ||
| 775 | return TupleDefinitions.WixProductSearch; | ||
| 776 | |||
| 777 | case TupleDefinitionType.WixProperty: | ||
| 778 | return TupleDefinitions.WixProperty; | ||
| 779 | |||
| 780 | case TupleDefinitionType.WixRegistrySearch: | ||
| 781 | return TupleDefinitions.WixRegistrySearch; | ||
| 782 | |||
| 783 | case TupleDefinitionType.WixRelatedBundle: | ||
| 784 | return TupleDefinitions.WixRelatedBundle; | ||
| 785 | |||
| 786 | case TupleDefinitionType.WixSearch: | ||
| 787 | return TupleDefinitions.WixSearch; | ||
| 788 | |||
| 789 | case TupleDefinitionType.WixSearchRelation: | ||
| 790 | return TupleDefinitions.WixSearchRelation; | ||
| 791 | |||
| 792 | case TupleDefinitionType.WixSimpleReference: | ||
| 793 | return TupleDefinitions.WixSimpleReference; | ||
| 794 | |||
| 795 | case TupleDefinitionType.WixSuppressAction: | ||
| 796 | return TupleDefinitions.WixSuppressAction; | ||
| 797 | |||
| 798 | case TupleDefinitionType.WixSuppressModularization: | ||
| 799 | return TupleDefinitions.WixSuppressModularization; | ||
| 800 | |||
| 801 | case TupleDefinitionType.WixUI: | ||
| 802 | return TupleDefinitions.WixUI; | ||
| 803 | |||
| 804 | case TupleDefinitionType.WixUpdateRegistration: | ||
| 805 | return TupleDefinitions.WixUpdateRegistration; | ||
| 806 | |||
| 807 | case TupleDefinitionType.WixVariable: | ||
| 808 | return TupleDefinitions.WixVariable; | ||
| 809 | |||
| 810 | default: | ||
| 811 | throw new ArgumentOutOfRangeException(nameof(type)); | ||
| 812 | } | ||
| 813 | } | ||
| 814 | } | ||
| 815 | } | ||
diff --git a/src/WixToolset.Data/Tuples/TypeLibTuple.cs b/src/WixToolset.Data/Tuples/TypeLibTuple.cs new file mode 100644 index 00000000..7bd26bf3 --- /dev/null +++ b/src/WixToolset.Data/Tuples/TypeLibTuple.cs | |||
| @@ -0,0 +1,100 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition TypeLib = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.TypeLib, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(TypeLibTupleFields.LibID), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(TypeLibTupleFields.Language), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(TypeLibTupleFields.Component_), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(TypeLibTupleFields.Version), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(TypeLibTupleFields.Description), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(TypeLibTupleFields.Directory_), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(TypeLibTupleFields.Feature_), IntermediateFieldType.String), | ||
| 20 | new IntermediateFieldDefinition(nameof(TypeLibTupleFields.Cost), IntermediateFieldType.Number), | ||
| 21 | }, | ||
| 22 | typeof(TypeLibTuple)); | ||
| 23 | } | ||
| 24 | } | ||
| 25 | |||
| 26 | namespace WixToolset.Data.Tuples | ||
| 27 | { | ||
| 28 | public enum TypeLibTupleFields | ||
| 29 | { | ||
| 30 | LibID, | ||
| 31 | Language, | ||
| 32 | Component_, | ||
| 33 | Version, | ||
| 34 | Description, | ||
| 35 | Directory_, | ||
| 36 | Feature_, | ||
| 37 | Cost, | ||
| 38 | } | ||
| 39 | |||
| 40 | public class TypeLibTuple : IntermediateTuple | ||
| 41 | { | ||
| 42 | public TypeLibTuple() : base(TupleDefinitions.TypeLib, null, null) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public TypeLibTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.TypeLib, sourceLineNumber, id) | ||
| 47 | { | ||
| 48 | } | ||
| 49 | |||
| 50 | public IntermediateField this[TypeLibTupleFields index] => this.Fields[(int)index]; | ||
| 51 | |||
| 52 | public string LibID | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)TypeLibTupleFields.LibID]?.Value; | ||
| 55 | set => this.Set((int)TypeLibTupleFields.LibID, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public int Language | ||
| 59 | { | ||
| 60 | get => (int)this.Fields[(int)TypeLibTupleFields.Language]?.Value; | ||
| 61 | set => this.Set((int)TypeLibTupleFields.Language, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string Component_ | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)TypeLibTupleFields.Component_]?.Value; | ||
| 67 | set => this.Set((int)TypeLibTupleFields.Component_, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public int Version | ||
| 71 | { | ||
| 72 | get => (int)this.Fields[(int)TypeLibTupleFields.Version]?.Value; | ||
| 73 | set => this.Set((int)TypeLibTupleFields.Version, value); | ||
| 74 | } | ||
| 75 | |||
| 76 | public string Description | ||
| 77 | { | ||
| 78 | get => (string)this.Fields[(int)TypeLibTupleFields.Description]?.Value; | ||
| 79 | set => this.Set((int)TypeLibTupleFields.Description, value); | ||
| 80 | } | ||
| 81 | |||
| 82 | public string Directory_ | ||
| 83 | { | ||
| 84 | get => (string)this.Fields[(int)TypeLibTupleFields.Directory_]?.Value; | ||
| 85 | set => this.Set((int)TypeLibTupleFields.Directory_, value); | ||
| 86 | } | ||
| 87 | |||
| 88 | public string Feature_ | ||
| 89 | { | ||
| 90 | get => (string)this.Fields[(int)TypeLibTupleFields.Feature_]?.Value; | ||
| 91 | set => this.Set((int)TypeLibTupleFields.Feature_, value); | ||
| 92 | } | ||
| 93 | |||
| 94 | public int Cost | ||
| 95 | { | ||
| 96 | get => (int)this.Fields[(int)TypeLibTupleFields.Cost]?.Value; | ||
| 97 | set => this.Set((int)TypeLibTupleFields.Cost, value); | ||
| 98 | } | ||
| 99 | } | ||
| 100 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/UITextTuple.cs b/src/WixToolset.Data/Tuples/UITextTuple.cs new file mode 100644 index 00000000..3d5f2933 --- /dev/null +++ b/src/WixToolset.Data/Tuples/UITextTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition UIText = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.UIText, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(UITextTupleFields.Key), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(UITextTupleFields.Text), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(UITextTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum UITextTupleFields | ||
| 23 | { | ||
| 24 | Key, | ||
| 25 | Text, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class UITextTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public UITextTuple() : base(TupleDefinitions.UIText, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public UITextTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.UIText, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[UITextTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Key | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)UITextTupleFields.Key]?.Value; | ||
| 43 | set => this.Set((int)UITextTupleFields.Key, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Text | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)UITextTupleFields.Text]?.Value; | ||
| 49 | set => this.Set((int)UITextTupleFields.Text, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/UpgradeTuple.cs b/src/WixToolset.Data/Tuples/UpgradeTuple.cs new file mode 100644 index 00000000..94fe1231 --- /dev/null +++ b/src/WixToolset.Data/Tuples/UpgradeTuple.cs | |||
| @@ -0,0 +1,92 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Upgrade = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Upgrade, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.UpgradeCode), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.VersionMin), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.VersionMax), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.Language), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.Remove), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(UpgradeTupleFields.ActionProperty), IntermediateFieldType.String), | ||
| 20 | }, | ||
| 21 | typeof(UpgradeTuple)); | ||
| 22 | } | ||
| 23 | } | ||
| 24 | |||
| 25 | namespace WixToolset.Data.Tuples | ||
| 26 | { | ||
| 27 | public enum UpgradeTupleFields | ||
| 28 | { | ||
| 29 | UpgradeCode, | ||
| 30 | VersionMin, | ||
| 31 | VersionMax, | ||
| 32 | Language, | ||
| 33 | Attributes, | ||
| 34 | Remove, | ||
| 35 | ActionProperty, | ||
| 36 | } | ||
| 37 | |||
| 38 | public class UpgradeTuple : IntermediateTuple | ||
| 39 | { | ||
| 40 | public UpgradeTuple() : base(TupleDefinitions.Upgrade, null, null) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public UpgradeTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Upgrade, sourceLineNumber, id) | ||
| 45 | { | ||
| 46 | } | ||
| 47 | |||
| 48 | public IntermediateField this[UpgradeTupleFields index] => this.Fields[(int)index]; | ||
| 49 | |||
| 50 | public string UpgradeCode | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)UpgradeTupleFields.UpgradeCode]?.Value; | ||
| 53 | set => this.Set((int)UpgradeTupleFields.UpgradeCode, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string VersionMin | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)UpgradeTupleFields.VersionMin]?.Value; | ||
| 59 | set => this.Set((int)UpgradeTupleFields.VersionMin, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string VersionMax | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)UpgradeTupleFields.VersionMax]?.Value; | ||
| 65 | set => this.Set((int)UpgradeTupleFields.VersionMax, value); | ||
| 66 | } | ||
| 67 | |||
| 68 | public string Language | ||
| 69 | { | ||
| 70 | get => (string)this.Fields[(int)UpgradeTupleFields.Language]?.Value; | ||
| 71 | set => this.Set((int)UpgradeTupleFields.Language, value); | ||
| 72 | } | ||
| 73 | |||
| 74 | public int Attributes | ||
| 75 | { | ||
| 76 | get => (int)this.Fields[(int)UpgradeTupleFields.Attributes]?.Value; | ||
| 77 | set => this.Set((int)UpgradeTupleFields.Attributes, value); | ||
| 78 | } | ||
| 79 | |||
| 80 | public string Remove | ||
| 81 | { | ||
| 82 | get => (string)this.Fields[(int)UpgradeTupleFields.Remove]?.Value; | ||
| 83 | set => this.Set((int)UpgradeTupleFields.Remove, value); | ||
| 84 | } | ||
| 85 | |||
| 86 | public string ActionProperty | ||
| 87 | { | ||
| 88 | get => (string)this.Fields[(int)UpgradeTupleFields.ActionProperty]?.Value; | ||
| 89 | set => this.Set((int)UpgradeTupleFields.ActionProperty, value); | ||
| 90 | } | ||
| 91 | } | ||
| 92 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/UpgradedFilesToIgnoreTuple.cs b/src/WixToolset.Data/Tuples/UpgradedFilesToIgnoreTuple.cs new file mode 100644 index 00000000..64ec9229 --- /dev/null +++ b/src/WixToolset.Data/Tuples/UpgradedFilesToIgnoreTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition UpgradedFilesToIgnore = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.UpgradedFilesToIgnore, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(UpgradedFilesToIgnoreTupleFields.Upgraded), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(UpgradedFilesToIgnoreTupleFields.FTK), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(UpgradedFilesToIgnoreTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum UpgradedFilesToIgnoreTupleFields | ||
| 23 | { | ||
| 24 | Upgraded, | ||
| 25 | FTK, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class UpgradedFilesToIgnoreTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public UpgradedFilesToIgnoreTuple() : base(TupleDefinitions.UpgradedFilesToIgnore, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public UpgradedFilesToIgnoreTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.UpgradedFilesToIgnore, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[UpgradedFilesToIgnoreTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Upgraded | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)UpgradedFilesToIgnoreTupleFields.Upgraded]?.Value; | ||
| 43 | set => this.Set((int)UpgradedFilesToIgnoreTupleFields.Upgraded, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string FTK | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)UpgradedFilesToIgnoreTupleFields.FTK]?.Value; | ||
| 49 | set => this.Set((int)UpgradedFilesToIgnoreTupleFields.FTK, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/UpgradedFiles_OptionalDataTuple.cs b/src/WixToolset.Data/Tuples/UpgradedFiles_OptionalDataTuple.cs new file mode 100644 index 00000000..09b93fed --- /dev/null +++ b/src/WixToolset.Data/Tuples/UpgradedFiles_OptionalDataTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition UpgradedFiles_OptionalData = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.UpgradedFiles_OptionalData, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(UpgradedFiles_OptionalDataTupleFields.Upgraded), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(UpgradedFiles_OptionalDataTupleFields.FTK), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(UpgradedFiles_OptionalDataTupleFields.SymbolPaths), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(UpgradedFiles_OptionalDataTupleFields.AllowIgnoreOnPatchError), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(UpgradedFiles_OptionalDataTupleFields.IncludeWholeFile), IntermediateFieldType.Number), | ||
| 18 | }, | ||
| 19 | typeof(UpgradedFiles_OptionalDataTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum UpgradedFiles_OptionalDataTupleFields | ||
| 26 | { | ||
| 27 | Upgraded, | ||
| 28 | FTK, | ||
| 29 | SymbolPaths, | ||
| 30 | AllowIgnoreOnPatchError, | ||
| 31 | IncludeWholeFile, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class UpgradedFiles_OptionalDataTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public UpgradedFiles_OptionalDataTuple() : base(TupleDefinitions.UpgradedFiles_OptionalData, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public UpgradedFiles_OptionalDataTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.UpgradedFiles_OptionalData, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[UpgradedFiles_OptionalDataTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string Upgraded | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)UpgradedFiles_OptionalDataTupleFields.Upgraded]?.Value; | ||
| 49 | set => this.Set((int)UpgradedFiles_OptionalDataTupleFields.Upgraded, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string FTK | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)UpgradedFiles_OptionalDataTupleFields.FTK]?.Value; | ||
| 55 | set => this.Set((int)UpgradedFiles_OptionalDataTupleFields.FTK, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string SymbolPaths | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)UpgradedFiles_OptionalDataTupleFields.SymbolPaths]?.Value; | ||
| 61 | set => this.Set((int)UpgradedFiles_OptionalDataTupleFields.SymbolPaths, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public int AllowIgnoreOnPatchError | ||
| 65 | { | ||
| 66 | get => (int)this.Fields[(int)UpgradedFiles_OptionalDataTupleFields.AllowIgnoreOnPatchError]?.Value; | ||
| 67 | set => this.Set((int)UpgradedFiles_OptionalDataTupleFields.AllowIgnoreOnPatchError, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public int IncludeWholeFile | ||
| 71 | { | ||
| 72 | get => (int)this.Fields[(int)UpgradedFiles_OptionalDataTupleFields.IncludeWholeFile]?.Value; | ||
| 73 | set => this.Set((int)UpgradedFiles_OptionalDataTupleFields.IncludeWholeFile, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/UpgradedImagesTuple.cs b/src/WixToolset.Data/Tuples/UpgradedImagesTuple.cs new file mode 100644 index 00000000..32170467 --- /dev/null +++ b/src/WixToolset.Data/Tuples/UpgradedImagesTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition UpgradedImages = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.UpgradedImages, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(UpgradedImagesTupleFields.Upgraded), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(UpgradedImagesTupleFields.MsiPath), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(UpgradedImagesTupleFields.PatchMsiPath), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(UpgradedImagesTupleFields.SymbolPaths), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(UpgradedImagesTupleFields.Family), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(UpgradedImagesTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum UpgradedImagesTupleFields | ||
| 26 | { | ||
| 27 | Upgraded, | ||
| 28 | MsiPath, | ||
| 29 | PatchMsiPath, | ||
| 30 | SymbolPaths, | ||
| 31 | Family, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class UpgradedImagesTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public UpgradedImagesTuple() : base(TupleDefinitions.UpgradedImages, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public UpgradedImagesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.UpgradedImages, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[UpgradedImagesTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string Upgraded | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)UpgradedImagesTupleFields.Upgraded]?.Value; | ||
| 49 | set => this.Set((int)UpgradedImagesTupleFields.Upgraded, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string MsiPath | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)UpgradedImagesTupleFields.MsiPath]?.Value; | ||
| 55 | set => this.Set((int)UpgradedImagesTupleFields.MsiPath, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string PatchMsiPath | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)UpgradedImagesTupleFields.PatchMsiPath]?.Value; | ||
| 61 | set => this.Set((int)UpgradedImagesTupleFields.PatchMsiPath, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string SymbolPaths | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)UpgradedImagesTupleFields.SymbolPaths]?.Value; | ||
| 67 | set => this.Set((int)UpgradedImagesTupleFields.SymbolPaths, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Family | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)UpgradedImagesTupleFields.Family]?.Value; | ||
| 73 | set => this.Set((int)UpgradedImagesTupleFields.Family, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/VerbTuple.cs b/src/WixToolset.Data/Tuples/VerbTuple.cs new file mode 100644 index 00000000..4d5c7c03 --- /dev/null +++ b/src/WixToolset.Data/Tuples/VerbTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition Verb = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.Verb, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(VerbTupleFields.Extension_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(VerbTupleFields.Verb), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(VerbTupleFields.Sequence), IntermediateFieldType.Number), | ||
| 16 | new IntermediateFieldDefinition(nameof(VerbTupleFields.Command), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(VerbTupleFields.Argument), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(VerbTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum VerbTupleFields | ||
| 26 | { | ||
| 27 | Extension_, | ||
| 28 | Verb, | ||
| 29 | Sequence, | ||
| 30 | Command, | ||
| 31 | Argument, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class VerbTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public VerbTuple() : base(TupleDefinitions.Verb, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public VerbTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.Verb, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[VerbTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string Extension_ | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)VerbTupleFields.Extension_]?.Value; | ||
| 49 | set => this.Set((int)VerbTupleFields.Extension_, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string Verb | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)VerbTupleFields.Verb]?.Value; | ||
| 55 | set => this.Set((int)VerbTupleFields.Verb, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public int Sequence | ||
| 59 | { | ||
| 60 | get => (int)this.Fields[(int)VerbTupleFields.Sequence]?.Value; | ||
| 61 | set => this.Set((int)VerbTupleFields.Sequence, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string Command | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)VerbTupleFields.Command]?.Value; | ||
| 67 | set => this.Set((int)VerbTupleFields.Command, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Argument | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)VerbTupleFields.Argument]?.Value; | ||
| 73 | set => this.Set((int)VerbTupleFields.Argument, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixActionTuple.cs b/src/WixToolset.Data/Tuples/WixActionTuple.cs new file mode 100644 index 00000000..53ea52de --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixActionTuple.cs | |||
| @@ -0,0 +1,103 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixAction = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixAction, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.SequenceTable), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.Action), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.Condition), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.Sequence), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.Before), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.After), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(WixActionTupleFields.Overridable), IntermediateFieldType.Bool), | ||
| 20 | }, | ||
| 21 | typeof(WixActionTuple)); | ||
| 22 | } | ||
| 23 | } | ||
| 24 | |||
| 25 | namespace WixToolset.Data.Tuples | ||
| 26 | { | ||
| 27 | using System; | ||
| 28 | |||
| 29 | public enum WixActionTupleFields | ||
| 30 | { | ||
| 31 | SequenceTable, | ||
| 32 | Action, | ||
| 33 | Condition, | ||
| 34 | Sequence, | ||
| 35 | Before, | ||
| 36 | After, | ||
| 37 | Overridable, | ||
| 38 | } | ||
| 39 | |||
| 40 | public enum SequenceTable | ||
| 41 | { | ||
| 42 | AdminUISequence, | ||
| 43 | AdminExecuteSequence, | ||
| 44 | AdvtExecuteSequence, | ||
| 45 | InstallUISequence, | ||
| 46 | InstallExecuteSequence | ||
| 47 | } | ||
| 48 | |||
| 49 | public class WixActionTuple : IntermediateTuple | ||
| 50 | { | ||
| 51 | public WixActionTuple() : base(TupleDefinitions.WixAction, null, null) | ||
| 52 | { | ||
| 53 | } | ||
| 54 | |||
| 55 | public WixActionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixAction, sourceLineNumber, id) | ||
| 56 | { | ||
| 57 | } | ||
| 58 | |||
| 59 | public IntermediateField this[WixActionTupleFields index] => this.Fields[(int)index]; | ||
| 60 | |||
| 61 | public SequenceTable SequenceTable | ||
| 62 | { | ||
| 63 | get => (SequenceTable)Enum.Parse(typeof(SequenceTable), (string)this.Fields[(int)WixActionTupleFields.SequenceTable]?.Value); | ||
| 64 | set => this.Set((int)WixActionTupleFields.SequenceTable, value.ToString()); | ||
| 65 | } | ||
| 66 | |||
| 67 | public string Action | ||
| 68 | { | ||
| 69 | get => (string)this.Fields[(int)WixActionTupleFields.Action]?.Value; | ||
| 70 | set => this.Set((int)WixActionTupleFields.Action, value); | ||
| 71 | } | ||
| 72 | |||
| 73 | public string Condition | ||
| 74 | { | ||
| 75 | get => (string)this.Fields[(int)WixActionTupleFields.Condition]?.Value; | ||
| 76 | set => this.Set((int)WixActionTupleFields.Condition, value); | ||
| 77 | } | ||
| 78 | |||
| 79 | public int Sequence | ||
| 80 | { | ||
| 81 | get => (int)this.Fields[(int)WixActionTupleFields.Sequence]?.Value; | ||
| 82 | set => this.Set((int)WixActionTupleFields.Sequence, value); | ||
| 83 | } | ||
| 84 | |||
| 85 | public string Before | ||
| 86 | { | ||
| 87 | get => (string)this.Fields[(int)WixActionTupleFields.Before]?.Value; | ||
| 88 | set => this.Set((int)WixActionTupleFields.Before, value); | ||
| 89 | } | ||
| 90 | |||
| 91 | public string After | ||
| 92 | { | ||
| 93 | get => (string)this.Fields[(int)WixActionTupleFields.After]?.Value; | ||
| 94 | set => this.Set((int)WixActionTupleFields.After, value); | ||
| 95 | } | ||
| 96 | |||
| 97 | public bool Overridable | ||
| 98 | { | ||
| 99 | get => (bool)this.Fields[(int)WixActionTupleFields.Overridable]?.Value; | ||
| 100 | set => this.Set((int)WixActionTupleFields.Overridable, value); | ||
| 101 | } | ||
| 102 | } | ||
| 103 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixApprovedExeForElevationTuple.cs b/src/WixToolset.Data/Tuples/WixApprovedExeForElevationTuple.cs new file mode 100644 index 00000000..e733e6ab --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixApprovedExeForElevationTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixApprovedExeForElevation = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixApprovedExeForElevation, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixApprovedExeForElevationTupleFields.Id), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixApprovedExeForElevationTupleFields.Key), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixApprovedExeForElevationTupleFields.Value), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixApprovedExeForElevationTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 17 | }, | ||
| 18 | typeof(WixApprovedExeForElevationTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum WixApprovedExeForElevationTupleFields | ||
| 25 | { | ||
| 26 | Id, | ||
| 27 | Key, | ||
| 28 | Value, | ||
| 29 | Attributes, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class WixApprovedExeForElevationTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public WixApprovedExeForElevationTuple() : base(TupleDefinitions.WixApprovedExeForElevation, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public WixApprovedExeForElevationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixApprovedExeForElevation, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[WixApprovedExeForElevationTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string Id | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)WixApprovedExeForElevationTupleFields.Id]?.Value; | ||
| 47 | set => this.Set((int)WixApprovedExeForElevationTupleFields.Id, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public string Key | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)WixApprovedExeForElevationTupleFields.Key]?.Value; | ||
| 53 | set => this.Set((int)WixApprovedExeForElevationTupleFields.Key, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string Value | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)WixApprovedExeForElevationTupleFields.Value]?.Value; | ||
| 59 | set => this.Set((int)WixApprovedExeForElevationTupleFields.Value, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public int Attributes | ||
| 63 | { | ||
| 64 | get => (int)this.Fields[(int)WixApprovedExeForElevationTupleFields.Attributes]?.Value; | ||
| 65 | set => this.Set((int)WixApprovedExeForElevationTupleFields.Attributes, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBBControlTuple.cs b/src/WixToolset.Data/Tuples/WixBBControlTuple.cs new file mode 100644 index 00000000..4d912c38 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBBControlTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBBControl = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBBControl, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBBControlTupleFields.Billboard_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBBControlTupleFields.BBControl_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBBControlTupleFields.SourceFile), IntermediateFieldType.Path), | ||
| 16 | }, | ||
| 17 | typeof(WixBBControlTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum WixBBControlTupleFields | ||
| 24 | { | ||
| 25 | Billboard_, | ||
| 26 | BBControl_, | ||
| 27 | SourceFile, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class WixBBControlTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public WixBBControlTuple() : base(TupleDefinitions.WixBBControl, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public WixBBControlTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBBControl, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[WixBBControlTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string Billboard_ | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)WixBBControlTupleFields.Billboard_]?.Value; | ||
| 45 | set => this.Set((int)WixBBControlTupleFields.Billboard_, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string BBControl_ | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)WixBBControlTupleFields.BBControl_]?.Value; | ||
| 51 | set => this.Set((int)WixBBControlTupleFields.BBControl_, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string SourceFile | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)WixBBControlTupleFields.SourceFile]?.Value; | ||
| 57 | set => this.Set((int)WixBBControlTupleFields.SourceFile, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBindUpdatedFilesTuple.cs b/src/WixToolset.Data/Tuples/WixBindUpdatedFilesTuple.cs new file mode 100644 index 00000000..16a2a972 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBindUpdatedFilesTuple.cs | |||
| @@ -0,0 +1,44 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBindUpdatedFiles = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBindUpdatedFiles, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBindUpdatedFilesTupleFields.File_), IntermediateFieldType.String), | ||
| 14 | }, | ||
| 15 | typeof(WixBindUpdatedFilesTuple)); | ||
| 16 | } | ||
| 17 | } | ||
| 18 | |||
| 19 | namespace WixToolset.Data.Tuples | ||
| 20 | { | ||
| 21 | public enum WixBindUpdatedFilesTupleFields | ||
| 22 | { | ||
| 23 | File_, | ||
| 24 | } | ||
| 25 | |||
| 26 | public class WixBindUpdatedFilesTuple : IntermediateTuple | ||
| 27 | { | ||
| 28 | public WixBindUpdatedFilesTuple() : base(TupleDefinitions.WixBindUpdatedFiles, null, null) | ||
| 29 | { | ||
| 30 | } | ||
| 31 | |||
| 32 | public WixBindUpdatedFilesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBindUpdatedFiles, sourceLineNumber, id) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public IntermediateField this[WixBindUpdatedFilesTupleFields index] => this.Fields[(int)index]; | ||
| 37 | |||
| 38 | public string File_ | ||
| 39 | { | ||
| 40 | get => (string)this.Fields[(int)WixBindUpdatedFilesTupleFields.File_]?.Value; | ||
| 41 | set => this.Set((int)WixBindUpdatedFilesTupleFields.File_, value); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBootstrapperApplicationTuple.cs b/src/WixToolset.Data/Tuples/WixBootstrapperApplicationTuple.cs new file mode 100644 index 00000000..00bf9dae --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBootstrapperApplicationTuple.cs | |||
| @@ -0,0 +1,44 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBootstrapperApplication = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBootstrapperApplication, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBootstrapperApplicationTupleFields.Id), IntermediateFieldType.String), | ||
| 14 | }, | ||
| 15 | typeof(WixBootstrapperApplicationTuple)); | ||
| 16 | } | ||
| 17 | } | ||
| 18 | |||
| 19 | namespace WixToolset.Data.Tuples | ||
| 20 | { | ||
| 21 | public enum WixBootstrapperApplicationTupleFields | ||
| 22 | { | ||
| 23 | Id, | ||
| 24 | } | ||
| 25 | |||
| 26 | public class WixBootstrapperApplicationTuple : IntermediateTuple | ||
| 27 | { | ||
| 28 | public WixBootstrapperApplicationTuple() : base(TupleDefinitions.WixBootstrapperApplication, null, null) | ||
| 29 | { | ||
| 30 | } | ||
| 31 | |||
| 32 | public WixBootstrapperApplicationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBootstrapperApplication, sourceLineNumber, id) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public IntermediateField this[WixBootstrapperApplicationTupleFields index] => this.Fields[(int)index]; | ||
| 37 | |||
| 38 | public string Id | ||
| 39 | { | ||
| 40 | get => (string)this.Fields[(int)WixBootstrapperApplicationTupleFields.Id]?.Value; | ||
| 41 | set => this.Set((int)WixBootstrapperApplicationTupleFields.Id, value); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBuildInfoTuple.cs b/src/WixToolset.Data/Tuples/WixBuildInfoTuple.cs new file mode 100644 index 00000000..d71cbbaf --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBuildInfoTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBuildInfo = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBuildInfo, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBuildInfoTupleFields.WixVersion), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBuildInfoTupleFields.WixOutputFile), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBuildInfoTupleFields.WixProjectFile), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixBuildInfoTupleFields.WixPdbFile), IntermediateFieldType.String), | ||
| 17 | }, | ||
| 18 | typeof(WixBuildInfoTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum WixBuildInfoTupleFields | ||
| 25 | { | ||
| 26 | WixVersion, | ||
| 27 | WixOutputFile, | ||
| 28 | WixProjectFile, | ||
| 29 | WixPdbFile, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class WixBuildInfoTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public WixBuildInfoTuple() : base(TupleDefinitions.WixBuildInfo, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public WixBuildInfoTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBuildInfo, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[WixBuildInfoTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string WixVersion | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)WixBuildInfoTupleFields.WixVersion]?.Value; | ||
| 47 | set => this.Set((int)WixBuildInfoTupleFields.WixVersion, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public string WixOutputFile | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)WixBuildInfoTupleFields.WixOutputFile]?.Value; | ||
| 53 | set => this.Set((int)WixBuildInfoTupleFields.WixOutputFile, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string WixProjectFile | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)WixBuildInfoTupleFields.WixProjectFile]?.Value; | ||
| 59 | set => this.Set((int)WixBuildInfoTupleFields.WixProjectFile, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string WixPdbFile | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)WixBuildInfoTupleFields.WixPdbFile]?.Value; | ||
| 65 | set => this.Set((int)WixBuildInfoTupleFields.WixPdbFile, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundleCatalogTuple.cs b/src/WixToolset.Data/Tuples/WixBundleCatalogTuple.cs new file mode 100644 index 00000000..4a4cd372 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundleCatalogTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundleCatalog = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundleCatalog, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundleCatalogTupleFields.WixBundleCatalog), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundleCatalogTupleFields.Payload_), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(WixBundleCatalogTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum WixBundleCatalogTupleFields | ||
| 23 | { | ||
| 24 | WixBundleCatalog, | ||
| 25 | Payload_, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class WixBundleCatalogTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public WixBundleCatalogTuple() : base(TupleDefinitions.WixBundleCatalog, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public WixBundleCatalogTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleCatalog, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[WixBundleCatalogTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string WixBundleCatalog | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)WixBundleCatalogTupleFields.WixBundleCatalog]?.Value; | ||
| 43 | set => this.Set((int)WixBundleCatalogTupleFields.WixBundleCatalog, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Payload_ | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)WixBundleCatalogTupleFields.Payload_]?.Value; | ||
| 49 | set => this.Set((int)WixBundleCatalogTupleFields.Payload_, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundleContainerTuple.cs b/src/WixToolset.Data/Tuples/WixBundleContainerTuple.cs new file mode 100644 index 00000000..d06e029f --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundleContainerTuple.cs | |||
| @@ -0,0 +1,111 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundleContainer = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundleContainer, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundleContainerTupleFields.WixBundleContainer), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundleContainerTupleFields.Name), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBundleContainerTupleFields.Type), IntermediateFieldType.Number), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixBundleContainerTupleFields.DownloadUrl), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixBundleContainerTupleFields.Size), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixBundleContainerTupleFields.Hash), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(WixBundleContainerTupleFields.AttachedContainerIndex), IntermediateFieldType.Number), | ||
| 20 | new IntermediateFieldDefinition(nameof(WixBundleContainerTupleFields.WorkingPath), IntermediateFieldType.String), | ||
| 21 | }, | ||
| 22 | typeof(WixBundleContainerTuple)); | ||
| 23 | } | ||
| 24 | } | ||
| 25 | |||
| 26 | namespace WixToolset.Data.Tuples | ||
| 27 | { | ||
| 28 | using System; | ||
| 29 | |||
| 30 | public enum WixBundleContainerTupleFields | ||
| 31 | { | ||
| 32 | WixBundleContainer, | ||
| 33 | Name, | ||
| 34 | Type, | ||
| 35 | DownloadUrl, | ||
| 36 | Size, | ||
| 37 | Hash, | ||
| 38 | AttachedContainerIndex, | ||
| 39 | WorkingPath, | ||
| 40 | } | ||
| 41 | |||
| 42 | /// <summary> | ||
| 43 | /// Types of bundle packages. | ||
| 44 | /// </summary> | ||
| 45 | public enum ContainerType | ||
| 46 | { | ||
| 47 | Attached, | ||
| 48 | Detached, | ||
| 49 | } | ||
| 50 | |||
| 51 | public class WixBundleContainerTuple : IntermediateTuple | ||
| 52 | { | ||
| 53 | public WixBundleContainerTuple() : base(TupleDefinitions.WixBundleContainer, null, null) | ||
| 54 | { | ||
| 55 | } | ||
| 56 | |||
| 57 | public WixBundleContainerTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleContainer, sourceLineNumber, id) | ||
| 58 | { | ||
| 59 | } | ||
| 60 | |||
| 61 | public IntermediateField this[WixBundleContainerTupleFields index] => this.Fields[(int)index]; | ||
| 62 | |||
| 63 | public string WixBundleContainer | ||
| 64 | { | ||
| 65 | get => (string)this.Fields[(int)WixBundleContainerTupleFields.WixBundleContainer]?.Value; | ||
| 66 | set => this.Set((int)WixBundleContainerTupleFields.WixBundleContainer, value); | ||
| 67 | } | ||
| 68 | |||
| 69 | public string Name | ||
| 70 | { | ||
| 71 | get => (string)this.Fields[(int)WixBundleContainerTupleFields.Name]?.Value; | ||
| 72 | set => this.Set((int)WixBundleContainerTupleFields.Name, value); | ||
| 73 | } | ||
| 74 | |||
| 75 | public ContainerType Type | ||
| 76 | { | ||
| 77 | get => (ContainerType)Enum.Parse(typeof(ContainerType), (string)this.Fields[(int)WixBundleContainerTupleFields.Type]?.Value, true); | ||
| 78 | set => this.Set((int)WixBundleContainerTupleFields.Type, value.ToString()); | ||
| 79 | } | ||
| 80 | |||
| 81 | public string DownloadUrl | ||
| 82 | { | ||
| 83 | get => (string)this.Fields[(int)WixBundleContainerTupleFields.DownloadUrl]?.Value; | ||
| 84 | set => this.Set((int)WixBundleContainerTupleFields.DownloadUrl, value); | ||
| 85 | } | ||
| 86 | |||
| 87 | public int Size | ||
| 88 | { | ||
| 89 | get => (int)this.Fields[(int)WixBundleContainerTupleFields.Size]?.Value; | ||
| 90 | set => this.Set((int)WixBundleContainerTupleFields.Size, value); | ||
| 91 | } | ||
| 92 | |||
| 93 | public string Hash | ||
| 94 | { | ||
| 95 | get => (string)this.Fields[(int)WixBundleContainerTupleFields.Hash]?.Value; | ||
| 96 | set => this.Set((int)WixBundleContainerTupleFields.Hash, value); | ||
| 97 | } | ||
| 98 | |||
| 99 | public int AttachedContainerIndex | ||
| 100 | { | ||
| 101 | get => (int)this.Fields[(int)WixBundleContainerTupleFields.AttachedContainerIndex]?.Value; | ||
| 102 | set => this.Set((int)WixBundleContainerTupleFields.AttachedContainerIndex, value); | ||
| 103 | } | ||
| 104 | |||
| 105 | public string WorkingPath | ||
| 106 | { | ||
| 107 | get => (string)this.Fields[(int)WixBundleContainerTupleFields.WorkingPath]?.Value; | ||
| 108 | set => this.Set((int)WixBundleContainerTupleFields.WorkingPath, value); | ||
| 109 | } | ||
| 110 | } | ||
| 111 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundleExePackageTuple.cs b/src/WixToolset.Data/Tuples/WixBundleExePackageTuple.cs new file mode 100644 index 00000000..7ba036f3 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundleExePackageTuple.cs | |||
| @@ -0,0 +1,100 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundleExePackage = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundleExePackage, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.WixBundlePackage_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.DetectCondition), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.InstallCommand), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.RepairCommand), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.UninstallCommand), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(WixBundleExePackageTupleFields.ExeProtocol), IntermediateFieldType.String), | ||
| 20 | }, | ||
| 21 | typeof(WixBundleExePackageTuple)); | ||
| 22 | } | ||
| 23 | } | ||
| 24 | |||
| 25 | namespace WixToolset.Data.Tuples | ||
| 26 | { | ||
| 27 | using System; | ||
| 28 | |||
| 29 | public enum WixBundleExePackageTupleFields | ||
| 30 | { | ||
| 31 | WixBundlePackage_, | ||
| 32 | Attributes, | ||
| 33 | DetectCondition, | ||
| 34 | InstallCommand, | ||
| 35 | RepairCommand, | ||
| 36 | UninstallCommand, | ||
| 37 | ExeProtocol, | ||
| 38 | } | ||
| 39 | |||
| 40 | [Flags] | ||
| 41 | public enum WixBundleExePackageAttributes | ||
| 42 | { | ||
| 43 | Repairable = 0x1, | ||
| 44 | } | ||
| 45 | |||
| 46 | public class WixBundleExePackageTuple : IntermediateTuple | ||
| 47 | { | ||
| 48 | public WixBundleExePackageTuple() : base(TupleDefinitions.WixBundleExePackage, null, null) | ||
| 49 | { | ||
| 50 | } | ||
| 51 | |||
| 52 | public WixBundleExePackageTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleExePackage, sourceLineNumber, id) | ||
| 53 | { | ||
| 54 | } | ||
| 55 | |||
| 56 | public IntermediateField this[WixBundleExePackageTupleFields index] => this.Fields[(int)index]; | ||
| 57 | |||
| 58 | public string WixBundlePackage_ | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)WixBundleExePackageTupleFields.WixBundlePackage_]?.Value; | ||
| 61 | set => this.Set((int)WixBundleExePackageTupleFields.WixBundlePackage_, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public WixBundleExePackageAttributes Attributes | ||
| 65 | { | ||
| 66 | get => (WixBundleExePackageAttributes)(int)this.Fields[(int)WixBundleExePackageTupleFields.Attributes]?.Value; | ||
| 67 | set => this.Set((int)WixBundleExePackageTupleFields.Attributes, (int)value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string DetectCondition | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)WixBundleExePackageTupleFields.DetectCondition]?.Value; | ||
| 73 | set => this.Set((int)WixBundleExePackageTupleFields.DetectCondition, value); | ||
| 74 | } | ||
| 75 | |||
| 76 | public string InstallCommand | ||
| 77 | { | ||
| 78 | get => (string)this.Fields[(int)WixBundleExePackageTupleFields.InstallCommand]?.Value; | ||
| 79 | set => this.Set((int)WixBundleExePackageTupleFields.InstallCommand, value); | ||
| 80 | } | ||
| 81 | |||
| 82 | public string RepairCommand | ||
| 83 | { | ||
| 84 | get => (string)this.Fields[(int)WixBundleExePackageTupleFields.RepairCommand]?.Value; | ||
| 85 | set => this.Set((int)WixBundleExePackageTupleFields.RepairCommand, value); | ||
| 86 | } | ||
| 87 | |||
| 88 | public string UninstallCommand | ||
| 89 | { | ||
| 90 | get => (string)this.Fields[(int)WixBundleExePackageTupleFields.UninstallCommand]?.Value; | ||
| 91 | set => this.Set((int)WixBundleExePackageTupleFields.UninstallCommand, value); | ||
| 92 | } | ||
| 93 | |||
| 94 | public string ExeProtocol | ||
| 95 | { | ||
| 96 | get => (string)this.Fields[(int)WixBundleExePackageTupleFields.ExeProtocol]?.Value; | ||
| 97 | set => this.Set((int)WixBundleExePackageTupleFields.ExeProtocol, value); | ||
| 98 | } | ||
| 99 | } | ||
| 100 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundleMsiFeatureTuple.cs b/src/WixToolset.Data/Tuples/WixBundleMsiFeatureTuple.cs new file mode 100644 index 00000000..2729205d --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundleMsiFeatureTuple.cs | |||
| @@ -0,0 +1,116 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundleMsiFeature = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundleMsiFeature, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.WixBundlePackage_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.Name), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.Size), IntermediateFieldType.Number), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.Parent), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.Title), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.Description), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.Display), IntermediateFieldType.Number), | ||
| 20 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.Level), IntermediateFieldType.Number), | ||
| 21 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.Directory), IntermediateFieldType.String), | ||
| 22 | new IntermediateFieldDefinition(nameof(WixBundleMsiFeatureTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 23 | }, | ||
| 24 | typeof(WixBundleMsiFeatureTuple)); | ||
| 25 | } | ||
| 26 | } | ||
| 27 | |||
| 28 | namespace WixToolset.Data.Tuples | ||
| 29 | { | ||
| 30 | public enum WixBundleMsiFeatureTupleFields | ||
| 31 | { | ||
| 32 | WixBundlePackage_, | ||
| 33 | Name, | ||
| 34 | Size, | ||
| 35 | Parent, | ||
| 36 | Title, | ||
| 37 | Description, | ||
| 38 | Display, | ||
| 39 | Level, | ||
| 40 | Directory, | ||
| 41 | Attributes, | ||
| 42 | } | ||
| 43 | |||
| 44 | public class WixBundleMsiFeatureTuple : IntermediateTuple | ||
| 45 | { | ||
| 46 | public WixBundleMsiFeatureTuple() : base(TupleDefinitions.WixBundleMsiFeature, null, null) | ||
| 47 | { | ||
| 48 | } | ||
| 49 | |||
| 50 | public WixBundleMsiFeatureTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleMsiFeature, sourceLineNumber, id) | ||
| 51 | { | ||
| 52 | } | ||
| 53 | |||
| 54 | public IntermediateField this[WixBundleMsiFeatureTupleFields index] => this.Fields[(int)index]; | ||
| 55 | |||
| 56 | public string WixBundlePackage_ | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)WixBundleMsiFeatureTupleFields.WixBundlePackage_]?.Value; | ||
| 59 | set => this.Set((int)WixBundleMsiFeatureTupleFields.WixBundlePackage_, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string Name | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)WixBundleMsiFeatureTupleFields.Name]?.Value; | ||
| 65 | set => this.Set((int)WixBundleMsiFeatureTupleFields.Name, value); | ||
| 66 | } | ||
| 67 | |||
| 68 | public int Size | ||
| 69 | { | ||
| 70 | get => (int)this.Fields[(int)WixBundleMsiFeatureTupleFields.Size]?.Value; | ||
| 71 | set => this.Set((int)WixBundleMsiFeatureTupleFields.Size, value); | ||
| 72 | } | ||
| 73 | |||
| 74 | public string Parent | ||
| 75 | { | ||
| 76 | get => (string)this.Fields[(int)WixBundleMsiFeatureTupleFields.Parent]?.Value; | ||
| 77 | set => this.Set((int)WixBundleMsiFeatureTupleFields.Parent, value); | ||
| 78 | } | ||
| 79 | |||
| 80 | public string Title | ||
| 81 | { | ||
| 82 | get => (string)this.Fields[(int)WixBundleMsiFeatureTupleFields.Title]?.Value; | ||
| 83 | set => this.Set((int)WixBundleMsiFeatureTupleFields.Title, value); | ||
| 84 | } | ||
| 85 | |||
| 86 | public string Description | ||
| 87 | { | ||
| 88 | get => (string)this.Fields[(int)WixBundleMsiFeatureTupleFields.Description]?.Value; | ||
| 89 | set => this.Set((int)WixBundleMsiFeatureTupleFields.Description, value); | ||
| 90 | } | ||
| 91 | |||
| 92 | public int Display | ||
| 93 | { | ||
| 94 | get => (int)this.Fields[(int)WixBundleMsiFeatureTupleFields.Display]?.Value; | ||
| 95 | set => this.Set((int)WixBundleMsiFeatureTupleFields.Display, value); | ||
| 96 | } | ||
| 97 | |||
| 98 | public int Level | ||
| 99 | { | ||
| 100 | get => (int)this.Fields[(int)WixBundleMsiFeatureTupleFields.Level]?.Value; | ||
| 101 | set => this.Set((int)WixBundleMsiFeatureTupleFields.Level, value); | ||
| 102 | } | ||
| 103 | |||
| 104 | public string Directory | ||
| 105 | { | ||
| 106 | get => (string)this.Fields[(int)WixBundleMsiFeatureTupleFields.Directory]?.Value; | ||
| 107 | set => this.Set((int)WixBundleMsiFeatureTupleFields.Directory, value); | ||
| 108 | } | ||
| 109 | |||
| 110 | public int Attributes | ||
| 111 | { | ||
| 112 | get => (int)this.Fields[(int)WixBundleMsiFeatureTupleFields.Attributes]?.Value; | ||
| 113 | set => this.Set((int)WixBundleMsiFeatureTupleFields.Attributes, value); | ||
| 114 | } | ||
| 115 | } | ||
| 116 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundleMsiPackageTuple.cs b/src/WixToolset.Data/Tuples/WixBundleMsiPackageTuple.cs new file mode 100644 index 00000000..ce3afc15 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundleMsiPackageTuple.cs | |||
| @@ -0,0 +1,111 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundleMsiPackage = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundleMsiPackage, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageTupleFields.WixBundlePackage_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageTupleFields.ProductCode), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageTupleFields.UpgradeCode), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageTupleFields.ProductVersion), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageTupleFields.ProductLanguage), IntermediateFieldType.Number), | ||
| 19 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageTupleFields.ProductName), IntermediateFieldType.String), | ||
| 20 | new IntermediateFieldDefinition(nameof(WixBundleMsiPackageTupleFields.Manufacturer), IntermediateFieldType.String), | ||
| 21 | }, | ||
| 22 | typeof(WixBundleMsiPackageTuple)); | ||
| 23 | } | ||
| 24 | } | ||
| 25 | |||
| 26 | namespace WixToolset.Data.Tuples | ||
| 27 | { | ||
| 28 | using System; | ||
| 29 | |||
| 30 | public enum WixBundleMsiPackageTupleFields | ||
| 31 | { | ||
| 32 | WixBundlePackage_, | ||
| 33 | Attributes, | ||
| 34 | ProductCode, | ||
| 35 | UpgradeCode, | ||
| 36 | ProductVersion, | ||
| 37 | ProductLanguage, | ||
| 38 | ProductName, | ||
| 39 | Manufacturer, | ||
| 40 | } | ||
| 41 | |||
| 42 | [Flags] | ||
| 43 | public enum WixBundleMsiPackageAttributes | ||
| 44 | { | ||
| 45 | DisplayInternalUI = 0x1, | ||
| 46 | EnableFeatureSelection = 0x4, | ||
| 47 | ForcePerMachine = 0x2, | ||
| 48 | SuppressLooseFilePayloadGeneration = 0x8, | ||
| 49 | } | ||
| 50 | |||
| 51 | public class WixBundleMsiPackageTuple : IntermediateTuple | ||
| 52 | { | ||
| 53 | public WixBundleMsiPackageTuple() : base(TupleDefinitions.WixBundleMsiPackage, null, null) | ||
| 54 | { | ||
| 55 | } | ||
| 56 | |||
| 57 | public WixBundleMsiPackageTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleMsiPackage, sourceLineNumber, id) | ||
| 58 | { | ||
| 59 | } | ||
| 60 | |||
| 61 | public IntermediateField this[WixBundleMsiPackageTupleFields index] => this.Fields[(int)index]; | ||
| 62 | |||
| 63 | public string WixBundlePackage_ | ||
| 64 | { | ||
| 65 | get => (string)this.Fields[(int)WixBundleMsiPackageTupleFields.WixBundlePackage_]?.Value; | ||
| 66 | set => this.Set((int)WixBundleMsiPackageTupleFields.WixBundlePackage_, value); | ||
| 67 | } | ||
| 68 | |||
| 69 | public WixBundleMsiPackageAttributes Attributes | ||
| 70 | { | ||
| 71 | get => (WixBundleMsiPackageAttributes)(int)this.Fields[(int)WixBundleMsiPackageTupleFields.Attributes]?.Value; | ||
| 72 | set => this.Set((int)WixBundleMsiPackageTupleFields.Attributes, (int)value); | ||
| 73 | } | ||
| 74 | |||
| 75 | public string ProductCode | ||
| 76 | { | ||
| 77 | get => (string)this.Fields[(int)WixBundleMsiPackageTupleFields.ProductCode]?.Value; | ||
| 78 | set => this.Set((int)WixBundleMsiPackageTupleFields.ProductCode, value); | ||
| 79 | } | ||
| 80 | |||
| 81 | public string UpgradeCode | ||
| 82 | { | ||
| 83 | get => (string)this.Fields[(int)WixBundleMsiPackageTupleFields.UpgradeCode]?.Value; | ||
| 84 | set => this.Set((int)WixBundleMsiPackageTupleFields.UpgradeCode, value); | ||
| 85 | } | ||
| 86 | |||
| 87 | public string ProductVersion | ||
| 88 | { | ||
| 89 | get => (string)this.Fields[(int)WixBundleMsiPackageTupleFields.ProductVersion]?.Value; | ||
| 90 | set => this.Set((int)WixBundleMsiPackageTupleFields.ProductVersion, value); | ||
| 91 | } | ||
| 92 | |||
| 93 | public int ProductLanguage | ||
| 94 | { | ||
| 95 | get => (int)this.Fields[(int)WixBundleMsiPackageTupleFields.ProductLanguage]?.Value; | ||
| 96 | set => this.Set((int)WixBundleMsiPackageTupleFields.ProductLanguage, value); | ||
| 97 | } | ||
| 98 | |||
| 99 | public string ProductName | ||
| 100 | { | ||
| 101 | get => (string)this.Fields[(int)WixBundleMsiPackageTupleFields.ProductName]?.Value; | ||
| 102 | set => this.Set((int)WixBundleMsiPackageTupleFields.ProductName, value); | ||
| 103 | } | ||
| 104 | |||
| 105 | public string Manufacturer | ||
| 106 | { | ||
| 107 | get => (string)this.Fields[(int)WixBundleMsiPackageTupleFields.Manufacturer]?.Value; | ||
| 108 | set => this.Set((int)WixBundleMsiPackageTupleFields.Manufacturer, value); | ||
| 109 | } | ||
| 110 | } | ||
| 111 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundleMsiPropertyTuple.cs b/src/WixToolset.Data/Tuples/WixBundleMsiPropertyTuple.cs new file mode 100644 index 00000000..5eea57ea --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundleMsiPropertyTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundleMsiProperty = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundleMsiProperty, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundleMsiPropertyTupleFields.WixBundlePackage_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundleMsiPropertyTupleFields.Name), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBundleMsiPropertyTupleFields.Value), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixBundleMsiPropertyTupleFields.Condition), IntermediateFieldType.String), | ||
| 17 | }, | ||
| 18 | typeof(WixBundleMsiPropertyTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum WixBundleMsiPropertyTupleFields | ||
| 25 | { | ||
| 26 | WixBundlePackage_, | ||
| 27 | Name, | ||
| 28 | Value, | ||
| 29 | Condition, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class WixBundleMsiPropertyTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public WixBundleMsiPropertyTuple() : base(TupleDefinitions.WixBundleMsiProperty, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public WixBundleMsiPropertyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleMsiProperty, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[WixBundleMsiPropertyTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string WixBundlePackage_ | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)WixBundleMsiPropertyTupleFields.WixBundlePackage_]?.Value; | ||
| 47 | set => this.Set((int)WixBundleMsiPropertyTupleFields.WixBundlePackage_, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public string Name | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)WixBundleMsiPropertyTupleFields.Name]?.Value; | ||
| 53 | set => this.Set((int)WixBundleMsiPropertyTupleFields.Name, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string Value | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)WixBundleMsiPropertyTupleFields.Value]?.Value; | ||
| 59 | set => this.Set((int)WixBundleMsiPropertyTupleFields.Value, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string Condition | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)WixBundleMsiPropertyTupleFields.Condition]?.Value; | ||
| 65 | set => this.Set((int)WixBundleMsiPropertyTupleFields.Condition, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundleMspPackageTuple.cs b/src/WixToolset.Data/Tuples/WixBundleMspPackageTuple.cs new file mode 100644 index 00000000..219c7735 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundleMspPackageTuple.cs | |||
| @@ -0,0 +1,86 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundleMspPackage = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundleMspPackage, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundleMspPackageTupleFields.WixBundlePackage_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundleMspPackageTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBundleMspPackageTupleFields.PatchCode), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixBundleMspPackageTupleFields.Manufacturer), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixBundleMspPackageTupleFields.PatchXml), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(WixBundleMspPackageTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | using System; | ||
| 26 | |||
| 27 | public enum WixBundleMspPackageTupleFields | ||
| 28 | { | ||
| 29 | WixBundlePackage_, | ||
| 30 | Attributes, | ||
| 31 | PatchCode, | ||
| 32 | Manufacturer, | ||
| 33 | PatchXml, | ||
| 34 | } | ||
| 35 | |||
| 36 | [Flags] | ||
| 37 | public enum WixBundleMspPackageAttributes | ||
| 38 | { | ||
| 39 | DisplayInternalUI = 0x1, | ||
| 40 | Slipstream = 0x2, | ||
| 41 | TargetUnspecified = 0x4, | ||
| 42 | } | ||
| 43 | |||
| 44 | public class WixBundleMspPackageTuple : IntermediateTuple | ||
| 45 | { | ||
| 46 | public WixBundleMspPackageTuple() : base(TupleDefinitions.WixBundleMspPackage, null, null) | ||
| 47 | { | ||
| 48 | } | ||
| 49 | |||
| 50 | public WixBundleMspPackageTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleMspPackage, sourceLineNumber, id) | ||
| 51 | { | ||
| 52 | } | ||
| 53 | |||
| 54 | public IntermediateField this[WixBundleMspPackageTupleFields index] => this.Fields[(int)index]; | ||
| 55 | |||
| 56 | public string WixBundlePackage_ | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)WixBundleMspPackageTupleFields.WixBundlePackage_]?.Value; | ||
| 59 | set => this.Set((int)WixBundleMspPackageTupleFields.WixBundlePackage_, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public WixBundleMspPackageAttributes Attributes | ||
| 63 | { | ||
| 64 | get => (WixBundleMspPackageAttributes)(int)this.Fields[(int)WixBundleMspPackageTupleFields.Attributes]?.Value; | ||
| 65 | set => this.Set((int)WixBundleMspPackageTupleFields.Attributes, (int)value); | ||
| 66 | } | ||
| 67 | |||
| 68 | public string PatchCode | ||
| 69 | { | ||
| 70 | get => (string)this.Fields[(int)WixBundleMspPackageTupleFields.PatchCode]?.Value; | ||
| 71 | set => this.Set((int)WixBundleMspPackageTupleFields.PatchCode, value); | ||
| 72 | } | ||
| 73 | |||
| 74 | public string Manufacturer | ||
| 75 | { | ||
| 76 | get => (string)this.Fields[(int)WixBundleMspPackageTupleFields.Manufacturer]?.Value; | ||
| 77 | set => this.Set((int)WixBundleMspPackageTupleFields.Manufacturer, value); | ||
| 78 | } | ||
| 79 | |||
| 80 | public string PatchXml | ||
| 81 | { | ||
| 82 | get => (string)this.Fields[(int)WixBundleMspPackageTupleFields.PatchXml]?.Value; | ||
| 83 | set => this.Set((int)WixBundleMspPackageTupleFields.PatchXml, value); | ||
| 84 | } | ||
| 85 | } | ||
| 86 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundleMsuPackageTuple.cs b/src/WixToolset.Data/Tuples/WixBundleMsuPackageTuple.cs new file mode 100644 index 00000000..f6f71d6d --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundleMsuPackageTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundleMsuPackage = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundleMsuPackage, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundleMsuPackageTupleFields.WixBundlePackage_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundleMsuPackageTupleFields.DetectCondition), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBundleMsuPackageTupleFields.MsuKB), IntermediateFieldType.String), | ||
| 16 | }, | ||
| 17 | typeof(WixBundleMsuPackageTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum WixBundleMsuPackageTupleFields | ||
| 24 | { | ||
| 25 | WixBundlePackage_, | ||
| 26 | DetectCondition, | ||
| 27 | MsuKB, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class WixBundleMsuPackageTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public WixBundleMsuPackageTuple() : base(TupleDefinitions.WixBundleMsuPackage, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public WixBundleMsuPackageTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleMsuPackage, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[WixBundleMsuPackageTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string WixBundlePackage_ | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)WixBundleMsuPackageTupleFields.WixBundlePackage_]?.Value; | ||
| 45 | set => this.Set((int)WixBundleMsuPackageTupleFields.WixBundlePackage_, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string DetectCondition | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)WixBundleMsuPackageTupleFields.DetectCondition]?.Value; | ||
| 51 | set => this.Set((int)WixBundleMsuPackageTupleFields.DetectCondition, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string MsuKB | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)WixBundleMsuPackageTupleFields.MsuKB]?.Value; | ||
| 57 | set => this.Set((int)WixBundleMsuPackageTupleFields.MsuKB, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundlePackageCommandLineTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePackageCommandLineTuple.cs new file mode 100644 index 00000000..0ca895c0 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundlePackageCommandLineTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundlePackageCommandLine = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundlePackageCommandLine, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundlePackageCommandLineTupleFields.WixBundlePackage_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundlePackageCommandLineTupleFields.InstallArgument), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBundlePackageCommandLineTupleFields.UninstallArgument), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixBundlePackageCommandLineTupleFields.RepairArgument), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixBundlePackageCommandLineTupleFields.Condition), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(WixBundlePackageCommandLineTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum WixBundlePackageCommandLineTupleFields | ||
| 26 | { | ||
| 27 | WixBundlePackage_, | ||
| 28 | InstallArgument, | ||
| 29 | UninstallArgument, | ||
| 30 | RepairArgument, | ||
| 31 | Condition, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class WixBundlePackageCommandLineTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public WixBundlePackageCommandLineTuple() : base(TupleDefinitions.WixBundlePackageCommandLine, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public WixBundlePackageCommandLineTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundlePackageCommandLine, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[WixBundlePackageCommandLineTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string WixBundlePackage_ | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)WixBundlePackageCommandLineTupleFields.WixBundlePackage_]?.Value; | ||
| 49 | set => this.Set((int)WixBundlePackageCommandLineTupleFields.WixBundlePackage_, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string InstallArgument | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)WixBundlePackageCommandLineTupleFields.InstallArgument]?.Value; | ||
| 55 | set => this.Set((int)WixBundlePackageCommandLineTupleFields.InstallArgument, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string UninstallArgument | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)WixBundlePackageCommandLineTupleFields.UninstallArgument]?.Value; | ||
| 61 | set => this.Set((int)WixBundlePackageCommandLineTupleFields.UninstallArgument, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string RepairArgument | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)WixBundlePackageCommandLineTupleFields.RepairArgument]?.Value; | ||
| 67 | set => this.Set((int)WixBundlePackageCommandLineTupleFields.RepairArgument, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Condition | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)WixBundlePackageCommandLineTupleFields.Condition]?.Value; | ||
| 73 | set => this.Set((int)WixBundlePackageCommandLineTupleFields.Condition, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundlePackageExitCodeTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePackageExitCodeTuple.cs new file mode 100644 index 00000000..64c91316 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundlePackageExitCodeTuple.cs | |||
| @@ -0,0 +1,71 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundlePackageExitCode = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundlePackageExitCode, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundlePackageExitCodeTupleFields.ChainPackageId), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundlePackageExitCodeTupleFields.Code), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBundlePackageExitCodeTupleFields.Behavior), IntermediateFieldType.String), | ||
| 16 | }, | ||
| 17 | typeof(WixBundlePackageExitCodeTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | using System; | ||
| 24 | |||
| 25 | public enum WixBundlePackageExitCodeTupleFields | ||
| 26 | { | ||
| 27 | ChainPackageId, | ||
| 28 | Code, | ||
| 29 | Behavior, | ||
| 30 | } | ||
| 31 | |||
| 32 | public enum ExitCodeBehaviorType | ||
| 33 | { | ||
| 34 | NotSet = -1, | ||
| 35 | Success, | ||
| 36 | Error, | ||
| 37 | ScheduleReboot, | ||
| 38 | ForceReboot, | ||
| 39 | } | ||
| 40 | |||
| 41 | public class WixBundlePackageExitCodeTuple : IntermediateTuple | ||
| 42 | { | ||
| 43 | public WixBundlePackageExitCodeTuple() : base(TupleDefinitions.WixBundlePackageExitCode, null, null) | ||
| 44 | { | ||
| 45 | } | ||
| 46 | |||
| 47 | public WixBundlePackageExitCodeTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundlePackageExitCode, sourceLineNumber, id) | ||
| 48 | { | ||
| 49 | } | ||
| 50 | |||
| 51 | public IntermediateField this[WixBundlePackageExitCodeTupleFields index] => this.Fields[(int)index]; | ||
| 52 | |||
| 53 | public string ChainPackageId | ||
| 54 | { | ||
| 55 | get => (string)this.Fields[(int)WixBundlePackageExitCodeTupleFields.ChainPackageId]?.Value; | ||
| 56 | set => this.Set((int)WixBundlePackageExitCodeTupleFields.ChainPackageId, value); | ||
| 57 | } | ||
| 58 | |||
| 59 | public int Code | ||
| 60 | { | ||
| 61 | get => (int)this.Fields[(int)WixBundlePackageExitCodeTupleFields.Code]?.Value; | ||
| 62 | set => this.Set((int)WixBundlePackageExitCodeTupleFields.Code, value); | ||
| 63 | } | ||
| 64 | |||
| 65 | public ExitCodeBehaviorType Behavior | ||
| 66 | { | ||
| 67 | get => Enum.TryParse((string)this.Fields[(int)WixBundlePackageExitCodeTupleFields.Behavior]?.Value, true, out ExitCodeBehaviorType value) ? value : ExitCodeBehaviorType.NotSet; | ||
| 68 | set => this.Set((int)WixBundlePackageExitCodeTupleFields.Behavior, value.ToString()); | ||
| 69 | } | ||
| 70 | } | ||
| 71 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundlePackageGroupTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePackageGroupTuple.cs new file mode 100644 index 00000000..56711155 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundlePackageGroupTuple.cs | |||
| @@ -0,0 +1,44 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundlePackageGroup = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundlePackageGroup, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundlePackageGroupTupleFields.WixBundlePackageGroup), IntermediateFieldType.String), | ||
| 14 | }, | ||
| 15 | typeof(WixBundlePackageGroupTuple)); | ||
| 16 | } | ||
| 17 | } | ||
| 18 | |||
| 19 | namespace WixToolset.Data.Tuples | ||
| 20 | { | ||
| 21 | public enum WixBundlePackageGroupTupleFields | ||
| 22 | { | ||
| 23 | WixBundlePackageGroup, | ||
| 24 | } | ||
| 25 | |||
| 26 | public class WixBundlePackageGroupTuple : IntermediateTuple | ||
| 27 | { | ||
| 28 | public WixBundlePackageGroupTuple() : base(TupleDefinitions.WixBundlePackageGroup, null, null) | ||
| 29 | { | ||
| 30 | } | ||
| 31 | |||
| 32 | public WixBundlePackageGroupTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundlePackageGroup, sourceLineNumber, id) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public IntermediateField this[WixBundlePackageGroupTupleFields index] => this.Fields[(int)index]; | ||
| 37 | |||
| 38 | public string WixBundlePackageGroup | ||
| 39 | { | ||
| 40 | get => (string)this.Fields[(int)WixBundlePackageGroupTupleFields.WixBundlePackageGroup]?.Value; | ||
| 41 | set => this.Set((int)WixBundlePackageGroupTupleFields.WixBundlePackageGroup, value); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundlePackageTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePackageTuple.cs new file mode 100644 index 00000000..e0eedce1 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundlePackageTuple.cs | |||
| @@ -0,0 +1,216 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundlePackage = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundlePackage, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.WixChainItem_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.Type), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.Payload_), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.InstallCondition), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.Cache), IntermediateFieldType.Number), | ||
| 19 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.CacheId), IntermediateFieldType.String), | ||
| 20 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.Vital), IntermediateFieldType.Bool), | ||
| 21 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.PerMachine), IntermediateFieldType.Bool), | ||
| 22 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.LogPathVariable), IntermediateFieldType.String), | ||
| 23 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.RollbackLogPathVariable), IntermediateFieldType.String), | ||
| 24 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.Size), IntermediateFieldType.Number), | ||
| 25 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.InstallSize), IntermediateFieldType.Number), | ||
| 26 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.Version), IntermediateFieldType.String), | ||
| 27 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.Language), IntermediateFieldType.Number), | ||
| 28 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.DisplayName), IntermediateFieldType.String), | ||
| 29 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.Description), IntermediateFieldType.String), | ||
| 30 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.RollbackBoundary_), IntermediateFieldType.String), | ||
| 31 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.RollbackBoundaryBackward_), IntermediateFieldType.String), | ||
| 32 | new IntermediateFieldDefinition(nameof(WixBundlePackageTupleFields.x64), IntermediateFieldType.Number), | ||
| 33 | }, | ||
| 34 | typeof(WixBundlePackageTuple)); | ||
| 35 | } | ||
| 36 | } | ||
| 37 | |||
| 38 | namespace WixToolset.Data.Tuples | ||
| 39 | { | ||
| 40 | using System; | ||
| 41 | |||
| 42 | public enum WixBundlePackageTupleFields | ||
| 43 | { | ||
| 44 | WixChainItem_, | ||
| 45 | Type, | ||
| 46 | Payload_, | ||
| 47 | Attributes, | ||
| 48 | InstallCondition, | ||
| 49 | Cache, | ||
| 50 | CacheId, | ||
| 51 | Vital, | ||
| 52 | PerMachine, | ||
| 53 | LogPathVariable, | ||
| 54 | RollbackLogPathVariable, | ||
| 55 | Size, | ||
| 56 | InstallSize, | ||
| 57 | Version, | ||
| 58 | Language, | ||
| 59 | DisplayName, | ||
| 60 | Description, | ||
| 61 | RollbackBoundary_, | ||
| 62 | RollbackBoundaryBackward_, | ||
| 63 | x64, | ||
| 64 | } | ||
| 65 | |||
| 66 | /// <summary> | ||
| 67 | /// Types of bundle packages. | ||
| 68 | /// </summary> | ||
| 69 | public enum WixBundlePackageType | ||
| 70 | { | ||
| 71 | Exe, | ||
| 72 | Msi, | ||
| 73 | Msp, | ||
| 74 | Msu, | ||
| 75 | } | ||
| 76 | |||
| 77 | [Flags] | ||
| 78 | public enum WixBundlePackageAttributes | ||
| 79 | { | ||
| 80 | Permanent = 0x1, | ||
| 81 | Visible = 0x2, | ||
| 82 | } | ||
| 83 | |||
| 84 | public class WixBundlePackageTuple : IntermediateTuple | ||
| 85 | { | ||
| 86 | public WixBundlePackageTuple() : base(TupleDefinitions.WixBundlePackage, null, null) | ||
| 87 | { | ||
| 88 | } | ||
| 89 | |||
| 90 | public WixBundlePackageTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundlePackage, sourceLineNumber, id) | ||
| 91 | { | ||
| 92 | } | ||
| 93 | |||
| 94 | public IntermediateField this[WixBundlePackageTupleFields index] => this.Fields[(int)index]; | ||
| 95 | |||
| 96 | public string WixChainItem_ | ||
| 97 | { | ||
| 98 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.WixChainItem_]?.Value; | ||
| 99 | set => this.Set((int)WixBundlePackageTupleFields.WixChainItem_, value); | ||
| 100 | } | ||
| 101 | |||
| 102 | public WixBundlePackageType Type | ||
| 103 | { | ||
| 104 | get => (WixBundlePackageType)Enum.Parse(typeof(WixBundlePackageType), (string)this.Fields[(int)WixBundlePackageTupleFields.Type]?.Value, true); | ||
| 105 | set => this.Set((int)WixBundlePackageTupleFields.Type, value.ToString()); | ||
| 106 | } | ||
| 107 | |||
| 108 | public string Payload_ | ||
| 109 | { | ||
| 110 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.Payload_]?.Value; | ||
| 111 | set => this.Set((int)WixBundlePackageTupleFields.Payload_, value); | ||
| 112 | } | ||
| 113 | |||
| 114 | public WixBundlePackageAttributes Attributes | ||
| 115 | { | ||
| 116 | get => (WixBundlePackageAttributes)(int)this.Fields[(int)WixBundlePackageTupleFields.Attributes]?.Value; | ||
| 117 | set => this.Set((int)WixBundlePackageTupleFields.Attributes, (int)value); | ||
| 118 | } | ||
| 119 | |||
| 120 | public string InstallCondition | ||
| 121 | { | ||
| 122 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.InstallCondition]?.Value; | ||
| 123 | set => this.Set((int)WixBundlePackageTupleFields.InstallCondition, value); | ||
| 124 | } | ||
| 125 | |||
| 126 | public YesNoAlwaysType Cache | ||
| 127 | { | ||
| 128 | get => Enum.TryParse((string)this.Fields[(int)WixBundlePackageTupleFields.Cache]?.Value, true, out YesNoAlwaysType value) ? value : YesNoAlwaysType.NotSet; | ||
| 129 | set => this.Set((int)WixBundlePackageTupleFields.Cache, value); | ||
| 130 | } | ||
| 131 | |||
| 132 | public string CacheId | ||
| 133 | { | ||
| 134 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.CacheId]?.Value; | ||
| 135 | set => this.Set((int)WixBundlePackageTupleFields.CacheId, value); | ||
| 136 | } | ||
| 137 | |||
| 138 | public bool? Vital | ||
| 139 | { | ||
| 140 | get => (bool?)this.Fields[(int)WixBundlePackageTupleFields.Vital]?.Value; | ||
| 141 | set => this.Set((int)WixBundlePackageTupleFields.Vital, value); | ||
| 142 | } | ||
| 143 | |||
| 144 | public YesNoDefaultType PerMachine | ||
| 145 | { | ||
| 146 | get => Enum.TryParse((string)this.Fields[(int)WixBundlePackageTupleFields.PerMachine]?.Value, true, out YesNoDefaultType value) ? value : YesNoDefaultType.NotSet; | ||
| 147 | set => this.Set((int)WixBundlePackageTupleFields.PerMachine, value); | ||
| 148 | } | ||
| 149 | |||
| 150 | public string LogPathVariable | ||
| 151 | { | ||
| 152 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.LogPathVariable]?.Value; | ||
| 153 | set => this.Set((int)WixBundlePackageTupleFields.LogPathVariable, value); | ||
| 154 | } | ||
| 155 | |||
| 156 | public string RollbackLogPathVariable | ||
| 157 | { | ||
| 158 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.RollbackLogPathVariable]?.Value; | ||
| 159 | set => this.Set((int)WixBundlePackageTupleFields.RollbackLogPathVariable, value); | ||
| 160 | } | ||
| 161 | |||
| 162 | public int Size | ||
| 163 | { | ||
| 164 | get => (int)this.Fields[(int)WixBundlePackageTupleFields.Size]?.Value; | ||
| 165 | set => this.Set((int)WixBundlePackageTupleFields.Size, value); | ||
| 166 | } | ||
| 167 | |||
| 168 | public int InstallSize | ||
| 169 | { | ||
| 170 | get => (int)this.Fields[(int)WixBundlePackageTupleFields.InstallSize]?.Value; | ||
| 171 | set => this.Set((int)WixBundlePackageTupleFields.InstallSize, value); | ||
| 172 | } | ||
| 173 | |||
| 174 | public string Version | ||
| 175 | { | ||
| 176 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.Version]?.Value; | ||
| 177 | set => this.Set((int)WixBundlePackageTupleFields.Version, value); | ||
| 178 | } | ||
| 179 | |||
| 180 | public int Language | ||
| 181 | { | ||
| 182 | get => (int)this.Fields[(int)WixBundlePackageTupleFields.Language]?.Value; | ||
| 183 | set => this.Set((int)WixBundlePackageTupleFields.Language, value); | ||
| 184 | } | ||
| 185 | |||
| 186 | public string DisplayName | ||
| 187 | { | ||
| 188 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.DisplayName]?.Value; | ||
| 189 | set => this.Set((int)WixBundlePackageTupleFields.DisplayName, value); | ||
| 190 | } | ||
| 191 | |||
| 192 | public string Description | ||
| 193 | { | ||
| 194 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.Description]?.Value; | ||
| 195 | set => this.Set((int)WixBundlePackageTupleFields.Description, value); | ||
| 196 | } | ||
| 197 | |||
| 198 | public string RollbackBoundary_ | ||
| 199 | { | ||
| 200 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.RollbackBoundary_]?.Value; | ||
| 201 | set => this.Set((int)WixBundlePackageTupleFields.RollbackBoundary_, value); | ||
| 202 | } | ||
| 203 | |||
| 204 | public string RollbackBoundaryBackward_ | ||
| 205 | { | ||
| 206 | get => (string)this.Fields[(int)WixBundlePackageTupleFields.RollbackBoundaryBackward_]?.Value; | ||
| 207 | set => this.Set((int)WixBundlePackageTupleFields.RollbackBoundaryBackward_, value); | ||
| 208 | } | ||
| 209 | |||
| 210 | public int x64 | ||
| 211 | { | ||
| 212 | get => (int)this.Fields[(int)WixBundlePackageTupleFields.x64]?.Value; | ||
| 213 | set => this.Set((int)WixBundlePackageTupleFields.x64, value); | ||
| 214 | } | ||
| 215 | } | ||
| 216 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundlePatchTargetCodeTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePatchTargetCodeTuple.cs new file mode 100644 index 00000000..d34c0d2a --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundlePatchTargetCodeTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundlePatchTargetCode = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundlePatchTargetCode, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundlePatchTargetCodeTupleFields.PackageId), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundlePatchTargetCodeTupleFields.TargetCode), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBundlePatchTargetCodeTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 16 | }, | ||
| 17 | typeof(WixBundlePatchTargetCodeTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum WixBundlePatchTargetCodeTupleFields | ||
| 24 | { | ||
| 25 | PackageId, | ||
| 26 | TargetCode, | ||
| 27 | Attributes, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class WixBundlePatchTargetCodeTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public WixBundlePatchTargetCodeTuple() : base(TupleDefinitions.WixBundlePatchTargetCode, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public WixBundlePatchTargetCodeTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundlePatchTargetCode, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[WixBundlePatchTargetCodeTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string PackageId | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)WixBundlePatchTargetCodeTupleFields.PackageId]?.Value; | ||
| 45 | set => this.Set((int)WixBundlePatchTargetCodeTupleFields.PackageId, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string TargetCode | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)WixBundlePatchTargetCodeTupleFields.TargetCode]?.Value; | ||
| 51 | set => this.Set((int)WixBundlePatchTargetCodeTupleFields.TargetCode, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public int Attributes | ||
| 55 | { | ||
| 56 | get => (int)this.Fields[(int)WixBundlePatchTargetCodeTupleFields.Attributes]?.Value; | ||
| 57 | set => this.Set((int)WixBundlePatchTargetCodeTupleFields.Attributes, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundlePayloadGroupTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePayloadGroupTuple.cs new file mode 100644 index 00000000..c1f0df6a --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundlePayloadGroupTuple.cs | |||
| @@ -0,0 +1,44 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundlePayloadGroup = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundlePayloadGroup, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundlePayloadGroupTupleFields.WixBundlePayloadGroup), IntermediateFieldType.String), | ||
| 14 | }, | ||
| 15 | typeof(WixBundlePayloadGroupTuple)); | ||
| 16 | } | ||
| 17 | } | ||
| 18 | |||
| 19 | namespace WixToolset.Data.Tuples | ||
| 20 | { | ||
| 21 | public enum WixBundlePayloadGroupTupleFields | ||
| 22 | { | ||
| 23 | WixBundlePayloadGroup, | ||
| 24 | } | ||
| 25 | |||
| 26 | public class WixBundlePayloadGroupTuple : IntermediateTuple | ||
| 27 | { | ||
| 28 | public WixBundlePayloadGroupTuple() : base(TupleDefinitions.WixBundlePayloadGroup, null, null) | ||
| 29 | { | ||
| 30 | } | ||
| 31 | |||
| 32 | public WixBundlePayloadGroupTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundlePayloadGroup, sourceLineNumber, id) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public IntermediateField this[WixBundlePayloadGroupTupleFields index] => this.Fields[(int)index]; | ||
| 37 | |||
| 38 | public string WixBundlePayloadGroup | ||
| 39 | { | ||
| 40 | get => (string)this.Fields[(int)WixBundlePayloadGroupTupleFields.WixBundlePayloadGroup]?.Value; | ||
| 41 | set => this.Set((int)WixBundlePayloadGroupTupleFields.WixBundlePayloadGroup, value); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundlePayloadTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePayloadTuple.cs new file mode 100644 index 00000000..d1c02387 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundlePayloadTuple.cs | |||
| @@ -0,0 +1,214 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundlePayload = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundlePayload, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.WixBundlePayload), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.Name), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.SourceFile), IntermediateFieldType.Path), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.DownloadUrl), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.Compressed), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.UnresolvedSourceFile), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.DisplayName), IntermediateFieldType.String), | ||
| 20 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.Description), IntermediateFieldType.String), | ||
| 21 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.EnableSignatureValidation), IntermediateFieldType.Bool), | ||
| 22 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.FileSize), IntermediateFieldType.Number), | ||
| 23 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.Version), IntermediateFieldType.String), | ||
| 24 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.Hash), IntermediateFieldType.String), | ||
| 25 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.PublicKey), IntermediateFieldType.String), | ||
| 26 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.Thumbprint), IntermediateFieldType.String), | ||
| 27 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.Catalog_), IntermediateFieldType.String), | ||
| 28 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.Container_), IntermediateFieldType.String), | ||
| 29 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.Package), IntermediateFieldType.String), | ||
| 30 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.ContentFile), IntermediateFieldType.Bool), | ||
| 31 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.EmbeddedId), IntermediateFieldType.String), | ||
| 32 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.LayoutOnly), IntermediateFieldType.Number), | ||
| 33 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.Packaging), IntermediateFieldType.Number), | ||
| 34 | new IntermediateFieldDefinition(nameof(WixBundlePayloadTupleFields.ParentPackagePayload_), IntermediateFieldType.String), | ||
| 35 | }, | ||
| 36 | typeof(WixBundlePayloadTuple)); | ||
| 37 | } | ||
| 38 | } | ||
| 39 | |||
| 40 | namespace WixToolset.Data.Tuples | ||
| 41 | { | ||
| 42 | using System; | ||
| 43 | |||
| 44 | public enum WixBundlePayloadTupleFields | ||
| 45 | { | ||
| 46 | WixBundlePayload, | ||
| 47 | Name, | ||
| 48 | SourceFile, | ||
| 49 | DownloadUrl, | ||
| 50 | Compressed, | ||
| 51 | UnresolvedSourceFile, | ||
| 52 | DisplayName, | ||
| 53 | Description, | ||
| 54 | EnableSignatureValidation, | ||
| 55 | FileSize, | ||
| 56 | Version, | ||
| 57 | Hash, | ||
| 58 | PublicKey, | ||
| 59 | Thumbprint, | ||
| 60 | Catalog_, | ||
| 61 | Container_, | ||
| 62 | Package, | ||
| 63 | ContentFile, | ||
| 64 | EmbeddedId, | ||
| 65 | LayoutOnly, | ||
| 66 | Packaging, | ||
| 67 | ParentPackagePayload_, | ||
| 68 | } | ||
| 69 | |||
| 70 | public class WixBundlePayloadTuple : IntermediateTuple | ||
| 71 | { | ||
| 72 | public WixBundlePayloadTuple() : base(TupleDefinitions.WixBundlePayload, null, null) | ||
| 73 | { | ||
| 74 | } | ||
| 75 | |||
| 76 | public WixBundlePayloadTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundlePayload, sourceLineNumber, id) | ||
| 77 | { | ||
| 78 | } | ||
| 79 | |||
| 80 | public IntermediateField this[WixBundlePayloadTupleFields index] => this.Fields[(int)index]; | ||
| 81 | |||
| 82 | public string WixBundlePayload | ||
| 83 | { | ||
| 84 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.WixBundlePayload]?.Value; | ||
| 85 | set => this.Set((int)WixBundlePayloadTupleFields.WixBundlePayload, value); | ||
| 86 | } | ||
| 87 | |||
| 88 | public string Name | ||
| 89 | { | ||
| 90 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.Name]?.Value; | ||
| 91 | set => this.Set((int)WixBundlePayloadTupleFields.Name, value); | ||
| 92 | } | ||
| 93 | |||
| 94 | public string SourceFile | ||
| 95 | { | ||
| 96 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.SourceFile]?.Value; | ||
| 97 | set => this.Set((int)WixBundlePayloadTupleFields.SourceFile, value); | ||
| 98 | } | ||
| 99 | |||
| 100 | public string DownloadUrl | ||
| 101 | { | ||
| 102 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.DownloadUrl]?.Value; | ||
| 103 | set => this.Set((int)WixBundlePayloadTupleFields.DownloadUrl, value); | ||
| 104 | } | ||
| 105 | |||
| 106 | public YesNoDefaultType Compressed | ||
| 107 | { | ||
| 108 | get => Enum.TryParse((string)this.Fields[(int)WixBundlePayloadTupleFields.Compressed]?.Value, true, out YesNoDefaultType value) ? value : YesNoDefaultType.NotSet; | ||
| 109 | set => this.Set((int)WixBundlePayloadTupleFields.Compressed, value); | ||
| 110 | } | ||
| 111 | |||
| 112 | public string UnresolvedSourceFile | ||
| 113 | { | ||
| 114 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.UnresolvedSourceFile]?.Value; | ||
| 115 | set => this.Set((int)WixBundlePayloadTupleFields.UnresolvedSourceFile, value); | ||
| 116 | } | ||
| 117 | |||
| 118 | public string DisplayName | ||
| 119 | { | ||
| 120 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.DisplayName]?.Value; | ||
| 121 | set => this.Set((int)WixBundlePayloadTupleFields.DisplayName, value); | ||
| 122 | } | ||
| 123 | |||
| 124 | public string Description | ||
| 125 | { | ||
| 126 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.Description]?.Value; | ||
| 127 | set => this.Set((int)WixBundlePayloadTupleFields.Description, value); | ||
| 128 | } | ||
| 129 | |||
| 130 | public bool EnableSignatureValidation | ||
| 131 | { | ||
| 132 | get => (bool)this.Fields[(int)WixBundlePayloadTupleFields.EnableSignatureValidation]?.Value; | ||
| 133 | set => this.Set((int)WixBundlePayloadTupleFields.EnableSignatureValidation, value); | ||
| 134 | } | ||
| 135 | |||
| 136 | public int FileSize | ||
| 137 | { | ||
| 138 | get => (int)this.Fields[(int)WixBundlePayloadTupleFields.FileSize]?.Value; | ||
| 139 | set => this.Set((int)WixBundlePayloadTupleFields.FileSize, value); | ||
| 140 | } | ||
| 141 | |||
| 142 | public string Version | ||
| 143 | { | ||
| 144 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.Version]?.Value; | ||
| 145 | set => this.Set((int)WixBundlePayloadTupleFields.Version, value); | ||
| 146 | } | ||
| 147 | |||
| 148 | public string Hash | ||
| 149 | { | ||
| 150 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.Hash]?.Value; | ||
| 151 | set => this.Set((int)WixBundlePayloadTupleFields.Hash, value); | ||
| 152 | } | ||
| 153 | |||
| 154 | public string PublicKey | ||
| 155 | { | ||
| 156 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.PublicKey]?.Value; | ||
| 157 | set => this.Set((int)WixBundlePayloadTupleFields.PublicKey, value); | ||
| 158 | } | ||
| 159 | |||
| 160 | public string Thumbprint | ||
| 161 | { | ||
| 162 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.Thumbprint]?.Value; | ||
| 163 | set => this.Set((int)WixBundlePayloadTupleFields.Thumbprint, value); | ||
| 164 | } | ||
| 165 | |||
| 166 | public string Catalog_ | ||
| 167 | { | ||
| 168 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.Catalog_]?.Value; | ||
| 169 | set => this.Set((int)WixBundlePayloadTupleFields.Catalog_, value); | ||
| 170 | } | ||
| 171 | |||
| 172 | public string Container_ | ||
| 173 | { | ||
| 174 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.Container_]?.Value; | ||
| 175 | set => this.Set((int)WixBundlePayloadTupleFields.Container_, value); | ||
| 176 | } | ||
| 177 | |||
| 178 | public string Package | ||
| 179 | { | ||
| 180 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.Package]?.Value; | ||
| 181 | set => this.Set((int)WixBundlePayloadTupleFields.Package, value); | ||
| 182 | } | ||
| 183 | |||
| 184 | public bool ContentFile | ||
| 185 | { | ||
| 186 | get => (bool)this.Fields[(int)WixBundlePayloadTupleFields.ContentFile]?.Value; | ||
| 187 | set => this.Set((int)WixBundlePayloadTupleFields.ContentFile, value); | ||
| 188 | } | ||
| 189 | |||
| 190 | public string EmbeddedId | ||
| 191 | { | ||
| 192 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.EmbeddedId]?.Value; | ||
| 193 | set => this.Set((int)WixBundlePayloadTupleFields.EmbeddedId, value); | ||
| 194 | } | ||
| 195 | |||
| 196 | public int LayoutOnly | ||
| 197 | { | ||
| 198 | get => (int)this.Fields[(int)WixBundlePayloadTupleFields.LayoutOnly]?.Value; | ||
| 199 | set => this.Set((int)WixBundlePayloadTupleFields.LayoutOnly, value); | ||
| 200 | } | ||
| 201 | |||
| 202 | public int Packaging | ||
| 203 | { | ||
| 204 | get => (int)this.Fields[(int)WixBundlePayloadTupleFields.Packaging]?.Value; | ||
| 205 | set => this.Set((int)WixBundlePayloadTupleFields.Packaging, value); | ||
| 206 | } | ||
| 207 | |||
| 208 | public string ParentPackagePayload_ | ||
| 209 | { | ||
| 210 | get => (string)this.Fields[(int)WixBundlePayloadTupleFields.ParentPackagePayload_]?.Value; | ||
| 211 | set => this.Set((int)WixBundlePayloadTupleFields.ParentPackagePayload_, value); | ||
| 212 | } | ||
| 213 | } | ||
| 214 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundlePropertiesTuple.cs b/src/WixToolset.Data/Tuples/WixBundlePropertiesTuple.cs new file mode 100644 index 00000000..8a42c3c6 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundlePropertiesTuple.cs | |||
| @@ -0,0 +1,84 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundleProperties = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundleProperties, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundlePropertiesTupleFields.DisplayName), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundlePropertiesTupleFields.LogPathVariable), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBundlePropertiesTupleFields.Compressed), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixBundlePropertiesTupleFields.Id), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixBundlePropertiesTupleFields.UpgradeCode), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixBundlePropertiesTupleFields.PerMachine), IntermediateFieldType.String), | ||
| 19 | }, | ||
| 20 | typeof(WixBundlePropertiesTuple)); | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace WixToolset.Data.Tuples | ||
| 25 | { | ||
| 26 | public enum WixBundlePropertiesTupleFields | ||
| 27 | { | ||
| 28 | DisplayName, | ||
| 29 | LogPathVariable, | ||
| 30 | Compressed, | ||
| 31 | Id, | ||
| 32 | UpgradeCode, | ||
| 33 | PerMachine, | ||
| 34 | } | ||
| 35 | |||
| 36 | public class WixBundlePropertiesTuple : IntermediateTuple | ||
| 37 | { | ||
| 38 | public WixBundlePropertiesTuple() : base(TupleDefinitions.WixBundleProperties, null, null) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public WixBundlePropertiesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleProperties, sourceLineNumber, id) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public IntermediateField this[WixBundlePropertiesTupleFields index] => this.Fields[(int)index]; | ||
| 47 | |||
| 48 | public string DisplayName | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)WixBundlePropertiesTupleFields.DisplayName]?.Value; | ||
| 51 | set => this.Set((int)WixBundlePropertiesTupleFields.DisplayName, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string LogPathVariable | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)WixBundlePropertiesTupleFields.LogPathVariable]?.Value; | ||
| 57 | set => this.Set((int)WixBundlePropertiesTupleFields.LogPathVariable, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public string Compressed | ||
| 61 | { | ||
| 62 | get => (string)this.Fields[(int)WixBundlePropertiesTupleFields.Compressed]?.Value; | ||
| 63 | set => this.Set((int)WixBundlePropertiesTupleFields.Compressed, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public string Id | ||
| 67 | { | ||
| 68 | get => (string)this.Fields[(int)WixBundlePropertiesTupleFields.Id]?.Value; | ||
| 69 | set => this.Set((int)WixBundlePropertiesTupleFields.Id, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public string UpgradeCode | ||
| 73 | { | ||
| 74 | get => (string)this.Fields[(int)WixBundlePropertiesTupleFields.UpgradeCode]?.Value; | ||
| 75 | set => this.Set((int)WixBundlePropertiesTupleFields.UpgradeCode, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public string PerMachine | ||
| 79 | { | ||
| 80 | get => (string)this.Fields[(int)WixBundlePropertiesTupleFields.PerMachine]?.Value; | ||
| 81 | set => this.Set((int)WixBundlePropertiesTupleFields.PerMachine, value); | ||
| 82 | } | ||
| 83 | } | ||
| 84 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundleRelatedPackageTuple.cs b/src/WixToolset.Data/Tuples/WixBundleRelatedPackageTuple.cs new file mode 100644 index 00000000..d3e1069a --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundleRelatedPackageTuple.cs | |||
| @@ -0,0 +1,108 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundleRelatedPackage = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundleRelatedPackage, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageTupleFields.WixBundlePackage_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageTupleFields.Id), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageTupleFields.MinVersion), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageTupleFields.MaxVersion), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageTupleFields.Languages), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageTupleFields.MinInclusive), IntermediateFieldType.Number), | ||
| 19 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageTupleFields.MaxInclusive), IntermediateFieldType.Number), | ||
| 20 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageTupleFields.LangInclusive), IntermediateFieldType.Number), | ||
| 21 | new IntermediateFieldDefinition(nameof(WixBundleRelatedPackageTupleFields.OnlyDetect), IntermediateFieldType.Number), | ||
| 22 | }, | ||
| 23 | typeof(WixBundleRelatedPackageTuple)); | ||
| 24 | } | ||
| 25 | } | ||
| 26 | |||
| 27 | namespace WixToolset.Data.Tuples | ||
| 28 | { | ||
| 29 | public enum WixBundleRelatedPackageTupleFields | ||
| 30 | { | ||
| 31 | WixBundlePackage_, | ||
| 32 | Id, | ||
| 33 | MinVersion, | ||
| 34 | MaxVersion, | ||
| 35 | Languages, | ||
| 36 | MinInclusive, | ||
| 37 | MaxInclusive, | ||
| 38 | LangInclusive, | ||
| 39 | OnlyDetect, | ||
| 40 | } | ||
| 41 | |||
| 42 | public class WixBundleRelatedPackageTuple : IntermediateTuple | ||
| 43 | { | ||
| 44 | public WixBundleRelatedPackageTuple() : base(TupleDefinitions.WixBundleRelatedPackage, null, null) | ||
| 45 | { | ||
| 46 | } | ||
| 47 | |||
| 48 | public WixBundleRelatedPackageTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleRelatedPackage, sourceLineNumber, id) | ||
| 49 | { | ||
| 50 | } | ||
| 51 | |||
| 52 | public IntermediateField this[WixBundleRelatedPackageTupleFields index] => this.Fields[(int)index]; | ||
| 53 | |||
| 54 | public string WixBundlePackage_ | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)WixBundleRelatedPackageTupleFields.WixBundlePackage_]?.Value; | ||
| 57 | set => this.Set((int)WixBundleRelatedPackageTupleFields.WixBundlePackage_, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public string Id | ||
| 61 | { | ||
| 62 | get => (string)this.Fields[(int)WixBundleRelatedPackageTupleFields.Id]?.Value; | ||
| 63 | set => this.Set((int)WixBundleRelatedPackageTupleFields.Id, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public string MinVersion | ||
| 67 | { | ||
| 68 | get => (string)this.Fields[(int)WixBundleRelatedPackageTupleFields.MinVersion]?.Value; | ||
| 69 | set => this.Set((int)WixBundleRelatedPackageTupleFields.MinVersion, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public string MaxVersion | ||
| 73 | { | ||
| 74 | get => (string)this.Fields[(int)WixBundleRelatedPackageTupleFields.MaxVersion]?.Value; | ||
| 75 | set => this.Set((int)WixBundleRelatedPackageTupleFields.MaxVersion, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public string Languages | ||
| 79 | { | ||
| 80 | get => (string)this.Fields[(int)WixBundleRelatedPackageTupleFields.Languages]?.Value; | ||
| 81 | set => this.Set((int)WixBundleRelatedPackageTupleFields.Languages, value); | ||
| 82 | } | ||
| 83 | |||
| 84 | public int MinInclusive | ||
| 85 | { | ||
| 86 | get => (int)this.Fields[(int)WixBundleRelatedPackageTupleFields.MinInclusive]?.Value; | ||
| 87 | set => this.Set((int)WixBundleRelatedPackageTupleFields.MinInclusive, value); | ||
| 88 | } | ||
| 89 | |||
| 90 | public int MaxInclusive | ||
| 91 | { | ||
| 92 | get => (int)this.Fields[(int)WixBundleRelatedPackageTupleFields.MaxInclusive]?.Value; | ||
| 93 | set => this.Set((int)WixBundleRelatedPackageTupleFields.MaxInclusive, value); | ||
| 94 | } | ||
| 95 | |||
| 96 | public int LangInclusive | ||
| 97 | { | ||
| 98 | get => (int)this.Fields[(int)WixBundleRelatedPackageTupleFields.LangInclusive]?.Value; | ||
| 99 | set => this.Set((int)WixBundleRelatedPackageTupleFields.LangInclusive, value); | ||
| 100 | } | ||
| 101 | |||
| 102 | public int OnlyDetect | ||
| 103 | { | ||
| 104 | get => (int)this.Fields[(int)WixBundleRelatedPackageTupleFields.OnlyDetect]?.Value; | ||
| 105 | set => this.Set((int)WixBundleRelatedPackageTupleFields.OnlyDetect, value); | ||
| 106 | } | ||
| 107 | } | ||
| 108 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundleRollbackBoundaryTuple.cs b/src/WixToolset.Data/Tuples/WixBundleRollbackBoundaryTuple.cs new file mode 100644 index 00000000..d08f0eb9 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundleRollbackBoundaryTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundleRollbackBoundary = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundleRollbackBoundary, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundleRollbackBoundaryTupleFields.WixChainItem_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundleRollbackBoundaryTupleFields.Vital), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBundleRollbackBoundaryTupleFields.Transaction), IntermediateFieldType.Number), | ||
| 16 | }, | ||
| 17 | typeof(WixBundleRollbackBoundaryTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum WixBundleRollbackBoundaryTupleFields | ||
| 24 | { | ||
| 25 | WixChainItem_, | ||
| 26 | Vital, | ||
| 27 | Transaction, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class WixBundleRollbackBoundaryTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public WixBundleRollbackBoundaryTuple() : base(TupleDefinitions.WixBundleRollbackBoundary, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public WixBundleRollbackBoundaryTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleRollbackBoundary, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[WixBundleRollbackBoundaryTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string WixChainItem_ | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)WixBundleRollbackBoundaryTupleFields.WixChainItem_]?.Value; | ||
| 45 | set => this.Set((int)WixBundleRollbackBoundaryTupleFields.WixChainItem_, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public bool? Vital | ||
| 49 | { | ||
| 50 | get => (bool?)this.Fields[(int)WixBundleRollbackBoundaryTupleFields.Vital]?.Value; | ||
| 51 | set => this.Set((int)WixBundleRollbackBoundaryTupleFields.Vital, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public bool? Transaction | ||
| 55 | { | ||
| 56 | get => (bool?)this.Fields[(int)WixBundleRollbackBoundaryTupleFields.Transaction]?.Value; | ||
| 57 | set => this.Set((int)WixBundleRollbackBoundaryTupleFields.Transaction, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundleSlipstreamMspTuple.cs b/src/WixToolset.Data/Tuples/WixBundleSlipstreamMspTuple.cs new file mode 100644 index 00000000..c0ab124d --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundleSlipstreamMspTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundleSlipstreamMsp = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundleSlipstreamMsp, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundleSlipstreamMspTupleFields.WixBundlePackage_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundleSlipstreamMspTupleFields.WixBundlePackage_Msp), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(WixBundleSlipstreamMspTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum WixBundleSlipstreamMspTupleFields | ||
| 23 | { | ||
| 24 | WixBundlePackage_, | ||
| 25 | WixBundlePackage_Msp, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class WixBundleSlipstreamMspTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public WixBundleSlipstreamMspTuple() : base(TupleDefinitions.WixBundleSlipstreamMsp, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public WixBundleSlipstreamMspTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleSlipstreamMsp, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[WixBundleSlipstreamMspTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string WixBundlePackage_ | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)WixBundleSlipstreamMspTupleFields.WixBundlePackage_]?.Value; | ||
| 43 | set => this.Set((int)WixBundleSlipstreamMspTupleFields.WixBundlePackage_, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string WixBundlePackage_Msp | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)WixBundleSlipstreamMspTupleFields.WixBundlePackage_Msp]?.Value; | ||
| 49 | set => this.Set((int)WixBundleSlipstreamMspTupleFields.WixBundlePackage_Msp, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundleTuple.cs b/src/WixToolset.Data/Tuples/WixBundleTuple.cs new file mode 100644 index 00000000..4647347b --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundleTuple.cs | |||
| @@ -0,0 +1,220 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundle = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundle, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.Version), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.Copyright), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.Name), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.AboutUrl), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.DisableModify), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.DisableRemove), IntermediateFieldType.Number), | ||
| 19 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.DisableRepair), IntermediateFieldType.Number), | ||
| 20 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.HelpTelephone), IntermediateFieldType.String), | ||
| 21 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.HelpUrl), IntermediateFieldType.String), | ||
| 22 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.Manufacturer), IntermediateFieldType.String), | ||
| 23 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.UpdateUrl), IntermediateFieldType.String), | ||
| 24 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.Compressed), IntermediateFieldType.Number), | ||
| 25 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.LogPrefixAndExtension), IntermediateFieldType.String), | ||
| 26 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.IconSourceFile), IntermediateFieldType.Path), | ||
| 27 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.SplashScreenSourceFile), IntermediateFieldType.Path), | ||
| 28 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.Condition), IntermediateFieldType.String), | ||
| 29 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.Tag), IntermediateFieldType.String), | ||
| 30 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.Platform), IntermediateFieldType.String), | ||
| 31 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.ParentName), IntermediateFieldType.String), | ||
| 32 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.UpgradeCode), IntermediateFieldType.String), | ||
| 33 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.BundleId), IntermediateFieldType.String), | ||
| 34 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.ProviderKey), IntermediateFieldType.String), | ||
| 35 | new IntermediateFieldDefinition(nameof(WixBundleTupleFields.PerMachine), IntermediateFieldType.Number), | ||
| 36 | }, | ||
| 37 | typeof(WixBundleTuple)); | ||
| 38 | } | ||
| 39 | } | ||
| 40 | |||
| 41 | namespace WixToolset.Data.Tuples | ||
| 42 | { | ||
| 43 | public enum WixBundleTupleFields | ||
| 44 | { | ||
| 45 | Version, | ||
| 46 | Copyright, | ||
| 47 | Name, | ||
| 48 | AboutUrl, | ||
| 49 | DisableModify, | ||
| 50 | DisableRemove, | ||
| 51 | DisableRepair, | ||
| 52 | HelpTelephone, | ||
| 53 | HelpUrl, | ||
| 54 | Manufacturer, | ||
| 55 | UpdateUrl, | ||
| 56 | Compressed, | ||
| 57 | LogPrefixAndExtension, | ||
| 58 | IconSourceFile, | ||
| 59 | SplashScreenSourceFile, | ||
| 60 | Condition, | ||
| 61 | Tag, | ||
| 62 | Platform, | ||
| 63 | ParentName, | ||
| 64 | UpgradeCode, | ||
| 65 | BundleId, | ||
| 66 | ProviderKey, | ||
| 67 | PerMachine, | ||
| 68 | } | ||
| 69 | |||
| 70 | public class WixBundleTuple : IntermediateTuple | ||
| 71 | { | ||
| 72 | public WixBundleTuple() : base(TupleDefinitions.WixBundle, null, null) | ||
| 73 | { | ||
| 74 | } | ||
| 75 | |||
| 76 | public WixBundleTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundle, sourceLineNumber, id) | ||
| 77 | { | ||
| 78 | } | ||
| 79 | |||
| 80 | public IntermediateField this[WixBundleTupleFields index] => this.Fields[(int)index]; | ||
| 81 | |||
| 82 | public string Version | ||
| 83 | { | ||
| 84 | get => (string)this.Fields[(int)WixBundleTupleFields.Version]?.Value; | ||
| 85 | set => this.Set((int)WixBundleTupleFields.Version, value); | ||
| 86 | } | ||
| 87 | |||
| 88 | public string Copyright | ||
| 89 | { | ||
| 90 | get => (string)this.Fields[(int)WixBundleTupleFields.Copyright]?.Value; | ||
| 91 | set => this.Set((int)WixBundleTupleFields.Copyright, value); | ||
| 92 | } | ||
| 93 | |||
| 94 | public string Name | ||
| 95 | { | ||
| 96 | get => (string)this.Fields[(int)WixBundleTupleFields.Name]?.Value; | ||
| 97 | set => this.Set((int)WixBundleTupleFields.Name, value); | ||
| 98 | } | ||
| 99 | |||
| 100 | public string AboutUrl | ||
| 101 | { | ||
| 102 | get => (string)this.Fields[(int)WixBundleTupleFields.AboutUrl]?.Value; | ||
| 103 | set => this.Set((int)WixBundleTupleFields.AboutUrl, value); | ||
| 104 | } | ||
| 105 | |||
| 106 | public int DisableModify | ||
| 107 | { | ||
| 108 | get => (int)this.Fields[(int)WixBundleTupleFields.DisableModify]?.Value; | ||
| 109 | set => this.Set((int)WixBundleTupleFields.DisableModify, value); | ||
| 110 | } | ||
| 111 | |||
| 112 | public int DisableRemove | ||
| 113 | { | ||
| 114 | get => (int)this.Fields[(int)WixBundleTupleFields.DisableRemove]?.Value; | ||
| 115 | set => this.Set((int)WixBundleTupleFields.DisableRemove, value); | ||
| 116 | } | ||
| 117 | |||
| 118 | public int DisableRepair | ||
| 119 | { | ||
| 120 | get => (int)this.Fields[(int)WixBundleTupleFields.DisableRepair]?.Value; | ||
| 121 | set => this.Set((int)WixBundleTupleFields.DisableRepair, value); | ||
| 122 | } | ||
| 123 | |||
| 124 | public string HelpTelephone | ||
| 125 | { | ||
| 126 | get => (string)this.Fields[(int)WixBundleTupleFields.HelpTelephone]?.Value; | ||
| 127 | set => this.Set((int)WixBundleTupleFields.HelpTelephone, value); | ||
| 128 | } | ||
| 129 | |||
| 130 | public string HelpUrl | ||
| 131 | { | ||
| 132 | get => (string)this.Fields[(int)WixBundleTupleFields.HelpUrl]?.Value; | ||
| 133 | set => this.Set((int)WixBundleTupleFields.HelpUrl, value); | ||
| 134 | } | ||
| 135 | |||
| 136 | public string Manufacturer | ||
| 137 | { | ||
| 138 | get => (string)this.Fields[(int)WixBundleTupleFields.Manufacturer]?.Value; | ||
| 139 | set => this.Set((int)WixBundleTupleFields.Manufacturer, value); | ||
| 140 | } | ||
| 141 | |||
| 142 | public string UpdateUrl | ||
| 143 | { | ||
| 144 | get => (string)this.Fields[(int)WixBundleTupleFields.UpdateUrl]?.Value; | ||
| 145 | set => this.Set((int)WixBundleTupleFields.UpdateUrl, value); | ||
| 146 | } | ||
| 147 | |||
| 148 | public int Compressed | ||
| 149 | { | ||
| 150 | get => (int)this.Fields[(int)WixBundleTupleFields.Compressed]?.Value; | ||
| 151 | set => this.Set((int)WixBundleTupleFields.Compressed, value); | ||
| 152 | } | ||
| 153 | |||
| 154 | public string LogPrefixAndExtension | ||
| 155 | { | ||
| 156 | get => (string)this.Fields[(int)WixBundleTupleFields.LogPrefixAndExtension]?.Value; | ||
| 157 | set => this.Set((int)WixBundleTupleFields.LogPrefixAndExtension, value); | ||
| 158 | } | ||
| 159 | |||
| 160 | public string IconSourceFile | ||
| 161 | { | ||
| 162 | get => (string)this.Fields[(int)WixBundleTupleFields.IconSourceFile]?.Value; | ||
| 163 | set => this.Set((int)WixBundleTupleFields.IconSourceFile, value); | ||
| 164 | } | ||
| 165 | |||
| 166 | public string SplashScreenSourceFile | ||
| 167 | { | ||
| 168 | get => (string)this.Fields[(int)WixBundleTupleFields.SplashScreenSourceFile]?.Value; | ||
| 169 | set => this.Set((int)WixBundleTupleFields.SplashScreenSourceFile, value); | ||
| 170 | } | ||
| 171 | |||
| 172 | public string Condition | ||
| 173 | { | ||
| 174 | get => (string)this.Fields[(int)WixBundleTupleFields.Condition]?.Value; | ||
| 175 | set => this.Set((int)WixBundleTupleFields.Condition, value); | ||
| 176 | } | ||
| 177 | |||
| 178 | public string Tag | ||
| 179 | { | ||
| 180 | get => (string)this.Fields[(int)WixBundleTupleFields.Tag]?.Value; | ||
| 181 | set => this.Set((int)WixBundleTupleFields.Tag, value); | ||
| 182 | } | ||
| 183 | |||
| 184 | public string Platform | ||
| 185 | { | ||
| 186 | get => (string)this.Fields[(int)WixBundleTupleFields.Platform]?.Value; | ||
| 187 | set => this.Set((int)WixBundleTupleFields.Platform, value); | ||
| 188 | } | ||
| 189 | |||
| 190 | public string ParentName | ||
| 191 | { | ||
| 192 | get => (string)this.Fields[(int)WixBundleTupleFields.ParentName]?.Value; | ||
| 193 | set => this.Set((int)WixBundleTupleFields.ParentName, value); | ||
| 194 | } | ||
| 195 | |||
| 196 | public string UpgradeCode | ||
| 197 | { | ||
| 198 | get => (string)this.Fields[(int)WixBundleTupleFields.UpgradeCode]?.Value; | ||
| 199 | set => this.Set((int)WixBundleTupleFields.UpgradeCode, value); | ||
| 200 | } | ||
| 201 | |||
| 202 | public string BundleId | ||
| 203 | { | ||
| 204 | get => (string)this.Fields[(int)WixBundleTupleFields.BundleId]?.Value; | ||
| 205 | set => this.Set((int)WixBundleTupleFields.BundleId, value); | ||
| 206 | } | ||
| 207 | |||
| 208 | public string ProviderKey | ||
| 209 | { | ||
| 210 | get => (string)this.Fields[(int)WixBundleTupleFields.ProviderKey]?.Value; | ||
| 211 | set => this.Set((int)WixBundleTupleFields.ProviderKey, value); | ||
| 212 | } | ||
| 213 | |||
| 214 | public int PerMachine | ||
| 215 | { | ||
| 216 | get => (int)this.Fields[(int)WixBundleTupleFields.PerMachine]?.Value; | ||
| 217 | set => this.Set((int)WixBundleTupleFields.PerMachine, value); | ||
| 218 | } | ||
| 219 | } | ||
| 220 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundleUpdateTuple.cs b/src/WixToolset.Data/Tuples/WixBundleUpdateTuple.cs new file mode 100644 index 00000000..2398b1da --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundleUpdateTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundleUpdate = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundleUpdate, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundleUpdateTupleFields.Location), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundleUpdateTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 15 | }, | ||
| 16 | typeof(WixBundleUpdateTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum WixBundleUpdateTupleFields | ||
| 23 | { | ||
| 24 | Location, | ||
| 25 | Attributes, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class WixBundleUpdateTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public WixBundleUpdateTuple() : base(TupleDefinitions.WixBundleUpdate, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public WixBundleUpdateTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleUpdate,sourceLineNumber,id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[WixBundleUpdateTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Location | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)WixBundleUpdateTupleFields.Location]?.Value; | ||
| 43 | set => this.Set((int)WixBundleUpdateTupleFields.Location, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public int Attributes | ||
| 47 | { | ||
| 48 | get => (int)this.Fields[(int)WixBundleUpdateTupleFields.Attributes]?.Value; | ||
| 49 | set => this.Set((int)WixBundleUpdateTupleFields.Attributes, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixBundleVariableTuple.cs b/src/WixToolset.Data/Tuples/WixBundleVariableTuple.cs new file mode 100644 index 00000000..c5724e6c --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixBundleVariableTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixBundleVariable = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixBundleVariable, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixBundleVariableTupleFields.WixBundleVariable), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixBundleVariableTupleFields.Value), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixBundleVariableTupleFields.Type), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixBundleVariableTupleFields.Hidden), IntermediateFieldType.Bool), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixBundleVariableTupleFields.Persisted), IntermediateFieldType.Bool), | ||
| 18 | }, | ||
| 19 | typeof(WixBundleVariableTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum WixBundleVariableTupleFields | ||
| 26 | { | ||
| 27 | WixBundleVariable, | ||
| 28 | Value, | ||
| 29 | Type, | ||
| 30 | Hidden, | ||
| 31 | Persisted, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class WixBundleVariableTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public WixBundleVariableTuple() : base(TupleDefinitions.WixBundleVariable, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public WixBundleVariableTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixBundleVariable, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[WixBundleVariableTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string WixBundleVariable | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)WixBundleVariableTupleFields.WixBundleVariable]?.Value; | ||
| 49 | set => this.Set((int)WixBundleVariableTupleFields.WixBundleVariable, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string Value | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)WixBundleVariableTupleFields.Value]?.Value; | ||
| 55 | set => this.Set((int)WixBundleVariableTupleFields.Value, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string Type | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)WixBundleVariableTupleFields.Type]?.Value; | ||
| 61 | set => this.Set((int)WixBundleVariableTupleFields.Type, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public bool Hidden | ||
| 65 | { | ||
| 66 | get => (bool)this.Fields[(int)WixBundleVariableTupleFields.Hidden]?.Value; | ||
| 67 | set => this.Set((int)WixBundleVariableTupleFields.Hidden, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public bool Persisted | ||
| 71 | { | ||
| 72 | get => (bool)this.Fields[(int)WixBundleVariableTupleFields.Persisted]?.Value; | ||
| 73 | set => this.Set((int)WixBundleVariableTupleFields.Persisted, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixChainItemTuple.cs b/src/WixToolset.Data/Tuples/WixChainItemTuple.cs new file mode 100644 index 00000000..c77bd038 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixChainItemTuple.cs | |||
| @@ -0,0 +1,44 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixChainItem = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixChainItem, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixChainItemTupleFields.Id), IntermediateFieldType.String), | ||
| 14 | }, | ||
| 15 | typeof(WixChainItemTuple)); | ||
| 16 | } | ||
| 17 | } | ||
| 18 | |||
| 19 | namespace WixToolset.Data.Tuples | ||
| 20 | { | ||
| 21 | public enum WixChainItemTupleFields | ||
| 22 | { | ||
| 23 | Id, | ||
| 24 | } | ||
| 25 | |||
| 26 | public class WixChainItemTuple : IntermediateTuple | ||
| 27 | { | ||
| 28 | public WixChainItemTuple() : base(TupleDefinitions.WixChainItem, null, null) | ||
| 29 | { | ||
| 30 | } | ||
| 31 | |||
| 32 | public WixChainItemTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixChainItem, sourceLineNumber, id) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public IntermediateField this[WixChainItemTupleFields index] => this.Fields[(int)index]; | ||
| 37 | |||
| 38 | public string Id | ||
| 39 | { | ||
| 40 | get => (string)this.Fields[(int)WixChainItemTupleFields.Id]?.Value; | ||
| 41 | set => this.Set((int)WixChainItemTupleFields.Id, value); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixChainTuple.cs b/src/WixToolset.Data/Tuples/WixChainTuple.cs new file mode 100644 index 00000000..d3ae2f4a --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixChainTuple.cs | |||
| @@ -0,0 +1,55 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixChain = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixChain, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixChainTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 14 | }, | ||
| 15 | typeof(WixChainTuple)); | ||
| 16 | } | ||
| 17 | } | ||
| 18 | |||
| 19 | namespace WixToolset.Data.Tuples | ||
| 20 | { | ||
| 21 | using System; | ||
| 22 | |||
| 23 | public enum WixChainTupleFields | ||
| 24 | { | ||
| 25 | Attributes, | ||
| 26 | } | ||
| 27 | |||
| 28 | [Flags] | ||
| 29 | public enum WixChainAttributes | ||
| 30 | { | ||
| 31 | None = 0x0, | ||
| 32 | DisableRollback = 0x1, | ||
| 33 | DisableSystemRestore = 0x2, | ||
| 34 | ParallelCache = 0x4, | ||
| 35 | } | ||
| 36 | |||
| 37 | public class WixChainTuple : IntermediateTuple | ||
| 38 | { | ||
| 39 | public WixChainTuple() : base(TupleDefinitions.WixChain, null, null) | ||
| 40 | { | ||
| 41 | } | ||
| 42 | |||
| 43 | public WixChainTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixChain, sourceLineNumber, id) | ||
| 44 | { | ||
| 45 | } | ||
| 46 | |||
| 47 | public IntermediateField this[WixChainTupleFields index] => this.Fields[(int)index]; | ||
| 48 | |||
| 49 | public WixChainAttributes Attributes | ||
| 50 | { | ||
| 51 | get => (WixChainAttributes)(int)this.Fields[(int)WixChainTupleFields.Attributes]?.Value; | ||
| 52 | set => this.Set((int)WixChainTupleFields.Attributes, (int)value); | ||
| 53 | } | ||
| 54 | } | ||
| 55 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixComplexReferenceTuple.cs b/src/WixToolset.Data/Tuples/WixComplexReferenceTuple.cs new file mode 100644 index 00000000..46de9aa9 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixComplexReferenceTuple.cs | |||
| @@ -0,0 +1,86 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixComplexReference = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixComplexReference, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixComplexReferenceTupleFields.Parent), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixComplexReferenceTupleFields.ParentAttributes), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixComplexReferenceTupleFields.ParentLanguage), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixComplexReferenceTupleFields.Child), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixComplexReferenceTupleFields.ChildAttributes), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixComplexReferenceTupleFields.Attributes), IntermediateFieldType.Bool), | ||
| 19 | }, | ||
| 20 | typeof(WixComplexReferenceTuple)); | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace WixToolset.Data.Tuples | ||
| 25 | { | ||
| 26 | using System; | ||
| 27 | |||
| 28 | public enum WixComplexReferenceTupleFields | ||
| 29 | { | ||
| 30 | Parent, | ||
| 31 | ParentAttributes, | ||
| 32 | ParentLanguage, | ||
| 33 | Child, | ||
| 34 | ChildAttributes, | ||
| 35 | Attributes, | ||
| 36 | } | ||
| 37 | |||
| 38 | public class WixComplexReferenceTuple : IntermediateTuple | ||
| 39 | { | ||
| 40 | public WixComplexReferenceTuple() : base(TupleDefinitions.WixComplexReference, null, null) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public WixComplexReferenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixComplexReference, sourceLineNumber, id) | ||
| 45 | { | ||
| 46 | } | ||
| 47 | |||
| 48 | public IntermediateField this[WixComplexReferenceTupleFields index] => this.Fields[(int)index]; | ||
| 49 | |||
| 50 | public string Parent | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)WixComplexReferenceTupleFields.Parent]?.Value; | ||
| 53 | set => this.Set((int)WixComplexReferenceTupleFields.Parent, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public ComplexReferenceParentType ParentType | ||
| 57 | { | ||
| 58 | get => (ComplexReferenceParentType)Enum.Parse(typeof(ComplexReferenceParentType), (string)this.Fields[(int)WixComplexReferenceTupleFields.ParentAttributes]?.Value, true); | ||
| 59 | set => this.Set((int)WixComplexReferenceTupleFields.ParentAttributes, value.ToString()); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string ParentLanguage | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)WixComplexReferenceTupleFields.ParentLanguage]?.Value; | ||
| 65 | set => this.Set((int)WixComplexReferenceTupleFields.ParentLanguage, value); | ||
| 66 | } | ||
| 67 | |||
| 68 | public string Child | ||
| 69 | { | ||
| 70 | get => (string)this.Fields[(int)WixComplexReferenceTupleFields.Child]?.Value; | ||
| 71 | set => this.Set((int)WixComplexReferenceTupleFields.Child, value); | ||
| 72 | } | ||
| 73 | |||
| 74 | public ComplexReferenceChildType ChildType | ||
| 75 | { | ||
| 76 | get => (ComplexReferenceChildType)Enum.Parse(typeof(ComplexReferenceChildType), (string)this.Fields[(int)WixComplexReferenceTupleFields.ChildAttributes]?.Value, true); | ||
| 77 | set => this.Set((int)WixComplexReferenceTupleFields.ChildAttributes, value.ToString()); | ||
| 78 | } | ||
| 79 | |||
| 80 | public bool IsPrimary | ||
| 81 | { | ||
| 82 | get => (bool)this.Fields[(int)WixComplexReferenceTupleFields.Attributes]?.Value; | ||
| 83 | set => this.Set((int)WixComplexReferenceTupleFields.Attributes, value); | ||
| 84 | } | ||
| 85 | } | ||
| 86 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs b/src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs new file mode 100644 index 00000000..f4118277 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixComponentGroupTuple.cs | |||
| @@ -0,0 +1,44 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixComponentGroup = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixComponentGroup, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixComponentGroupTupleFields.WixComponentGroup), IntermediateFieldType.String), | ||
| 14 | }, | ||
| 15 | typeof(WixComponentGroupTuple)); | ||
| 16 | } | ||
| 17 | } | ||
| 18 | |||
| 19 | namespace WixToolset.Data.Tuples | ||
| 20 | { | ||
| 21 | public enum WixComponentGroupTupleFields | ||
| 22 | { | ||
| 23 | WixComponentGroup, | ||
| 24 | } | ||
| 25 | |||
| 26 | public class WixComponentGroupTuple : IntermediateTuple | ||
| 27 | { | ||
| 28 | public WixComponentGroupTuple() : base(TupleDefinitions.WixComponentGroup, null, null) | ||
| 29 | { | ||
| 30 | } | ||
| 31 | |||
| 32 | public WixComponentGroupTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixComponentGroup, sourceLineNumber, id) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public IntermediateField this[WixComponentGroupTupleFields index] => this.Fields[(int)index]; | ||
| 37 | |||
| 38 | public string WixComponentGroup | ||
| 39 | { | ||
| 40 | get => (string)this.Fields[(int)WixComponentGroupTupleFields.WixComponentGroup]?.Value; | ||
| 41 | set => this.Set((int)WixComponentGroupTupleFields.WixComponentGroup, value); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixComponentSearchTuple.cs b/src/WixToolset.Data/Tuples/WixComponentSearchTuple.cs new file mode 100644 index 00000000..7aad13d2 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixComponentSearchTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixComponentSearch = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixComponentSearch, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixComponentSearchTupleFields.WixSearch_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixComponentSearchTupleFields.Guid), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixComponentSearchTupleFields.ProductCode), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixComponentSearchTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 17 | }, | ||
| 18 | typeof(WixComponentSearchTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum WixComponentSearchTupleFields | ||
| 25 | { | ||
| 26 | WixSearch_, | ||
| 27 | Guid, | ||
| 28 | ProductCode, | ||
| 29 | Attributes, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class WixComponentSearchTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public WixComponentSearchTuple() : base(TupleDefinitions.WixComponentSearch, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public WixComponentSearchTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixComponentSearch, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[WixComponentSearchTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string WixSearch_ | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)WixComponentSearchTupleFields.WixSearch_]?.Value; | ||
| 47 | set => this.Set((int)WixComponentSearchTupleFields.WixSearch_, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public string Guid | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)WixComponentSearchTupleFields.Guid]?.Value; | ||
| 53 | set => this.Set((int)WixComponentSearchTupleFields.Guid, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string ProductCode | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)WixComponentSearchTupleFields.ProductCode]?.Value; | ||
| 59 | set => this.Set((int)WixComponentSearchTupleFields.ProductCode, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public int Attributes | ||
| 63 | { | ||
| 64 | get => (int)this.Fields[(int)WixComponentSearchTupleFields.Attributes]?.Value; | ||
| 65 | set => this.Set((int)WixComponentSearchTupleFields.Attributes, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixControlTuple.cs b/src/WixToolset.Data/Tuples/WixControlTuple.cs new file mode 100644 index 00000000..c86490fb --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixControlTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixControl = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixControl, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixControlTupleFields.Dialog_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixControlTupleFields.Control_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixControlTupleFields.SourceFile), IntermediateFieldType.Path), | ||
| 16 | }, | ||
| 17 | typeof(WixControlTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum WixControlTupleFields | ||
| 24 | { | ||
| 25 | Dialog_, | ||
| 26 | Control_, | ||
| 27 | SourceFile, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class WixControlTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public WixControlTuple() : base(TupleDefinitions.WixControl, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public WixControlTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixControl, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[WixControlTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string Dialog_ | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)WixControlTupleFields.Dialog_]?.Value; | ||
| 45 | set => this.Set((int)WixControlTupleFields.Dialog_, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Control_ | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)WixControlTupleFields.Control_]?.Value; | ||
| 51 | set => this.Set((int)WixControlTupleFields.Control_, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string SourceFile | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)WixControlTupleFields.SourceFile]?.Value; | ||
| 57 | set => this.Set((int)WixControlTupleFields.SourceFile, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixCustomRowTuple.cs b/src/WixToolset.Data/Tuples/WixCustomRowTuple.cs new file mode 100644 index 00000000..c7ab0b0b --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixCustomRowTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixCustomRow = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixCustomRow, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixCustomRowTupleFields.Table), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixCustomRowTupleFields.FieldData), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(WixCustomRowTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum WixCustomRowTupleFields | ||
| 23 | { | ||
| 24 | Table, | ||
| 25 | FieldData, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class WixCustomRowTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public WixCustomRowTuple() : base(TupleDefinitions.WixCustomRow, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public WixCustomRowTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixCustomRow, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[WixCustomRowTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Table | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)WixCustomRowTupleFields.Table]?.Value; | ||
| 43 | set => this.Set((int)WixCustomRowTupleFields.Table, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string FieldData | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)WixCustomRowTupleFields.FieldData]?.Value; | ||
| 49 | set => this.Set((int)WixCustomRowTupleFields.FieldData, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs b/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs new file mode 100644 index 00000000..58266aff --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixCustomTableTuple.cs | |||
| @@ -0,0 +1,148 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixCustomTable = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixCustomTable, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.Table), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.ColumnCount), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.ColumnNames), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.ColumnTypes), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.PrimaryKeys), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.MinValues), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.MaxValues), IntermediateFieldType.String), | ||
| 20 | new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.KeyTables), IntermediateFieldType.String), | ||
| 21 | new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.KeyColumns), IntermediateFieldType.String), | ||
| 22 | new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.Categories), IntermediateFieldType.String), | ||
| 23 | new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.Sets), IntermediateFieldType.String), | ||
| 24 | new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.Descriptions), IntermediateFieldType.String), | ||
| 25 | new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.Modularizations), IntermediateFieldType.String), | ||
| 26 | new IntermediateFieldDefinition(nameof(WixCustomTableTupleFields.BootstrapperApplicationData), IntermediateFieldType.Number), | ||
| 27 | }, | ||
| 28 | typeof(WixCustomTableTuple)); | ||
| 29 | } | ||
| 30 | } | ||
| 31 | |||
| 32 | namespace WixToolset.Data.Tuples | ||
| 33 | { | ||
| 34 | public enum WixCustomTableTupleFields | ||
| 35 | { | ||
| 36 | Table, | ||
| 37 | ColumnCount, | ||
| 38 | ColumnNames, | ||
| 39 | ColumnTypes, | ||
| 40 | PrimaryKeys, | ||
| 41 | MinValues, | ||
| 42 | MaxValues, | ||
| 43 | KeyTables, | ||
| 44 | KeyColumns, | ||
| 45 | Categories, | ||
| 46 | Sets, | ||
| 47 | Descriptions, | ||
| 48 | Modularizations, | ||
| 49 | BootstrapperApplicationData, | ||
| 50 | } | ||
| 51 | |||
| 52 | public class WixCustomTableTuple : IntermediateTuple | ||
| 53 | { | ||
| 54 | public WixCustomTableTuple() : base(TupleDefinitions.WixCustomTable, null, null) | ||
| 55 | { | ||
| 56 | } | ||
| 57 | |||
| 58 | public WixCustomTableTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixCustomTable, sourceLineNumber, id) | ||
| 59 | { | ||
| 60 | } | ||
| 61 | |||
| 62 | public IntermediateField this[WixCustomTableTupleFields index] => this.Fields[(int)index]; | ||
| 63 | |||
| 64 | public string Table | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)WixCustomTableTupleFields.Table]?.Value; | ||
| 67 | set => this.Set((int)WixCustomTableTupleFields.Table, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public int ColumnCount | ||
| 71 | { | ||
| 72 | get => (int)this.Fields[(int)WixCustomTableTupleFields.ColumnCount]?.Value; | ||
| 73 | set => this.Set((int)WixCustomTableTupleFields.ColumnCount, value); | ||
| 74 | } | ||
| 75 | |||
| 76 | public string ColumnNames | ||
| 77 | { | ||
| 78 | get => (string)this.Fields[(int)WixCustomTableTupleFields.ColumnNames]?.Value; | ||
| 79 | set => this.Set((int)WixCustomTableTupleFields.ColumnNames, value); | ||
| 80 | } | ||
| 81 | |||
| 82 | public string ColumnTypes | ||
| 83 | { | ||
| 84 | get => (string)this.Fields[(int)WixCustomTableTupleFields.ColumnTypes]?.Value; | ||
| 85 | set => this.Set((int)WixCustomTableTupleFields.ColumnTypes, value); | ||
| 86 | } | ||
| 87 | |||
| 88 | public string PrimaryKeys | ||
| 89 | { | ||
| 90 | get => (string)this.Fields[(int)WixCustomTableTupleFields.PrimaryKeys]?.Value; | ||
| 91 | set => this.Set((int)WixCustomTableTupleFields.PrimaryKeys, value); | ||
| 92 | } | ||
| 93 | |||
| 94 | public string MinValues | ||
| 95 | { | ||
| 96 | get => (string)this.Fields[(int)WixCustomTableTupleFields.MinValues]?.Value; | ||
| 97 | set => this.Set((int)WixCustomTableTupleFields.MinValues, value); | ||
| 98 | } | ||
| 99 | |||
| 100 | public string MaxValues | ||
| 101 | { | ||
| 102 | get => (string)this.Fields[(int)WixCustomTableTupleFields.MaxValues]?.Value; | ||
| 103 | set => this.Set((int)WixCustomTableTupleFields.MaxValues, value); | ||
| 104 | } | ||
| 105 | |||
| 106 | public string KeyTables | ||
| 107 | { | ||
| 108 | get => (string)this.Fields[(int)WixCustomTableTupleFields.KeyTables]?.Value; | ||
| 109 | set => this.Set((int)WixCustomTableTupleFields.KeyTables, value); | ||
| 110 | } | ||
| 111 | |||
| 112 | public string KeyColumns | ||
| 113 | { | ||
| 114 | get => (string)this.Fields[(int)WixCustomTableTupleFields.KeyColumns]?.Value; | ||
| 115 | set => this.Set((int)WixCustomTableTupleFields.KeyColumns, value); | ||
| 116 | } | ||
| 117 | |||
| 118 | public string Categories | ||
| 119 | { | ||
| 120 | get => (string)this.Fields[(int)WixCustomTableTupleFields.Categories]?.Value; | ||
| 121 | set => this.Set((int)WixCustomTableTupleFields.Categories, value); | ||
| 122 | } | ||
| 123 | |||
| 124 | public string Sets | ||
| 125 | { | ||
| 126 | get => (string)this.Fields[(int)WixCustomTableTupleFields.Sets]?.Value; | ||
| 127 | set => this.Set((int)WixCustomTableTupleFields.Sets, value); | ||
| 128 | } | ||
| 129 | |||
| 130 | public string Descriptions | ||
| 131 | { | ||
| 132 | get => (string)this.Fields[(int)WixCustomTableTupleFields.Descriptions]?.Value; | ||
| 133 | set => this.Set((int)WixCustomTableTupleFields.Descriptions, value); | ||
| 134 | } | ||
| 135 | |||
| 136 | public string Modularizations | ||
| 137 | { | ||
| 138 | get => (string)this.Fields[(int)WixCustomTableTupleFields.Modularizations]?.Value; | ||
| 139 | set => this.Set((int)WixCustomTableTupleFields.Modularizations, value); | ||
| 140 | } | ||
| 141 | |||
| 142 | public int BootstrapperApplicationData | ||
| 143 | { | ||
| 144 | get => (int)this.Fields[(int)WixCustomTableTupleFields.BootstrapperApplicationData]?.Value; | ||
| 145 | set => this.Set((int)WixCustomTableTupleFields.BootstrapperApplicationData, value); | ||
| 146 | } | ||
| 147 | } | ||
| 148 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs b/src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs new file mode 100644 index 00000000..68f327f4 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixDeltaPatchFileTuple.cs | |||
| @@ -0,0 +1,84 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixDeltaPatchFile = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixDeltaPatchFile, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.File_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.RetainLengths), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.IgnoreOffsets), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.IgnoreLengths), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.RetainOffsets), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixDeltaPatchFileTupleFields.SymbolPaths), IntermediateFieldType.String), | ||
| 19 | }, | ||
| 20 | typeof(WixDeltaPatchFileTuple)); | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace WixToolset.Data.Tuples | ||
| 25 | { | ||
| 26 | public enum WixDeltaPatchFileTupleFields | ||
| 27 | { | ||
| 28 | File_, | ||
| 29 | RetainLengths, | ||
| 30 | IgnoreOffsets, | ||
| 31 | IgnoreLengths, | ||
| 32 | RetainOffsets, | ||
| 33 | SymbolPaths, | ||
| 34 | } | ||
| 35 | |||
| 36 | public class WixDeltaPatchFileTuple : IntermediateTuple | ||
| 37 | { | ||
| 38 | public WixDeltaPatchFileTuple() : base(TupleDefinitions.WixDeltaPatchFile, null, null) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public WixDeltaPatchFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixDeltaPatchFile, sourceLineNumber, id) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public IntermediateField this[WixDeltaPatchFileTupleFields index] => this.Fields[(int)index]; | ||
| 47 | |||
| 48 | public string File_ | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.File_]?.Value; | ||
| 51 | set => this.Set((int)WixDeltaPatchFileTupleFields.File_, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string RetainLengths | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.RetainLengths]?.Value; | ||
| 57 | set => this.Set((int)WixDeltaPatchFileTupleFields.RetainLengths, value); | ||
| 58 | } | ||
| 59 | |||
| 60 | public string IgnoreOffsets | ||
| 61 | { | ||
| 62 | get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.IgnoreOffsets]?.Value; | ||
| 63 | set => this.Set((int)WixDeltaPatchFileTupleFields.IgnoreOffsets, value); | ||
| 64 | } | ||
| 65 | |||
| 66 | public string IgnoreLengths | ||
| 67 | { | ||
| 68 | get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.IgnoreLengths]?.Value; | ||
| 69 | set => this.Set((int)WixDeltaPatchFileTupleFields.IgnoreLengths, value); | ||
| 70 | } | ||
| 71 | |||
| 72 | public string RetainOffsets | ||
| 73 | { | ||
| 74 | get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.RetainOffsets]?.Value; | ||
| 75 | set => this.Set((int)WixDeltaPatchFileTupleFields.RetainOffsets, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public string SymbolPaths | ||
| 79 | { | ||
| 80 | get => (string)this.Fields[(int)WixDeltaPatchFileTupleFields.SymbolPaths]?.Value; | ||
| 81 | set => this.Set((int)WixDeltaPatchFileTupleFields.SymbolPaths, value); | ||
| 82 | } | ||
| 83 | } | ||
| 84 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixDeltaPatchSymbolPathsTuple.cs b/src/WixToolset.Data/Tuples/WixDeltaPatchSymbolPathsTuple.cs new file mode 100644 index 00000000..39747be5 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixDeltaPatchSymbolPathsTuple.cs | |||
| @@ -0,0 +1,75 @@ | |||
| 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 System; | ||
| 4 | |||
| 5 | namespace WixToolset.Data | ||
| 6 | { | ||
| 7 | using WixToolset.Data.Tuples; | ||
| 8 | |||
| 9 | public static partial class TupleDefinitions | ||
| 10 | { | ||
| 11 | public static readonly IntermediateTupleDefinition WixDeltaPatchSymbolPaths = new IntermediateTupleDefinition( | ||
| 12 | TupleDefinitionType.WixDeltaPatchSymbolPaths, | ||
| 13 | new[] | ||
| 14 | { | ||
| 15 | new IntermediateFieldDefinition(nameof(WixDeltaPatchSymbolPathsTupleFields.Id), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixDeltaPatchSymbolPathsTupleFields.Type), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixDeltaPatchSymbolPathsTupleFields.SymbolPaths), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(WixDeltaPatchSymbolPathsTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum WixDeltaPatchSymbolPathsTupleFields | ||
| 26 | { | ||
| 27 | Id, | ||
| 28 | Type, | ||
| 29 | SymbolPaths, | ||
| 30 | } | ||
| 31 | |||
| 32 | /// <summary> | ||
| 33 | /// The types that the WixDeltaPatchSymbolPaths table can hold. | ||
| 34 | /// </summary> | ||
| 35 | /// <remarks>The order of these values is important since WixDeltaPatchSymbolPaths are sorted by this type.</remarks> | ||
| 36 | public enum SymbolPathType | ||
| 37 | { | ||
| 38 | File, | ||
| 39 | Component, | ||
| 40 | Directory, | ||
| 41 | Media, | ||
| 42 | Product | ||
| 43 | }; | ||
| 44 | |||
| 45 | public class WixDeltaPatchSymbolPathsTuple : IntermediateTuple | ||
| 46 | { | ||
| 47 | public WixDeltaPatchSymbolPathsTuple() : base(TupleDefinitions.WixDeltaPatchSymbolPaths, null, null) | ||
| 48 | { | ||
| 49 | } | ||
| 50 | |||
| 51 | public WixDeltaPatchSymbolPathsTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixDeltaPatchSymbolPaths, sourceLineNumber, id) | ||
| 52 | { | ||
| 53 | } | ||
| 54 | |||
| 55 | public IntermediateField this[WixDeltaPatchSymbolPathsTupleFields index] => this.Fields[(int)index]; | ||
| 56 | |||
| 57 | public string Id | ||
| 58 | { | ||
| 59 | get => (string)this.Fields[(int)WixDeltaPatchSymbolPathsTupleFields.Id]?.Value; | ||
| 60 | set => this.Set((int)WixDeltaPatchSymbolPathsTupleFields.Id, value); | ||
| 61 | } | ||
| 62 | |||
| 63 | public SymbolPathType Type | ||
| 64 | { | ||
| 65 | get => (SymbolPathType)Enum.Parse(typeof(SymbolPathType), (string)this.Fields[(int)WixDeltaPatchSymbolPathsTupleFields.Type]?.Value, true); | ||
| 66 | set => this.Set((int)WixDeltaPatchSymbolPathsTupleFields.Type, value.ToString()); | ||
| 67 | } | ||
| 68 | |||
| 69 | public string SymbolPaths | ||
| 70 | { | ||
| 71 | get => (string)this.Fields[(int)WixDeltaPatchSymbolPathsTupleFields.SymbolPaths]?.Value; | ||
| 72 | set => this.Set((int)WixDeltaPatchSymbolPathsTupleFields.SymbolPaths, value); | ||
| 73 | } | ||
| 74 | } | ||
| 75 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixDirectoryTuple.cs b/src/WixToolset.Data/Tuples/WixDirectoryTuple.cs new file mode 100644 index 00000000..ce706dc4 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixDirectoryTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixDirectory = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixDirectory, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixDirectoryTupleFields.Directory_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixDirectoryTupleFields.ComponentGuidGenerationSeed), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(WixDirectoryTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum WixDirectoryTupleFields | ||
| 23 | { | ||
| 24 | Directory_, | ||
| 25 | ComponentGuidGenerationSeed, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class WixDirectoryTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public WixDirectoryTuple() : base(TupleDefinitions.WixDirectory, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public WixDirectoryTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixDirectory, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[WixDirectoryTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Directory_ | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)WixDirectoryTupleFields.Directory_]?.Value; | ||
| 43 | set => this.Set((int)WixDirectoryTupleFields.Directory_, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string ComponentGuidGenerationSeed | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)WixDirectoryTupleFields.ComponentGuidGenerationSeed]?.Value; | ||
| 49 | set => this.Set((int)WixDirectoryTupleFields.ComponentGuidGenerationSeed, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixEnsureTableTuple.cs b/src/WixToolset.Data/Tuples/WixEnsureTableTuple.cs new file mode 100644 index 00000000..cc80a5d9 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixEnsureTableTuple.cs | |||
| @@ -0,0 +1,44 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixEnsureTable = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixEnsureTable, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixEnsureTableTupleFields.Table), IntermediateFieldType.String), | ||
| 14 | }, | ||
| 15 | typeof(WixEnsureTableTuple)); | ||
| 16 | } | ||
| 17 | } | ||
| 18 | |||
| 19 | namespace WixToolset.Data.Tuples | ||
| 20 | { | ||
| 21 | public enum WixEnsureTableTupleFields | ||
| 22 | { | ||
| 23 | Table, | ||
| 24 | } | ||
| 25 | |||
| 26 | public class WixEnsureTableTuple : IntermediateTuple | ||
| 27 | { | ||
| 28 | public WixEnsureTableTuple() : base(TupleDefinitions.WixEnsureTable, null, null) | ||
| 29 | { | ||
| 30 | } | ||
| 31 | |||
| 32 | public WixEnsureTableTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixEnsureTable, sourceLineNumber, id) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public IntermediateField this[WixEnsureTableTupleFields index] => this.Fields[(int)index]; | ||
| 37 | |||
| 38 | public string Table | ||
| 39 | { | ||
| 40 | get => (string)this.Fields[(int)WixEnsureTableTupleFields.Table]?.Value; | ||
| 41 | set => this.Set((int)WixEnsureTableTupleFields.Table, value); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixFeatureGroupTuple.cs b/src/WixToolset.Data/Tuples/WixFeatureGroupTuple.cs new file mode 100644 index 00000000..20e88ce8 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixFeatureGroupTuple.cs | |||
| @@ -0,0 +1,44 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixFeatureGroup = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixFeatureGroup, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixFeatureGroupTupleFields.WixFeatureGroup), IntermediateFieldType.String), | ||
| 14 | }, | ||
| 15 | typeof(WixFeatureGroupTuple)); | ||
| 16 | } | ||
| 17 | } | ||
| 18 | |||
| 19 | namespace WixToolset.Data.Tuples | ||
| 20 | { | ||
| 21 | public enum WixFeatureGroupTupleFields | ||
| 22 | { | ||
| 23 | WixFeatureGroup, | ||
| 24 | } | ||
| 25 | |||
| 26 | public class WixFeatureGroupTuple : IntermediateTuple | ||
| 27 | { | ||
| 28 | public WixFeatureGroupTuple() : base(TupleDefinitions.WixFeatureGroup, null, null) | ||
| 29 | { | ||
| 30 | } | ||
| 31 | |||
| 32 | public WixFeatureGroupTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixFeatureGroup, sourceLineNumber, id) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public IntermediateField this[WixFeatureGroupTupleFields index] => this.Fields[(int)index]; | ||
| 37 | |||
| 38 | public string WixFeatureGroup | ||
| 39 | { | ||
| 40 | get => (string)this.Fields[(int)WixFeatureGroupTupleFields.WixFeatureGroup]?.Value; | ||
| 41 | set => this.Set((int)WixFeatureGroupTupleFields.WixFeatureGroup, value); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixFeatureModulesTuple.cs b/src/WixToolset.Data/Tuples/WixFeatureModulesTuple.cs new file mode 100644 index 00000000..23524b1d --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixFeatureModulesTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixFeatureModules = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixFeatureModules, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixFeatureModulesTupleFields.Feature_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixFeatureModulesTupleFields.WixMerge_), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(WixFeatureModulesTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum WixFeatureModulesTupleFields | ||
| 23 | { | ||
| 24 | Feature_, | ||
| 25 | WixMerge_, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class WixFeatureModulesTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public WixFeatureModulesTuple() : base(TupleDefinitions.WixFeatureModules, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public WixFeatureModulesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixFeatureModules, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[WixFeatureModulesTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Feature_ | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)WixFeatureModulesTupleFields.Feature_]?.Value; | ||
| 43 | set => this.Set((int)WixFeatureModulesTupleFields.Feature_, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string WixMerge_ | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)WixFeatureModulesTupleFields.WixMerge_]?.Value; | ||
| 49 | set => this.Set((int)WixFeatureModulesTupleFields.WixMerge_, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs b/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs new file mode 100644 index 00000000..62d19ec8 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixFileSearchTuple.cs | |||
| @@ -0,0 +1,116 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixFileSearch = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixFileSearch, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.WixSearch_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.Path), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.MinVersion), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.MaxVersion), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.MinSize), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.MaxSize), IntermediateFieldType.Number), | ||
| 19 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.MinDate), IntermediateFieldType.Number), | ||
| 20 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.MaxDate), IntermediateFieldType.Number), | ||
| 21 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.Languages), IntermediateFieldType.String), | ||
| 22 | new IntermediateFieldDefinition(nameof(WixFileSearchTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 23 | }, | ||
| 24 | typeof(WixFileSearchTuple)); | ||
| 25 | } | ||
| 26 | } | ||
| 27 | |||
| 28 | namespace WixToolset.Data.Tuples | ||
| 29 | { | ||
| 30 | public enum WixFileSearchTupleFields | ||
| 31 | { | ||
| 32 | WixSearch_, | ||
| 33 | Path, | ||
| 34 | MinVersion, | ||
| 35 | MaxVersion, | ||
| 36 | MinSize, | ||
| 37 | MaxSize, | ||
| 38 | MinDate, | ||
| 39 | MaxDate, | ||
| 40 | Languages, | ||
| 41 | Attributes, | ||
| 42 | } | ||
| 43 | |||
| 44 | public class WixFileSearchTuple : IntermediateTuple | ||
| 45 | { | ||
| 46 | public WixFileSearchTuple() : base(TupleDefinitions.WixFileSearch, null, null) | ||
| 47 | { | ||
| 48 | } | ||
| 49 | |||
| 50 | public WixFileSearchTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixFileSearch, sourceLineNumber, id) | ||
| 51 | { | ||
| 52 | } | ||
| 53 | |||
| 54 | public IntermediateField this[WixFileSearchTupleFields index] => this.Fields[(int)index]; | ||
| 55 | |||
| 56 | public string WixSearch_ | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)WixFileSearchTupleFields.WixSearch_]?.Value; | ||
| 59 | set => this.Set((int)WixFileSearchTupleFields.WixSearch_, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string Path | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)WixFileSearchTupleFields.Path]?.Value; | ||
| 65 | set => this.Set((int)WixFileSearchTupleFields.Path, value); | ||
| 66 | } | ||
| 67 | |||
| 68 | public string MinVersion | ||
| 69 | { | ||
| 70 | get => (string)this.Fields[(int)WixFileSearchTupleFields.MinVersion]?.Value; | ||
| 71 | set => this.Set((int)WixFileSearchTupleFields.MinVersion, value); | ||
| 72 | } | ||
| 73 | |||
| 74 | public string MaxVersion | ||
| 75 | { | ||
| 76 | get => (string)this.Fields[(int)WixFileSearchTupleFields.MaxVersion]?.Value; | ||
| 77 | set => this.Set((int)WixFileSearchTupleFields.MaxVersion, value); | ||
| 78 | } | ||
| 79 | |||
| 80 | public int MinSize | ||
| 81 | { | ||
| 82 | get => (int)this.Fields[(int)WixFileSearchTupleFields.MinSize]?.Value; | ||
| 83 | set => this.Set((int)WixFileSearchTupleFields.MinSize, value); | ||
| 84 | } | ||
| 85 | |||
| 86 | public int MaxSize | ||
| 87 | { | ||
| 88 | get => (int)this.Fields[(int)WixFileSearchTupleFields.MaxSize]?.Value; | ||
| 89 | set => this.Set((int)WixFileSearchTupleFields.MaxSize, value); | ||
| 90 | } | ||
| 91 | |||
| 92 | public int MinDate | ||
| 93 | { | ||
| 94 | get => (int)this.Fields[(int)WixFileSearchTupleFields.MinDate]?.Value; | ||
| 95 | set => this.Set((int)WixFileSearchTupleFields.MinDate, value); | ||
| 96 | } | ||
| 97 | |||
| 98 | public int MaxDate | ||
| 99 | { | ||
| 100 | get => (int)this.Fields[(int)WixFileSearchTupleFields.MaxDate]?.Value; | ||
| 101 | set => this.Set((int)WixFileSearchTupleFields.MaxDate, value); | ||
| 102 | } | ||
| 103 | |||
| 104 | public string Languages | ||
| 105 | { | ||
| 106 | get => (string)this.Fields[(int)WixFileSearchTupleFields.Languages]?.Value; | ||
| 107 | set => this.Set((int)WixFileSearchTupleFields.Languages, value); | ||
| 108 | } | ||
| 109 | |||
| 110 | public int Attributes | ||
| 111 | { | ||
| 112 | get => (int)this.Fields[(int)WixFileSearchTupleFields.Attributes]?.Value; | ||
| 113 | set => this.Set((int)WixFileSearchTupleFields.Attributes, value); | ||
| 114 | } | ||
| 115 | } | ||
| 116 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixFileTuple.cs b/src/WixToolset.Data/Tuples/WixFileTuple.cs new file mode 100644 index 00000000..5ffc5d7f --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixFileTuple.cs | |||
| @@ -0,0 +1,170 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixFile = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixFile, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixFileTupleFields.File_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixFileTupleFields.AssemblyType), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixFileTupleFields.File_AssemblyManifest), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixFileTupleFields.File_AssemblyApplication), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixFileTupleFields.Directory_), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixFileTupleFields.DiskId), IntermediateFieldType.Number), | ||
| 19 | new IntermediateFieldDefinition(nameof(WixFileTupleFields.Source), IntermediateFieldType.Path), | ||
| 20 | new IntermediateFieldDefinition(nameof(WixFileTupleFields.ProcessorArchitecture), IntermediateFieldType.String), | ||
| 21 | new IntermediateFieldDefinition(nameof(WixFileTupleFields.PatchGroup), IntermediateFieldType.Number), | ||
| 22 | new IntermediateFieldDefinition(nameof(WixFileTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 23 | new IntermediateFieldDefinition(nameof(WixFileTupleFields.PatchAttributes), IntermediateFieldType.Number), | ||
| 24 | new IntermediateFieldDefinition(nameof(WixFileTupleFields.DeltaPatchHeaderSource), IntermediateFieldType.String), | ||
| 25 | }, | ||
| 26 | typeof(WixFileTuple)); | ||
| 27 | } | ||
| 28 | } | ||
| 29 | |||
| 30 | namespace WixToolset.Data.Tuples | ||
| 31 | { | ||
| 32 | using System; | ||
| 33 | |||
| 34 | public enum WixFileTupleFields | ||
| 35 | { | ||
| 36 | File_, | ||
| 37 | AssemblyType, | ||
| 38 | File_AssemblyManifest, | ||
| 39 | File_AssemblyApplication, | ||
| 40 | Directory_, | ||
| 41 | DiskId, | ||
| 42 | Source, | ||
| 43 | ProcessorArchitecture, | ||
| 44 | PatchGroup, | ||
| 45 | Attributes, | ||
| 46 | PatchAttributes, | ||
| 47 | DeltaPatchHeaderSource, | ||
| 48 | } | ||
| 49 | |||
| 50 | /// <summary> | ||
| 51 | /// Every file row has an assembly type. | ||
| 52 | /// </summary> | ||
| 53 | public enum FileAssemblyType | ||
| 54 | { | ||
| 55 | /// <summary>File is not an assembly.</summary> | ||
| 56 | NotAnAssembly, | ||
| 57 | |||
| 58 | /// <summary>File is a Common Language Runtime Assembly.</summary> | ||
| 59 | DotNetAssembly, | ||
| 60 | |||
| 61 | /// <summary>File is Win32 SxS assembly.</summary> | ||
| 62 | Win32Assembly, | ||
| 63 | } | ||
| 64 | |||
| 65 | /// <summary> | ||
| 66 | /// PatchAttribute values | ||
| 67 | /// </summary> | ||
| 68 | [Flags] | ||
| 69 | public enum PatchAttributeType | ||
| 70 | { | ||
| 71 | None = 0, | ||
| 72 | |||
| 73 | /// <summary>Prevents the updating of the file that is in fact changed in the upgraded image relative to the target images.</summary> | ||
| 74 | Ignore = 1, | ||
| 75 | |||
| 76 | /// <summary>Set if the entire file should be installed rather than creating a binary patch.</summary> | ||
| 77 | IncludeWholeFile = 2, | ||
| 78 | |||
| 79 | /// <summary>Set to indicate that the patch is non-vital.</summary> | ||
| 80 | AllowIgnoreOnError = 4, | ||
| 81 | |||
| 82 | /// <summary>Allowed bits.</summary> | ||
| 83 | Defined = Ignore | IncludeWholeFile | AllowIgnoreOnError | ||
| 84 | } | ||
| 85 | |||
| 86 | public class WixFileTuple : IntermediateTuple | ||
| 87 | { | ||
| 88 | public WixFileTuple() : base(TupleDefinitions.WixFile, null, null) | ||
| 89 | { | ||
| 90 | } | ||
| 91 | |||
| 92 | public WixFileTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixFile, sourceLineNumber, id) | ||
| 93 | { | ||
| 94 | } | ||
| 95 | |||
| 96 | public IntermediateField this[WixFileTupleFields index] => this.Fields[(int)index]; | ||
| 97 | |||
| 98 | public string File_ | ||
| 99 | { | ||
| 100 | get => (string)this.Fields[(int)WixFileTupleFields.File_]?.Value; | ||
| 101 | set => this.Set((int)WixFileTupleFields.File_, value); | ||
| 102 | } | ||
| 103 | |||
| 104 | public FileAssemblyType AssemblyType | ||
| 105 | { | ||
| 106 | get => (FileAssemblyType)(int)this.Fields[(int)WixFileTupleFields.AssemblyType]?.Value; | ||
| 107 | set => this.Set((int)WixFileTupleFields.AssemblyType, (int)value); | ||
| 108 | } | ||
| 109 | |||
| 110 | public string File_AssemblyManifest | ||
| 111 | { | ||
| 112 | get => (string)this.Fields[(int)WixFileTupleFields.File_AssemblyManifest]?.Value; | ||
| 113 | set => this.Set((int)WixFileTupleFields.File_AssemblyManifest, value); | ||
| 114 | } | ||
| 115 | |||
| 116 | public string File_AssemblyApplication | ||
| 117 | { | ||
| 118 | get => (string)this.Fields[(int)WixFileTupleFields.File_AssemblyApplication]?.Value; | ||
| 119 | set => this.Set((int)WixFileTupleFields.File_AssemblyApplication, value); | ||
| 120 | } | ||
| 121 | |||
| 122 | public string Directory_ | ||
| 123 | { | ||
| 124 | get => (string)this.Fields[(int)WixFileTupleFields.Directory_]?.Value; | ||
| 125 | set => this.Set((int)WixFileTupleFields.Directory_, value); | ||
| 126 | } | ||
| 127 | |||
| 128 | public int DiskId | ||
| 129 | { | ||
| 130 | get => (int)this.Fields[(int)WixFileTupleFields.DiskId]?.Value; | ||
| 131 | set => this.Set((int)WixFileTupleFields.DiskId, value); | ||
| 132 | } | ||
| 133 | |||
| 134 | public string Source | ||
| 135 | { | ||
| 136 | get => (string)this.Fields[(int)WixFileTupleFields.Source]?.Value; | ||
| 137 | set => this.Set((int)WixFileTupleFields.Source, value); | ||
| 138 | } | ||
| 139 | |||
| 140 | public string ProcessorArchitecture | ||
| 141 | { | ||
| 142 | get => (string)this.Fields[(int)WixFileTupleFields.ProcessorArchitecture]?.Value; | ||
| 143 | set => this.Set((int)WixFileTupleFields.ProcessorArchitecture, value); | ||
| 144 | } | ||
| 145 | |||
| 146 | public int PatchGroup | ||
| 147 | { | ||
| 148 | get => (int)this.Fields[(int)WixFileTupleFields.PatchGroup]?.Value; | ||
| 149 | set => this.Set((int)WixFileTupleFields.PatchGroup, value); | ||
| 150 | } | ||
| 151 | |||
| 152 | public int Attributes | ||
| 153 | { | ||
| 154 | get => (int)this.Fields[(int)WixFileTupleFields.Attributes]?.Value; | ||
| 155 | set => this.Set((int)WixFileTupleFields.Attributes, value); | ||
| 156 | } | ||
| 157 | |||
| 158 | public PatchAttributeType PatchAttributes | ||
| 159 | { | ||
| 160 | get => (PatchAttributeType)(int)this.Fields[(int)WixFileTupleFields.PatchAttributes]?.Value; | ||
| 161 | set => this.Set((int)WixFileTupleFields.PatchAttributes, (int)value); | ||
| 162 | } | ||
| 163 | |||
| 164 | public string DeltaPatchHeaderSource | ||
| 165 | { | ||
| 166 | get => (string)this.Fields[(int)WixFileTupleFields.DeltaPatchHeaderSource]?.Value; | ||
| 167 | set => this.Set((int)WixFileTupleFields.DeltaPatchHeaderSource, value); | ||
| 168 | } | ||
| 169 | } | ||
| 170 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixFragmentTuple.cs b/src/WixToolset.Data/Tuples/WixFragmentTuple.cs new file mode 100644 index 00000000..a5a59962 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixFragmentTuple.cs | |||
| @@ -0,0 +1,44 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixFragment = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixFragment, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixFragmentTupleFields.WixFragment), IntermediateFieldType.String), | ||
| 14 | }, | ||
| 15 | typeof(WixFragmentTuple)); | ||
| 16 | } | ||
| 17 | } | ||
| 18 | |||
| 19 | namespace WixToolset.Data.Tuples | ||
| 20 | { | ||
| 21 | public enum WixFragmentTupleFields | ||
| 22 | { | ||
| 23 | WixFragment, | ||
| 24 | } | ||
| 25 | |||
| 26 | public class WixFragmentTuple : IntermediateTuple | ||
| 27 | { | ||
| 28 | public WixFragmentTuple() : base(TupleDefinitions.WixFragment, null, null) | ||
| 29 | { | ||
| 30 | } | ||
| 31 | |||
| 32 | public WixFragmentTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixFragment, sourceLineNumber, id) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public IntermediateField this[WixFragmentTupleFields index] => this.Fields[(int)index]; | ||
| 37 | |||
| 38 | public string WixFragment | ||
| 39 | { | ||
| 40 | get => (string)this.Fields[(int)WixFragmentTupleFields.WixFragment]?.Value; | ||
| 41 | set => this.Set((int)WixFragmentTupleFields.WixFragment, value); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixGroupTuple.cs b/src/WixToolset.Data/Tuples/WixGroupTuple.cs new file mode 100644 index 00000000..be6bf7a4 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixGroupTuple.cs | |||
| @@ -0,0 +1,70 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixGroup = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixGroup, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixGroupTupleFields.ParentId), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixGroupTupleFields.ParentType), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixGroupTupleFields.ChildId), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixGroupTupleFields.ChildType), IntermediateFieldType.String), | ||
| 17 | }, | ||
| 18 | typeof(WixGroupTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | using System; | ||
| 25 | |||
| 26 | public enum WixGroupTupleFields | ||
| 27 | { | ||
| 28 | ParentId, | ||
| 29 | ParentType, | ||
| 30 | ChildId, | ||
| 31 | ChildType, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class WixGroupTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public WixGroupTuple() : base(TupleDefinitions.WixGroup, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public WixGroupTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixGroup, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[WixGroupTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string ParentId | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)WixGroupTupleFields.ParentId]?.Value; | ||
| 49 | set => this.Set((int)WixGroupTupleFields.ParentId, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public ComplexReferenceParentType ParentType | ||
| 53 | { | ||
| 54 | get => (ComplexReferenceParentType)Enum.Parse(typeof(ComplexReferenceParentType), (string)this.Fields[(int)WixGroupTupleFields.ParentType]?.Value, true); | ||
| 55 | set => this.Set((int)WixGroupTupleFields.ParentType, value.ToString()); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string ChildId | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)WixGroupTupleFields.ChildId]?.Value; | ||
| 61 | set => this.Set((int)WixGroupTupleFields.ChildId, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public ComplexReferenceChildType ChildType | ||
| 65 | { | ||
| 66 | get => (ComplexReferenceChildType)Enum.Parse(typeof(ComplexReferenceChildType), (string)this.Fields[(int)WixGroupTupleFields.ChildType]?.Value, true); | ||
| 67 | set => this.Set((int)WixGroupTupleFields.ChildType, value.ToString()); | ||
| 68 | } | ||
| 69 | } | ||
| 70 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixInstanceComponentTuple.cs b/src/WixToolset.Data/Tuples/WixInstanceComponentTuple.cs new file mode 100644 index 00000000..b2fd18ca --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixInstanceComponentTuple.cs | |||
| @@ -0,0 +1,44 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixInstanceComponent = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixInstanceComponent, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixInstanceComponentTupleFields.Component_), IntermediateFieldType.String), | ||
| 14 | }, | ||
| 15 | typeof(WixInstanceComponentTuple)); | ||
| 16 | } | ||
| 17 | } | ||
| 18 | |||
| 19 | namespace WixToolset.Data.Tuples | ||
| 20 | { | ||
| 21 | public enum WixInstanceComponentTupleFields | ||
| 22 | { | ||
| 23 | Component_, | ||
| 24 | } | ||
| 25 | |||
| 26 | public class WixInstanceComponentTuple : IntermediateTuple | ||
| 27 | { | ||
| 28 | public WixInstanceComponentTuple() : base(TupleDefinitions.WixInstanceComponent, null, null) | ||
| 29 | { | ||
| 30 | } | ||
| 31 | |||
| 32 | public WixInstanceComponentTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixInstanceComponent, sourceLineNumber, id) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public IntermediateField this[WixInstanceComponentTupleFields index] => this.Fields[(int)index]; | ||
| 37 | |||
| 38 | public string Component_ | ||
| 39 | { | ||
| 40 | get => (string)this.Fields[(int)WixInstanceComponentTupleFields.Component_]?.Value; | ||
| 41 | set => this.Set((int)WixInstanceComponentTupleFields.Component_, value); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixInstanceTransformsTuple.cs b/src/WixToolset.Data/Tuples/WixInstanceTransformsTuple.cs new file mode 100644 index 00000000..4f152ac6 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixInstanceTransformsTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixInstanceTransforms = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixInstanceTransforms, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixInstanceTransformsTupleFields.Id), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixInstanceTransformsTupleFields.PropertyId), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixInstanceTransformsTupleFields.ProductCode), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixInstanceTransformsTupleFields.ProductName), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixInstanceTransformsTupleFields.UpgradeCode), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(WixInstanceTransformsTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum WixInstanceTransformsTupleFields | ||
| 26 | { | ||
| 27 | Id, | ||
| 28 | PropertyId, | ||
| 29 | ProductCode, | ||
| 30 | ProductName, | ||
| 31 | UpgradeCode, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class WixInstanceTransformsTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public WixInstanceTransformsTuple() : base(TupleDefinitions.WixInstanceTransforms, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public WixInstanceTransformsTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixInstanceTransforms, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[WixInstanceTransformsTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string Id | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.Id]?.Value; | ||
| 49 | set => this.Set((int)WixInstanceTransformsTupleFields.Id, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string PropertyId | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.PropertyId]?.Value; | ||
| 55 | set => this.Set((int)WixInstanceTransformsTupleFields.PropertyId, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string ProductCode | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.ProductCode]?.Value; | ||
| 61 | set => this.Set((int)WixInstanceTransformsTupleFields.ProductCode, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string ProductName | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.ProductName]?.Value; | ||
| 67 | set => this.Set((int)WixInstanceTransformsTupleFields.ProductName, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string UpgradeCode | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)WixInstanceTransformsTupleFields.UpgradeCode]?.Value; | ||
| 73 | set => this.Set((int)WixInstanceTransformsTupleFields.UpgradeCode, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixMediaTemplateTuple.cs b/src/WixToolset.Data/Tuples/WixMediaTemplateTuple.cs new file mode 100644 index 00000000..bc8d2515 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixMediaTemplateTuple.cs | |||
| @@ -0,0 +1,86 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixMediaTemplate = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixMediaTemplate, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixMediaTemplateTupleFields.CabinetTemplate), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixMediaTemplateTupleFields.CompressionLevel), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixMediaTemplateTupleFields.DiskPrompt), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixMediaTemplateTupleFields.VolumeLabel), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixMediaTemplateTupleFields.MaximumUncompressedMediaSize), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixMediaTemplateTupleFields.MaximumCabinetSizeForLargeFileSplitting), IntermediateFieldType.Number), | ||
| 19 | }, | ||
| 20 | typeof(WixMediaTemplateTuple)); | ||
| 21 | } | ||
| 22 | } | ||
| 23 | |||
| 24 | namespace WixToolset.Data.Tuples | ||
| 25 | { | ||
| 26 | using System; | ||
| 27 | |||
| 28 | public enum WixMediaTemplateTupleFields | ||
| 29 | { | ||
| 30 | CabinetTemplate, | ||
| 31 | CompressionLevel, | ||
| 32 | DiskPrompt, | ||
| 33 | VolumeLabel, | ||
| 34 | MaximumUncompressedMediaSize, | ||
| 35 | MaximumCabinetSizeForLargeFileSplitting, | ||
| 36 | } | ||
| 37 | |||
| 38 | public class WixMediaTemplateTuple : IntermediateTuple | ||
| 39 | { | ||
| 40 | public WixMediaTemplateTuple() : base(TupleDefinitions.WixMediaTemplate, null, null) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public WixMediaTemplateTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixMediaTemplate, sourceLineNumber, id) | ||
| 45 | { | ||
| 46 | } | ||
| 47 | |||
| 48 | public IntermediateField this[WixMediaTemplateTupleFields index] => this.Fields[(int)index]; | ||
| 49 | |||
| 50 | public string CabinetTemplate | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)WixMediaTemplateTupleFields.CabinetTemplate]?.Value; | ||
| 53 | set => this.Set((int)WixMediaTemplateTupleFields.CabinetTemplate, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public CompressionLevel CompressionLevel | ||
| 57 | { | ||
| 58 | get => (CompressionLevel)Enum.Parse(typeof(CompressionLevel), (string)this.Fields[(int)WixMediaTupleFields.CompressionLevel]?.Value, true); | ||
| 59 | set => this.Set((int)WixMediaTupleFields.CompressionLevel, value.ToString()); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string DiskPrompt | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)WixMediaTemplateTupleFields.DiskPrompt]?.Value; | ||
| 65 | set => this.Set((int)WixMediaTemplateTupleFields.DiskPrompt, value); | ||
| 66 | } | ||
| 67 | |||
| 68 | public string VolumeLabel | ||
| 69 | { | ||
| 70 | get => (string)this.Fields[(int)WixMediaTemplateTupleFields.VolumeLabel]?.Value; | ||
| 71 | set => this.Set((int)WixMediaTemplateTupleFields.VolumeLabel, value); | ||
| 72 | } | ||
| 73 | |||
| 74 | public int MaximumUncompressedMediaSize | ||
| 75 | { | ||
| 76 | get => (int)this.Fields[(int)WixMediaTemplateTupleFields.MaximumUncompressedMediaSize]?.Value; | ||
| 77 | set => this.Set((int)WixMediaTemplateTupleFields.MaximumUncompressedMediaSize, value); | ||
| 78 | } | ||
| 79 | |||
| 80 | public int MaximumCabinetSizeForLargeFileSplitting | ||
| 81 | { | ||
| 82 | get => (int)this.Fields[(int)WixMediaTemplateTupleFields.MaximumCabinetSizeForLargeFileSplitting]?.Value; | ||
| 83 | set => this.Set((int)WixMediaTemplateTupleFields.MaximumCabinetSizeForLargeFileSplitting, value); | ||
| 84 | } | ||
| 85 | } | ||
| 86 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixMediaTuple.cs b/src/WixToolset.Data/Tuples/WixMediaTuple.cs new file mode 100644 index 00000000..4da11de1 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixMediaTuple.cs | |||
| @@ -0,0 +1,62 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixMedia = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixMedia, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixMediaTupleFields.DiskId_), IntermediateFieldType.Number), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixMediaTupleFields.CompressionLevel), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixMediaTupleFields.Layout), IntermediateFieldType.String), | ||
| 16 | }, | ||
| 17 | typeof(WixMediaTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | using System; | ||
| 24 | |||
| 25 | public enum WixMediaTupleFields | ||
| 26 | { | ||
| 27 | DiskId_, | ||
| 28 | CompressionLevel, | ||
| 29 | Layout, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class WixMediaTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public WixMediaTuple() : base(TupleDefinitions.WixMedia, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public WixMediaTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixMedia, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[WixMediaTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public int DiskId_ | ||
| 45 | { | ||
| 46 | get => (int)this.Fields[(int)WixMediaTupleFields.DiskId_]?.Value; | ||
| 47 | set => this.Set((int)WixMediaTupleFields.DiskId_, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public CompressionLevel? CompressionLevel | ||
| 51 | { | ||
| 52 | get => Enum.TryParse((string)this.Fields[(int)WixMediaTupleFields.CompressionLevel]?.Value, true, out CompressionLevel value) ? value : (CompressionLevel?)null; | ||
| 53 | set => this.Set((int)WixMediaTupleFields.CompressionLevel, value?.ToString()); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string Layout | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)WixMediaTupleFields.Layout]?.Value; | ||
| 59 | set => this.Set((int)WixMediaTupleFields.Layout, value); | ||
| 60 | } | ||
| 61 | } | ||
| 62 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixMergeTuple.cs b/src/WixToolset.Data/Tuples/WixMergeTuple.cs new file mode 100644 index 00000000..602acc0e --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixMergeTuple.cs | |||
| @@ -0,0 +1,100 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixMerge = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixMerge, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixMergeTupleFields.WixMerge), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixMergeTupleFields.Language), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixMergeTupleFields.Directory_), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixMergeTupleFields.SourceFile), IntermediateFieldType.Path), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixMergeTupleFields.DiskId), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixMergeTupleFields.FileCompression), IntermediateFieldType.Number), | ||
| 19 | new IntermediateFieldDefinition(nameof(WixMergeTupleFields.ConfigurationData), IntermediateFieldType.String), | ||
| 20 | new IntermediateFieldDefinition(nameof(WixMergeTupleFields.Feature_), IntermediateFieldType.String), | ||
| 21 | }, | ||
| 22 | typeof(WixMergeTuple)); | ||
| 23 | } | ||
| 24 | } | ||
| 25 | |||
| 26 | namespace WixToolset.Data.Tuples | ||
| 27 | { | ||
| 28 | public enum WixMergeTupleFields | ||
| 29 | { | ||
| 30 | WixMerge, | ||
| 31 | Language, | ||
| 32 | Directory_, | ||
| 33 | SourceFile, | ||
| 34 | DiskId, | ||
| 35 | FileCompression, | ||
| 36 | ConfigurationData, | ||
| 37 | Feature_, | ||
| 38 | } | ||
| 39 | |||
| 40 | public class WixMergeTuple : IntermediateTuple | ||
| 41 | { | ||
| 42 | public WixMergeTuple() : base(TupleDefinitions.WixMerge, null, null) | ||
| 43 | { | ||
| 44 | } | ||
| 45 | |||
| 46 | public WixMergeTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixMerge, sourceLineNumber, id) | ||
| 47 | { | ||
| 48 | } | ||
| 49 | |||
| 50 | public IntermediateField this[WixMergeTupleFields index] => this.Fields[(int)index]; | ||
| 51 | |||
| 52 | public string WixMerge | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)WixMergeTupleFields.WixMerge]?.Value; | ||
| 55 | set => this.Set((int)WixMergeTupleFields.WixMerge, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public int Language | ||
| 59 | { | ||
| 60 | get => (int)this.Fields[(int)WixMergeTupleFields.Language]?.Value; | ||
| 61 | set => this.Set((int)WixMergeTupleFields.Language, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string Directory_ | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)WixMergeTupleFields.Directory_]?.Value; | ||
| 67 | set => this.Set((int)WixMergeTupleFields.Directory_, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string SourceFile | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)WixMergeTupleFields.SourceFile]?.Value; | ||
| 73 | set => this.Set((int)WixMergeTupleFields.SourceFile, value); | ||
| 74 | } | ||
| 75 | |||
| 76 | public int DiskId | ||
| 77 | { | ||
| 78 | get => (int)this.Fields[(int)WixMergeTupleFields.DiskId]?.Value; | ||
| 79 | set => this.Set((int)WixMergeTupleFields.DiskId, value); | ||
| 80 | } | ||
| 81 | |||
| 82 | public int FileCompression | ||
| 83 | { | ||
| 84 | get => (int)this.Fields[(int)WixMergeTupleFields.FileCompression]?.Value; | ||
| 85 | set => this.Set((int)WixMergeTupleFields.FileCompression, value); | ||
| 86 | } | ||
| 87 | |||
| 88 | public string ConfigurationData | ||
| 89 | { | ||
| 90 | get => (string)this.Fields[(int)WixMergeTupleFields.ConfigurationData]?.Value; | ||
| 91 | set => this.Set((int)WixMergeTupleFields.ConfigurationData, value); | ||
| 92 | } | ||
| 93 | |||
| 94 | public string Feature_ | ||
| 95 | { | ||
| 96 | get => (string)this.Fields[(int)WixMergeTupleFields.Feature_]?.Value; | ||
| 97 | set => this.Set((int)WixMergeTupleFields.Feature_, value); | ||
| 98 | } | ||
| 99 | } | ||
| 100 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixOrderingTuple.cs b/src/WixToolset.Data/Tuples/WixOrderingTuple.cs new file mode 100644 index 00000000..fde295c1 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixOrderingTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixOrdering = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixOrdering, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixOrderingTupleFields.ItemType), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixOrderingTupleFields.ItemId_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixOrderingTupleFields.DependsOnType), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixOrderingTupleFields.DependsOnId_), IntermediateFieldType.String), | ||
| 17 | }, | ||
| 18 | typeof(WixOrderingTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum WixOrderingTupleFields | ||
| 25 | { | ||
| 26 | ItemType, | ||
| 27 | ItemId_, | ||
| 28 | DependsOnType, | ||
| 29 | DependsOnId_, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class WixOrderingTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public WixOrderingTuple() : base(TupleDefinitions.WixOrdering, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public WixOrderingTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixOrdering, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[WixOrderingTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string ItemType | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)WixOrderingTupleFields.ItemType]?.Value; | ||
| 47 | set => this.Set((int)WixOrderingTupleFields.ItemType, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public string ItemId_ | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)WixOrderingTupleFields.ItemId_]?.Value; | ||
| 53 | set => this.Set((int)WixOrderingTupleFields.ItemId_, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string DependsOnType | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)WixOrderingTupleFields.DependsOnType]?.Value; | ||
| 59 | set => this.Set((int)WixOrderingTupleFields.DependsOnType, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string DependsOnId_ | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)WixOrderingTupleFields.DependsOnId_]?.Value; | ||
| 65 | set => this.Set((int)WixOrderingTupleFields.DependsOnId_, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixPackageFeatureInfoTuple.cs b/src/WixToolset.Data/Tuples/WixPackageFeatureInfoTuple.cs new file mode 100644 index 00000000..03948efb --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixPackageFeatureInfoTuple.cs | |||
| @@ -0,0 +1,116 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixPackageFeatureInfo = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixPackageFeatureInfo, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Package), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Feature), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Size), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Parent), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Title), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Description), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Display), IntermediateFieldType.String), | ||
| 20 | new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Level), IntermediateFieldType.String), | ||
| 21 | new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Directory), IntermediateFieldType.String), | ||
| 22 | new IntermediateFieldDefinition(nameof(WixPackageFeatureInfoTupleFields.Attributes), IntermediateFieldType.String), | ||
| 23 | }, | ||
| 24 | typeof(WixPackageFeatureInfoTuple)); | ||
| 25 | } | ||
| 26 | } | ||
| 27 | |||
| 28 | namespace WixToolset.Data.Tuples | ||
| 29 | { | ||
| 30 | public enum WixPackageFeatureInfoTupleFields | ||
| 31 | { | ||
| 32 | Package, | ||
| 33 | Feature, | ||
| 34 | Size, | ||
| 35 | Parent, | ||
| 36 | Title, | ||
| 37 | Description, | ||
| 38 | Display, | ||
| 39 | Level, | ||
| 40 | Directory, | ||
| 41 | Attributes, | ||
| 42 | } | ||
| 43 | |||
| 44 | public class WixPackageFeatureInfoTuple : IntermediateTuple | ||
| 45 | { | ||
| 46 | public WixPackageFeatureInfoTuple() : base(TupleDefinitions.WixPackageFeatureInfo, null, null) | ||
| 47 | { | ||
| 48 | } | ||
| 49 | |||
| 50 | public WixPackageFeatureInfoTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixPackageFeatureInfo, sourceLineNumber, id) | ||
| 51 | { | ||
| 52 | } | ||
| 53 | |||
| 54 | public IntermediateField this[WixPackageFeatureInfoTupleFields index] => this.Fields[(int)index]; | ||
| 55 | |||
| 56 | public string Package | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Package]?.Value; | ||
| 59 | set => this.Set((int)WixPackageFeatureInfoTupleFields.Package, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string Feature | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Feature]?.Value; | ||
| 65 | set => this.Set((int)WixPackageFeatureInfoTupleFields.Feature, value); | ||
| 66 | } | ||
| 67 | |||
| 68 | public string Size | ||
| 69 | { | ||
| 70 | get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Size]?.Value; | ||
| 71 | set => this.Set((int)WixPackageFeatureInfoTupleFields.Size, value); | ||
| 72 | } | ||
| 73 | |||
| 74 | public string Parent | ||
| 75 | { | ||
| 76 | get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Parent]?.Value; | ||
| 77 | set => this.Set((int)WixPackageFeatureInfoTupleFields.Parent, value); | ||
| 78 | } | ||
| 79 | |||
| 80 | public string Title | ||
| 81 | { | ||
| 82 | get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Title]?.Value; | ||
| 83 | set => this.Set((int)WixPackageFeatureInfoTupleFields.Title, value); | ||
| 84 | } | ||
| 85 | |||
| 86 | public string Description | ||
| 87 | { | ||
| 88 | get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Description]?.Value; | ||
| 89 | set => this.Set((int)WixPackageFeatureInfoTupleFields.Description, value); | ||
| 90 | } | ||
| 91 | |||
| 92 | public string Display | ||
| 93 | { | ||
| 94 | get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Display]?.Value; | ||
| 95 | set => this.Set((int)WixPackageFeatureInfoTupleFields.Display, value); | ||
| 96 | } | ||
| 97 | |||
| 98 | public string Level | ||
| 99 | { | ||
| 100 | get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Level]?.Value; | ||
| 101 | set => this.Set((int)WixPackageFeatureInfoTupleFields.Level, value); | ||
| 102 | } | ||
| 103 | |||
| 104 | public string Directory | ||
| 105 | { | ||
| 106 | get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Directory]?.Value; | ||
| 107 | set => this.Set((int)WixPackageFeatureInfoTupleFields.Directory, value); | ||
| 108 | } | ||
| 109 | |||
| 110 | public string Attributes | ||
| 111 | { | ||
| 112 | get => (string)this.Fields[(int)WixPackageFeatureInfoTupleFields.Attributes]?.Value; | ||
| 113 | set => this.Set((int)WixPackageFeatureInfoTupleFields.Attributes, value); | ||
| 114 | } | ||
| 115 | } | ||
| 116 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixPackagePropertiesTuple.cs b/src/WixToolset.Data/Tuples/WixPackagePropertiesTuple.cs new file mode 100644 index 00000000..4823409d --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixPackagePropertiesTuple.cs | |||
| @@ -0,0 +1,180 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixPackageProperties = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixPackageProperties, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixPackagePropertiesTupleFields.Package), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixPackagePropertiesTupleFields.Vital), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixPackagePropertiesTupleFields.DisplayName), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixPackagePropertiesTupleFields.Description), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixPackagePropertiesTupleFields.DownloadSize), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixPackagePropertiesTupleFields.PackageSize), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(WixPackagePropertiesTupleFields.InstalledSize), IntermediateFieldType.String), | ||
| 20 | new IntermediateFieldDefinition(nameof(WixPackagePropertiesTupleFields.PackageType), IntermediateFieldType.String), | ||
| 21 | new IntermediateFieldDefinition(nameof(WixPackagePropertiesTupleFields.Permanent), IntermediateFieldType.String), | ||
| 22 | new IntermediateFieldDefinition(nameof(WixPackagePropertiesTupleFields.LogPathVariable), IntermediateFieldType.String), | ||
| 23 | new IntermediateFieldDefinition(nameof(WixPackagePropertiesTupleFields.RollbackLogPathVariable), IntermediateFieldType.String), | ||
| 24 | new IntermediateFieldDefinition(nameof(WixPackagePropertiesTupleFields.Compressed), IntermediateFieldType.String), | ||
| 25 | new IntermediateFieldDefinition(nameof(WixPackagePropertiesTupleFields.DisplayInternalUI), IntermediateFieldType.String), | ||
| 26 | new IntermediateFieldDefinition(nameof(WixPackagePropertiesTupleFields.ProductCode), IntermediateFieldType.String), | ||
| 27 | new IntermediateFieldDefinition(nameof(WixPackagePropertiesTupleFields.UpgradeCode), IntermediateFieldType.String), | ||
| 28 | new IntermediateFieldDefinition(nameof(WixPackagePropertiesTupleFields.Version), IntermediateFieldType.String), | ||
| 29 | new IntermediateFieldDefinition(nameof(WixPackagePropertiesTupleFields.InstallCondition), IntermediateFieldType.String), | ||
| 30 | new IntermediateFieldDefinition(nameof(WixPackagePropertiesTupleFields.Cache), IntermediateFieldType.String), | ||
| 31 | }, | ||
| 32 | typeof(WixPackagePropertiesTuple)); | ||
| 33 | } | ||
| 34 | } | ||
| 35 | |||
| 36 | namespace WixToolset.Data.Tuples | ||
| 37 | { | ||
| 38 | public enum WixPackagePropertiesTupleFields | ||
| 39 | { | ||
| 40 | Package, | ||
| 41 | Vital, | ||
| 42 | DisplayName, | ||
| 43 | Description, | ||
| 44 | DownloadSize, | ||
| 45 | PackageSize, | ||
| 46 | InstalledSize, | ||
| 47 | PackageType, | ||
| 48 | Permanent, | ||
| 49 | LogPathVariable, | ||
| 50 | RollbackLogPathVariable, | ||
| 51 | Compressed, | ||
| 52 | DisplayInternalUI, | ||
| 53 | ProductCode, | ||
| 54 | UpgradeCode, | ||
| 55 | Version, | ||
| 56 | InstallCondition, | ||
| 57 | Cache, | ||
| 58 | } | ||
| 59 | |||
| 60 | public class WixPackagePropertiesTuple : IntermediateTuple | ||
| 61 | { | ||
| 62 | public WixPackagePropertiesTuple() : base(TupleDefinitions.WixPackageProperties, null, null) | ||
| 63 | { | ||
| 64 | } | ||
| 65 | |||
| 66 | public WixPackagePropertiesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixPackageProperties, sourceLineNumber, id) | ||
| 67 | { | ||
| 68 | } | ||
| 69 | |||
| 70 | public IntermediateField this[WixPackagePropertiesTupleFields index] => this.Fields[(int)index]; | ||
| 71 | |||
| 72 | public string Package | ||
| 73 | { | ||
| 74 | get => (string)this.Fields[(int)WixPackagePropertiesTupleFields.Package]?.Value; | ||
| 75 | set => this.Set((int)WixPackagePropertiesTupleFields.Package, value); | ||
| 76 | } | ||
| 77 | |||
| 78 | public string Vital | ||
| 79 | { | ||
| 80 | get => (string)this.Fields[(int)WixPackagePropertiesTupleFields.Vital]?.Value; | ||
| 81 | set => this.Set((int)WixPackagePropertiesTupleFields.Vital, value); | ||
| 82 | } | ||
| 83 | |||
| 84 | public string DisplayName | ||
| 85 | { | ||
| 86 | get => (string)this.Fields[(int)WixPackagePropertiesTupleFields.DisplayName]?.Value; | ||
| 87 | set => this.Set((int)WixPackagePropertiesTupleFields.DisplayName, value); | ||
| 88 | } | ||
| 89 | |||
| 90 | public string Description | ||
| 91 | { | ||
| 92 | get => (string)this.Fields[(int)WixPackagePropertiesTupleFields.Description]?.Value; | ||
| 93 | set => this.Set((int)WixPackagePropertiesTupleFields.Description, value); | ||
| 94 | } | ||
| 95 | |||
| 96 | public string DownloadSize | ||
| 97 | { | ||
| 98 | get => (string)this.Fields[(int)WixPackagePropertiesTupleFields.DownloadSize]?.Value; | ||
| 99 | set => this.Set((int)WixPackagePropertiesTupleFields.DownloadSize, value); | ||
| 100 | } | ||
| 101 | |||
| 102 | public string PackageSize | ||
| 103 | { | ||
| 104 | get => (string)this.Fields[(int)WixPackagePropertiesTupleFields.PackageSize]?.Value; | ||
| 105 | set => this.Set((int)WixPackagePropertiesTupleFields.PackageSize, value); | ||
| 106 | } | ||
| 107 | |||
| 108 | public string InstalledSize | ||
| 109 | { | ||
| 110 | get => (string)this.Fields[(int)WixPackagePropertiesTupleFields.InstalledSize]?.Value; | ||
| 111 | set => this.Set((int)WixPackagePropertiesTupleFields.InstalledSize, value); | ||
| 112 | } | ||
| 113 | |||
| 114 | public string PackageType | ||
| 115 | { | ||
| 116 | get => (string)this.Fields[(int)WixPackagePropertiesTupleFields.PackageType]?.Value; | ||
| 117 | set => this.Set((int)WixPackagePropertiesTupleFields.PackageType, value); | ||
| 118 | } | ||
| 119 | |||
| 120 | public string Permanent | ||
| 121 | { | ||
| 122 | get => (string)this.Fields[(int)WixPackagePropertiesTupleFields.Permanent]?.Value; | ||
| 123 | set => this.Set((int)WixPackagePropertiesTupleFields.Permanent, value); | ||
| 124 | } | ||
| 125 | |||
| 126 | public string LogPathVariable | ||
| 127 | { | ||
| 128 | get => (string)this.Fields[(int)WixPackagePropertiesTupleFields.LogPathVariable]?.Value; | ||
| 129 | set => this.Set((int)WixPackagePropertiesTupleFields.LogPathVariable, value); | ||
| 130 | } | ||
| 131 | |||
| 132 | public string RollbackLogPathVariable | ||
| 133 | { | ||
| 134 | get => (string)this.Fields[(int)WixPackagePropertiesTupleFields.RollbackLogPathVariable]?.Value; | ||
| 135 | set => this.Set((int)WixPackagePropertiesTupleFields.RollbackLogPathVariable, value); | ||
| 136 | } | ||
| 137 | |||
| 138 | public string Compressed | ||
| 139 | { | ||
| 140 | get => (string)this.Fields[(int)WixPackagePropertiesTupleFields.Compressed]?.Value; | ||
| 141 | set => this.Set((int)WixPackagePropertiesTupleFields.Compressed, value); | ||
| 142 | } | ||
| 143 | |||
| 144 | public string DisplayInternalUI | ||
| 145 | { | ||
| 146 | get => (string)this.Fields[(int)WixPackagePropertiesTupleFields.DisplayInternalUI]?.Value; | ||
| 147 | set => this.Set((int)WixPackagePropertiesTupleFields.DisplayInternalUI, value); | ||
| 148 | } | ||
| 149 | |||
| 150 | public string ProductCode | ||
| 151 | { | ||
| 152 | get => (string)this.Fields[(int)WixPackagePropertiesTupleFields.ProductCode]?.Value; | ||
| 153 | set => this.Set((int)WixPackagePropertiesTupleFields.ProductCode, value); | ||
| 154 | } | ||
| 155 | |||
| 156 | public string UpgradeCode | ||
| 157 | { | ||
| 158 | get => (string)this.Fields[(int)WixPackagePropertiesTupleFields.UpgradeCode]?.Value; | ||
| 159 | set => this.Set((int)WixPackagePropertiesTupleFields.UpgradeCode, value); | ||
| 160 | } | ||
| 161 | |||
| 162 | public string Version | ||
| 163 | { | ||
| 164 | get => (string)this.Fields[(int)WixPackagePropertiesTupleFields.Version]?.Value; | ||
| 165 | set => this.Set((int)WixPackagePropertiesTupleFields.Version, value); | ||
| 166 | } | ||
| 167 | |||
| 168 | public string InstallCondition | ||
| 169 | { | ||
| 170 | get => (string)this.Fields[(int)WixPackagePropertiesTupleFields.InstallCondition]?.Value; | ||
| 171 | set => this.Set((int)WixPackagePropertiesTupleFields.InstallCondition, value); | ||
| 172 | } | ||
| 173 | |||
| 174 | public string Cache | ||
| 175 | { | ||
| 176 | get => (string)this.Fields[(int)WixPackagePropertiesTupleFields.Cache]?.Value; | ||
| 177 | set => this.Set((int)WixPackagePropertiesTupleFields.Cache, value); | ||
| 178 | } | ||
| 179 | } | ||
| 180 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixPatchBaselineTuple.cs b/src/WixToolset.Data/Tuples/WixPatchBaselineTuple.cs new file mode 100644 index 00000000..0610adac --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixPatchBaselineTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixPatchBaseline = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixPatchBaseline, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixPatchBaselineTupleFields.WixPatchBaseline), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixPatchBaselineTupleFields.DiskId), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixPatchBaselineTupleFields.ValidationFlags), IntermediateFieldType.Number), | ||
| 16 | }, | ||
| 17 | typeof(WixPatchBaselineTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum WixPatchBaselineTupleFields | ||
| 24 | { | ||
| 25 | WixPatchBaseline, | ||
| 26 | DiskId, | ||
| 27 | ValidationFlags, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class WixPatchBaselineTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public WixPatchBaselineTuple() : base(TupleDefinitions.WixPatchBaseline, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public WixPatchBaselineTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixPatchBaseline, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[WixPatchBaselineTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string WixPatchBaseline | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)WixPatchBaselineTupleFields.WixPatchBaseline]?.Value; | ||
| 45 | set => this.Set((int)WixPatchBaselineTupleFields.WixPatchBaseline, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public int DiskId | ||
| 49 | { | ||
| 50 | get => (int)this.Fields[(int)WixPatchBaselineTupleFields.DiskId]?.Value; | ||
| 51 | set => this.Set((int)WixPatchBaselineTupleFields.DiskId, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public int ValidationFlags | ||
| 55 | { | ||
| 56 | get => (int)this.Fields[(int)WixPatchBaselineTupleFields.ValidationFlags]?.Value; | ||
| 57 | set => this.Set((int)WixPatchBaselineTupleFields.ValidationFlags, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixPatchFamilyGroupTuple.cs b/src/WixToolset.Data/Tuples/WixPatchFamilyGroupTuple.cs new file mode 100644 index 00000000..0683ba9d --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixPatchFamilyGroupTuple.cs | |||
| @@ -0,0 +1,44 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixPatchFamilyGroup = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixPatchFamilyGroup, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixPatchFamilyGroupTupleFields.WixPatchFamilyGroup), IntermediateFieldType.String), | ||
| 14 | }, | ||
| 15 | typeof(WixPatchFamilyGroupTuple)); | ||
| 16 | } | ||
| 17 | } | ||
| 18 | |||
| 19 | namespace WixToolset.Data.Tuples | ||
| 20 | { | ||
| 21 | public enum WixPatchFamilyGroupTupleFields | ||
| 22 | { | ||
| 23 | WixPatchFamilyGroup, | ||
| 24 | } | ||
| 25 | |||
| 26 | public class WixPatchFamilyGroupTuple : IntermediateTuple | ||
| 27 | { | ||
| 28 | public WixPatchFamilyGroupTuple() : base(TupleDefinitions.WixPatchFamilyGroup, null, null) | ||
| 29 | { | ||
| 30 | } | ||
| 31 | |||
| 32 | public WixPatchFamilyGroupTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixPatchFamilyGroup, sourceLineNumber, id) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public IntermediateField this[WixPatchFamilyGroupTupleFields index] => this.Fields[(int)index]; | ||
| 37 | |||
| 38 | public string WixPatchFamilyGroup | ||
| 39 | { | ||
| 40 | get => (string)this.Fields[(int)WixPatchFamilyGroupTupleFields.WixPatchFamilyGroup]?.Value; | ||
| 41 | set => this.Set((int)WixPatchFamilyGroupTupleFields.WixPatchFamilyGroup, value); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixPatchIdTuple.cs b/src/WixToolset.Data/Tuples/WixPatchIdTuple.cs new file mode 100644 index 00000000..81b9573d --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixPatchIdTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixPatchId = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixPatchId, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixPatchIdTupleFields.ProductCode), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixPatchIdTupleFields.ClientPatchId), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixPatchIdTupleFields.OptimizePatchSizeForLargeFiles), IntermediateFieldType.Number), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixPatchIdTupleFields.ApiPatchingSymbolFlags), IntermediateFieldType.Number), | ||
| 17 | }, | ||
| 18 | typeof(WixPatchIdTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum WixPatchIdTupleFields | ||
| 25 | { | ||
| 26 | ProductCode, | ||
| 27 | ClientPatchId, | ||
| 28 | OptimizePatchSizeForLargeFiles, | ||
| 29 | ApiPatchingSymbolFlags, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class WixPatchIdTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public WixPatchIdTuple() : base(TupleDefinitions.WixPatchId, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public WixPatchIdTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixPatchId, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[WixPatchIdTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string ProductCode | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)WixPatchIdTupleFields.ProductCode]?.Value; | ||
| 47 | set => this.Set((int)WixPatchIdTupleFields.ProductCode, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public string ClientPatchId | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)WixPatchIdTupleFields.ClientPatchId]?.Value; | ||
| 53 | set => this.Set((int)WixPatchIdTupleFields.ClientPatchId, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public int OptimizePatchSizeForLargeFiles | ||
| 57 | { | ||
| 58 | get => (int)this.Fields[(int)WixPatchIdTupleFields.OptimizePatchSizeForLargeFiles]?.Value; | ||
| 59 | set => this.Set((int)WixPatchIdTupleFields.OptimizePatchSizeForLargeFiles, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public int ApiPatchingSymbolFlags | ||
| 63 | { | ||
| 64 | get => (int)this.Fields[(int)WixPatchIdTupleFields.ApiPatchingSymbolFlags]?.Value; | ||
| 65 | set => this.Set((int)WixPatchIdTupleFields.ApiPatchingSymbolFlags, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixPatchMetadataTuple.cs b/src/WixToolset.Data/Tuples/WixPatchMetadataTuple.cs new file mode 100644 index 00000000..c00031a5 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixPatchMetadataTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixPatchMetadata = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixPatchMetadata, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixPatchMetadataTupleFields.Property), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixPatchMetadataTupleFields.Value), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(WixPatchMetadataTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum WixPatchMetadataTupleFields | ||
| 23 | { | ||
| 24 | Property, | ||
| 25 | Value, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class WixPatchMetadataTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public WixPatchMetadataTuple() : base(TupleDefinitions.WixPatchMetadata, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public WixPatchMetadataTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixPatchMetadata, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[WixPatchMetadataTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Property | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)WixPatchMetadataTupleFields.Property]?.Value; | ||
| 43 | set => this.Set((int)WixPatchMetadataTupleFields.Property, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Value | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)WixPatchMetadataTupleFields.Value]?.Value; | ||
| 49 | set => this.Set((int)WixPatchMetadataTupleFields.Value, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixPatchRefTuple.cs b/src/WixToolset.Data/Tuples/WixPatchRefTuple.cs new file mode 100644 index 00000000..63528439 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixPatchRefTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixPatchRef = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixPatchRef, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixPatchRefTupleFields.Table), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixPatchRefTupleFields.PrimaryKeys), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(WixPatchRefTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum WixPatchRefTupleFields | ||
| 23 | { | ||
| 24 | Table, | ||
| 25 | PrimaryKeys, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class WixPatchRefTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public WixPatchRefTuple() : base(TupleDefinitions.WixPatchRef, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public WixPatchRefTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixPatchRef, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[WixPatchRefTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Table | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)WixPatchRefTupleFields.Table]?.Value; | ||
| 43 | set => this.Set((int)WixPatchRefTupleFields.Table, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string PrimaryKeys | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)WixPatchRefTupleFields.PrimaryKeys]?.Value; | ||
| 49 | set => this.Set((int)WixPatchRefTupleFields.PrimaryKeys, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixPatchTargetTuple.cs b/src/WixToolset.Data/Tuples/WixPatchTargetTuple.cs new file mode 100644 index 00000000..8940c0c6 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixPatchTargetTuple.cs | |||
| @@ -0,0 +1,44 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixPatchTarget = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixPatchTarget, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixPatchTargetTupleFields.ProductCode), IntermediateFieldType.String), | ||
| 14 | }, | ||
| 15 | typeof(WixPatchTargetTuple)); | ||
| 16 | } | ||
| 17 | } | ||
| 18 | |||
| 19 | namespace WixToolset.Data.Tuples | ||
| 20 | { | ||
| 21 | public enum WixPatchTargetTupleFields | ||
| 22 | { | ||
| 23 | ProductCode, | ||
| 24 | } | ||
| 25 | |||
| 26 | public class WixPatchTargetTuple : IntermediateTuple | ||
| 27 | { | ||
| 28 | public WixPatchTargetTuple() : base(TupleDefinitions.WixPatchTarget, null, null) | ||
| 29 | { | ||
| 30 | } | ||
| 31 | |||
| 32 | public WixPatchTargetTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixPatchTarget, sourceLineNumber, id) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public IntermediateField this[WixPatchTargetTupleFields index] => this.Fields[(int)index]; | ||
| 37 | |||
| 38 | public string ProductCode | ||
| 39 | { | ||
| 40 | get => (string)this.Fields[(int)WixPatchTargetTupleFields.ProductCode]?.Value; | ||
| 41 | set => this.Set((int)WixPatchTargetTupleFields.ProductCode, value); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixPayloadPropertiesTuple.cs b/src/WixToolset.Data/Tuples/WixPayloadPropertiesTuple.cs new file mode 100644 index 00000000..3c437a58 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixPayloadPropertiesTuple.cs | |||
| @@ -0,0 +1,92 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixPayloadProperties = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixPayloadProperties, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixPayloadPropertiesTupleFields.Payload), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixPayloadPropertiesTupleFields.Package), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixPayloadPropertiesTupleFields.Container), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixPayloadPropertiesTupleFields.Name), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixPayloadPropertiesTupleFields.Size), IntermediateFieldType.String), | ||
| 18 | new IntermediateFieldDefinition(nameof(WixPayloadPropertiesTupleFields.DownloadUrl), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(WixPayloadPropertiesTupleFields.LayoutOnly), IntermediateFieldType.String), | ||
| 20 | }, | ||
| 21 | typeof(WixPayloadPropertiesTuple)); | ||
| 22 | } | ||
| 23 | } | ||
| 24 | |||
| 25 | namespace WixToolset.Data.Tuples | ||
| 26 | { | ||
| 27 | public enum WixPayloadPropertiesTupleFields | ||
| 28 | { | ||
| 29 | Payload, | ||
| 30 | Package, | ||
| 31 | Container, | ||
| 32 | Name, | ||
| 33 | Size, | ||
| 34 | DownloadUrl, | ||
| 35 | LayoutOnly, | ||
| 36 | } | ||
| 37 | |||
| 38 | public class WixPayloadPropertiesTuple : IntermediateTuple | ||
| 39 | { | ||
| 40 | public WixPayloadPropertiesTuple() : base(TupleDefinitions.WixPayloadProperties, null, null) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public WixPayloadPropertiesTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixPayloadProperties, sourceLineNumber, id) | ||
| 45 | { | ||
| 46 | } | ||
| 47 | |||
| 48 | public IntermediateField this[WixPayloadPropertiesTupleFields index] => this.Fields[(int)index]; | ||
| 49 | |||
| 50 | public string Payload | ||
| 51 | { | ||
| 52 | get => (string)this.Fields[(int)WixPayloadPropertiesTupleFields.Payload]?.Value; | ||
| 53 | set => this.Set((int)WixPayloadPropertiesTupleFields.Payload, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public string Package | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)WixPayloadPropertiesTupleFields.Package]?.Value; | ||
| 59 | set => this.Set((int)WixPayloadPropertiesTupleFields.Package, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string Container | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)WixPayloadPropertiesTupleFields.Container]?.Value; | ||
| 65 | set => this.Set((int)WixPayloadPropertiesTupleFields.Container, value); | ||
| 66 | } | ||
| 67 | |||
| 68 | public string Name | ||
| 69 | { | ||
| 70 | get => (string)this.Fields[(int)WixPayloadPropertiesTupleFields.Name]?.Value; | ||
| 71 | set => this.Set((int)WixPayloadPropertiesTupleFields.Name, value); | ||
| 72 | } | ||
| 73 | |||
| 74 | public string Size | ||
| 75 | { | ||
| 76 | get => (string)this.Fields[(int)WixPayloadPropertiesTupleFields.Size]?.Value; | ||
| 77 | set => this.Set((int)WixPayloadPropertiesTupleFields.Size, value); | ||
| 78 | } | ||
| 79 | |||
| 80 | public string DownloadUrl | ||
| 81 | { | ||
| 82 | get => (string)this.Fields[(int)WixPayloadPropertiesTupleFields.DownloadUrl]?.Value; | ||
| 83 | set => this.Set((int)WixPayloadPropertiesTupleFields.DownloadUrl, value); | ||
| 84 | } | ||
| 85 | |||
| 86 | public string LayoutOnly | ||
| 87 | { | ||
| 88 | get => (string)this.Fields[(int)WixPayloadPropertiesTupleFields.LayoutOnly]?.Value; | ||
| 89 | set => this.Set((int)WixPayloadPropertiesTupleFields.LayoutOnly, value); | ||
| 90 | } | ||
| 91 | } | ||
| 92 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixProductSearchTuple.cs b/src/WixToolset.Data/Tuples/WixProductSearchTuple.cs new file mode 100644 index 00000000..40065f55 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixProductSearchTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixProductSearch = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixProductSearch, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixProductSearchTupleFields.WixSearch_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixProductSearchTupleFields.Guid), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixProductSearchTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 16 | }, | ||
| 17 | typeof(WixProductSearchTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum WixProductSearchTupleFields | ||
| 24 | { | ||
| 25 | WixSearch_, | ||
| 26 | Guid, | ||
| 27 | Attributes, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class WixProductSearchTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public WixProductSearchTuple() : base(TupleDefinitions.WixProductSearch, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public WixProductSearchTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixProductSearch, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[WixProductSearchTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string WixSearch_ | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)WixProductSearchTupleFields.WixSearch_]?.Value; | ||
| 45 | set => this.Set((int)WixProductSearchTupleFields.WixSearch_, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Guid | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)WixProductSearchTupleFields.Guid]?.Value; | ||
| 51 | set => this.Set((int)WixProductSearchTupleFields.Guid, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public int Attributes | ||
| 55 | { | ||
| 56 | get => (int)this.Fields[(int)WixProductSearchTupleFields.Attributes]?.Value; | ||
| 57 | set => this.Set((int)WixProductSearchTupleFields.Attributes, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixPropertyTuple.cs b/src/WixToolset.Data/Tuples/WixPropertyTuple.cs new file mode 100644 index 00000000..74e17d18 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixPropertyTuple.cs | |||
| @@ -0,0 +1,68 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixProperty = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixProperty, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixPropertyTupleFields.Property_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixPropertyTupleFields.Admin), IntermediateFieldType.Bool), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixPropertyTupleFields.Hidden), IntermediateFieldType.Bool), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixPropertyTupleFields.Secure), IntermediateFieldType.Bool), | ||
| 17 | }, | ||
| 18 | typeof(WixPropertyTuple)); | ||
| 19 | } | ||
| 20 | } | ||
| 21 | |||
| 22 | namespace WixToolset.Data.Tuples | ||
| 23 | { | ||
| 24 | public enum WixPropertyTupleFields | ||
| 25 | { | ||
| 26 | Property_, | ||
| 27 | Admin, | ||
| 28 | Hidden, | ||
| 29 | Secure, | ||
| 30 | } | ||
| 31 | |||
| 32 | public class WixPropertyTuple : IntermediateTuple | ||
| 33 | { | ||
| 34 | public WixPropertyTuple() : base(TupleDefinitions.WixProperty, null, null) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public WixPropertyTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixProperty, sourceLineNumber, id) | ||
| 39 | { | ||
| 40 | } | ||
| 41 | |||
| 42 | public IntermediateField this[WixPropertyTupleFields index] => this.Fields[(int)index]; | ||
| 43 | |||
| 44 | public string Property_ | ||
| 45 | { | ||
| 46 | get => (string)this.Fields[(int)WixPropertyTupleFields.Property_]?.Value; | ||
| 47 | set => this.Set((int)WixPropertyTupleFields.Property_, value); | ||
| 48 | } | ||
| 49 | |||
| 50 | public bool Admin | ||
| 51 | { | ||
| 52 | get => (bool)this.Fields[(int)WixPropertyTupleFields.Admin]?.Value; | ||
| 53 | set => this.Set((int)WixPropertyTupleFields.Admin, value); | ||
| 54 | } | ||
| 55 | |||
| 56 | public bool Hidden | ||
| 57 | { | ||
| 58 | get => (bool)this.Fields[(int)WixPropertyTupleFields.Hidden]?.Value; | ||
| 59 | set => this.Set((int)WixPropertyTupleFields.Hidden, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public bool Secure | ||
| 63 | { | ||
| 64 | get => (bool)this.Fields[(int)WixPropertyTupleFields.Secure]?.Value; | ||
| 65 | set => this.Set((int)WixPropertyTupleFields.Secure, value); | ||
| 66 | } | ||
| 67 | } | ||
| 68 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixRegistrySearchTuple.cs b/src/WixToolset.Data/Tuples/WixRegistrySearchTuple.cs new file mode 100644 index 00000000..c23bf957 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixRegistrySearchTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixRegistrySearch = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixRegistrySearch, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixRegistrySearchTupleFields.WixSearch_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixRegistrySearchTupleFields.Root), IntermediateFieldType.Number), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixRegistrySearchTupleFields.Key), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixRegistrySearchTupleFields.Value), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixRegistrySearchTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 18 | }, | ||
| 19 | typeof(WixRegistrySearchTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum WixRegistrySearchTupleFields | ||
| 26 | { | ||
| 27 | WixSearch_, | ||
| 28 | Root, | ||
| 29 | Key, | ||
| 30 | Value, | ||
| 31 | Attributes, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class WixRegistrySearchTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public WixRegistrySearchTuple() : base(TupleDefinitions.WixRegistrySearch, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public WixRegistrySearchTuple(SourceLineNumber sourceLineNumber , Identifier id = null) : base(TupleDefinitions.WixRegistrySearch, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[WixRegistrySearchTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string WixSearch_ | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)WixRegistrySearchTupleFields.WixSearch_]?.Value; | ||
| 49 | set => this.Set((int)WixRegistrySearchTupleFields.WixSearch_, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public int Root | ||
| 53 | { | ||
| 54 | get => (int)this.Fields[(int)WixRegistrySearchTupleFields.Root]?.Value; | ||
| 55 | set => this.Set((int)WixRegistrySearchTupleFields.Root, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string Key | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)WixRegistrySearchTupleFields.Key]?.Value; | ||
| 61 | set => this.Set((int)WixRegistrySearchTupleFields.Key, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string Value | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)WixRegistrySearchTupleFields.Value]?.Value; | ||
| 67 | set => this.Set((int)WixRegistrySearchTupleFields.Value, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public int Attributes | ||
| 71 | { | ||
| 72 | get => (int)this.Fields[(int)WixRegistrySearchTupleFields.Attributes]?.Value; | ||
| 73 | set => this.Set((int)WixRegistrySearchTupleFields.Attributes, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixRelatedBundleTuple.cs b/src/WixToolset.Data/Tuples/WixRelatedBundleTuple.cs new file mode 100644 index 00000000..491e9aa1 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixRelatedBundleTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixRelatedBundle = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixRelatedBundle, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixRelatedBundleTupleFields.Id), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixRelatedBundleTupleFields.Action), IntermediateFieldType.Number), | ||
| 15 | }, | ||
| 16 | typeof(WixRelatedBundleTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum WixRelatedBundleTupleFields | ||
| 23 | { | ||
| 24 | Id, | ||
| 25 | Action, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class WixRelatedBundleTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public WixRelatedBundleTuple() : base(TupleDefinitions.WixRelatedBundle, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public WixRelatedBundleTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixRelatedBundle, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[WixRelatedBundleTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Id | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)WixRelatedBundleTupleFields.Id]?.Value; | ||
| 43 | set => this.Set((int)WixRelatedBundleTupleFields.Id, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public int Action | ||
| 47 | { | ||
| 48 | get => (int)this.Fields[(int)WixRelatedBundleTupleFields.Action]?.Value; | ||
| 49 | set => this.Set((int)WixRelatedBundleTupleFields.Action, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixSearchRelationTuple.cs b/src/WixToolset.Data/Tuples/WixSearchRelationTuple.cs new file mode 100644 index 00000000..05021a11 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixSearchRelationTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixSearchRelation = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixSearchRelation, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixSearchRelationTupleFields.WixSearch_), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixSearchRelationTupleFields.ParentId_), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixSearchRelationTupleFields.Attributes), IntermediateFieldType.Number), | ||
| 16 | }, | ||
| 17 | typeof(WixSearchRelationTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum WixSearchRelationTupleFields | ||
| 24 | { | ||
| 25 | WixSearch_, | ||
| 26 | ParentId_, | ||
| 27 | Attributes, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class WixSearchRelationTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public WixSearchRelationTuple() : base(TupleDefinitions.WixSearchRelation, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public WixSearchRelationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixSearchRelation, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[WixSearchRelationTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string WixSearch_ | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)WixSearchRelationTupleFields.WixSearch_]?.Value; | ||
| 45 | set => this.Set((int)WixSearchRelationTupleFields.WixSearch_, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string ParentId_ | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)WixSearchRelationTupleFields.ParentId_]?.Value; | ||
| 51 | set => this.Set((int)WixSearchRelationTupleFields.ParentId_, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public int Attributes | ||
| 55 | { | ||
| 56 | get => (int)this.Fields[(int)WixSearchRelationTupleFields.Attributes]?.Value; | ||
| 57 | set => this.Set((int)WixSearchRelationTupleFields.Attributes, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixSearchTuple.cs b/src/WixToolset.Data/Tuples/WixSearchTuple.cs new file mode 100644 index 00000000..887a7b0d --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixSearchTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixSearch = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixSearch, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixSearchTupleFields.WixSearch), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixSearchTupleFields.Variable), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixSearchTupleFields.Condition), IntermediateFieldType.String), | ||
| 16 | }, | ||
| 17 | typeof(WixSearchTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum WixSearchTupleFields | ||
| 24 | { | ||
| 25 | WixSearch, | ||
| 26 | Variable, | ||
| 27 | Condition, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class WixSearchTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public WixSearchTuple() : base(TupleDefinitions.WixSearch, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public WixSearchTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixSearch, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[WixSearchTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string WixSearch | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)WixSearchTupleFields.WixSearch]?.Value; | ||
| 45 | set => this.Set((int)WixSearchTupleFields.WixSearch, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Variable | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)WixSearchTupleFields.Variable]?.Value; | ||
| 51 | set => this.Set((int)WixSearchTupleFields.Variable, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public string Condition | ||
| 55 | { | ||
| 56 | get => (string)this.Fields[(int)WixSearchTupleFields.Condition]?.Value; | ||
| 57 | set => this.Set((int)WixSearchTupleFields.Condition, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixSimpleReferenceTuple.cs b/src/WixToolset.Data/Tuples/WixSimpleReferenceTuple.cs new file mode 100644 index 00000000..5641f2b3 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixSimpleReferenceTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixSimpleReference = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixSimpleReference, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixSimpleReferenceTupleFields.Table), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixSimpleReferenceTupleFields.PrimaryKeys), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(WixSimpleReferenceTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | using System; | ||
| 23 | |||
| 24 | public enum WixSimpleReferenceTupleFields | ||
| 25 | { | ||
| 26 | Table, | ||
| 27 | PrimaryKeys, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class WixSimpleReferenceTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public WixSimpleReferenceTuple() : base(TupleDefinitions.WixSimpleReference, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public WixSimpleReferenceTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixSimpleReference, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[WixSimpleReferenceTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string Table | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)WixSimpleReferenceTupleFields.Table]?.Value; | ||
| 45 | set => this.Set((int)WixSimpleReferenceTupleFields.Table, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string PrimaryKeys | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)WixSimpleReferenceTupleFields.PrimaryKeys]?.Value; | ||
| 51 | set => this.Set((int)WixSimpleReferenceTupleFields.PrimaryKeys, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | /// <summary> | ||
| 55 | /// Gets the symbolic name. | ||
| 56 | /// </summary> | ||
| 57 | /// <value>Symbolic name.</value> | ||
| 58 | public string SymbolicName => String.Concat(this.Table, ":", this.PrimaryKeys); | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixSuppressActionTuple.cs b/src/WixToolset.Data/Tuples/WixSuppressActionTuple.cs new file mode 100644 index 00000000..ad8b443e --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixSuppressActionTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixSuppressAction = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixSuppressAction, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixSuppressActionTupleFields.SequenceTable), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixSuppressActionTupleFields.Action), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(WixSuppressActionTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum WixSuppressActionTupleFields | ||
| 23 | { | ||
| 24 | SequenceTable, | ||
| 25 | Action, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class WixSuppressActionTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public WixSuppressActionTuple() : base(TupleDefinitions.WixSuppressAction, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public WixSuppressActionTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixSuppressAction, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[WixSuppressActionTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string SequenceTable | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)WixSuppressActionTupleFields.SequenceTable]?.Value; | ||
| 43 | set => this.Set((int)WixSuppressActionTupleFields.SequenceTable, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Action | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)WixSuppressActionTupleFields.Action]?.Value; | ||
| 49 | set => this.Set((int)WixSuppressActionTupleFields.Action, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixSuppressModularizationTuple.cs b/src/WixToolset.Data/Tuples/WixSuppressModularizationTuple.cs new file mode 100644 index 00000000..c6f42eac --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixSuppressModularizationTuple.cs | |||
| @@ -0,0 +1,44 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixSuppressModularization = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixSuppressModularization, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixSuppressModularizationTupleFields.WixSuppressModularization), IntermediateFieldType.String), | ||
| 14 | }, | ||
| 15 | typeof(WixSuppressModularizationTuple)); | ||
| 16 | } | ||
| 17 | } | ||
| 18 | |||
| 19 | namespace WixToolset.Data.Tuples | ||
| 20 | { | ||
| 21 | public enum WixSuppressModularizationTupleFields | ||
| 22 | { | ||
| 23 | WixSuppressModularization, | ||
| 24 | } | ||
| 25 | |||
| 26 | public class WixSuppressModularizationTuple : IntermediateTuple | ||
| 27 | { | ||
| 28 | public WixSuppressModularizationTuple() : base(TupleDefinitions.WixSuppressModularization, null, null) | ||
| 29 | { | ||
| 30 | } | ||
| 31 | |||
| 32 | public WixSuppressModularizationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixSuppressModularization, sourceLineNumber, id) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public IntermediateField this[WixSuppressModularizationTupleFields index] => this.Fields[(int)index]; | ||
| 37 | |||
| 38 | public string WixSuppressModularization | ||
| 39 | { | ||
| 40 | get => (string)this.Fields[(int)WixSuppressModularizationTupleFields.WixSuppressModularization]?.Value; | ||
| 41 | set => this.Set((int)WixSuppressModularizationTupleFields.WixSuppressModularization, value); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixUITuple.cs b/src/WixToolset.Data/Tuples/WixUITuple.cs new file mode 100644 index 00000000..99e19300 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixUITuple.cs | |||
| @@ -0,0 +1,44 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixUI = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixUI, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixUITupleFields.WixUI), IntermediateFieldType.String), | ||
| 14 | }, | ||
| 15 | typeof(WixUITuple)); | ||
| 16 | } | ||
| 17 | } | ||
| 18 | |||
| 19 | namespace WixToolset.Data.Tuples | ||
| 20 | { | ||
| 21 | public enum WixUITupleFields | ||
| 22 | { | ||
| 23 | WixUI, | ||
| 24 | } | ||
| 25 | |||
| 26 | public class WixUITuple : IntermediateTuple | ||
| 27 | { | ||
| 28 | public WixUITuple() : base(TupleDefinitions.WixUI, null, null) | ||
| 29 | { | ||
| 30 | } | ||
| 31 | |||
| 32 | public WixUITuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixUI, sourceLineNumber, id) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public IntermediateField this[WixUITupleFields index] => this.Fields[(int)index]; | ||
| 37 | |||
| 38 | public string WixUI | ||
| 39 | { | ||
| 40 | get => (string)this.Fields[(int)WixUITupleFields.WixUI]?.Value; | ||
| 41 | set => this.Set((int)WixUITupleFields.WixUI, value); | ||
| 42 | } | ||
| 43 | } | ||
| 44 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixUpdateRegistrationTuple.cs b/src/WixToolset.Data/Tuples/WixUpdateRegistrationTuple.cs new file mode 100644 index 00000000..64043ffe --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixUpdateRegistrationTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixUpdateRegistration = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixUpdateRegistration, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixUpdateRegistrationTupleFields.Manufacturer), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixUpdateRegistrationTupleFields.Department), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixUpdateRegistrationTupleFields.ProductFamily), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(WixUpdateRegistrationTupleFields.Name), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(WixUpdateRegistrationTupleFields.Classification), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(WixUpdateRegistrationTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum WixUpdateRegistrationTupleFields | ||
| 26 | { | ||
| 27 | Manufacturer, | ||
| 28 | Department, | ||
| 29 | ProductFamily, | ||
| 30 | Name, | ||
| 31 | Classification, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class WixUpdateRegistrationTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public WixUpdateRegistrationTuple() : base(TupleDefinitions.WixUpdateRegistration, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public WixUpdateRegistrationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixUpdateRegistration, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[WixUpdateRegistrationTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string Manufacturer | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)WixUpdateRegistrationTupleFields.Manufacturer]?.Value; | ||
| 49 | set => this.Set((int)WixUpdateRegistrationTupleFields.Manufacturer, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string Department | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)WixUpdateRegistrationTupleFields.Department]?.Value; | ||
| 55 | set => this.Set((int)WixUpdateRegistrationTupleFields.Department, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string ProductFamily | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)WixUpdateRegistrationTupleFields.ProductFamily]?.Value; | ||
| 61 | set => this.Set((int)WixUpdateRegistrationTupleFields.ProductFamily, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string Name | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)WixUpdateRegistrationTupleFields.Name]?.Value; | ||
| 67 | set => this.Set((int)WixUpdateRegistrationTupleFields.Name, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Classification | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)WixUpdateRegistrationTupleFields.Classification]?.Value; | ||
| 73 | set => this.Set((int)WixUpdateRegistrationTupleFields.Classification, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/WixVariableTuple.cs b/src/WixToolset.Data/Tuples/WixVariableTuple.cs new file mode 100644 index 00000000..6b6e7354 --- /dev/null +++ b/src/WixToolset.Data/Tuples/WixVariableTuple.cs | |||
| @@ -0,0 +1,60 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition WixVariable = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType.WixVariable, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(WixVariableTupleFields.WixVariable), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(WixVariableTupleFields.Value), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(WixVariableTupleFields.Overridable), IntermediateFieldType.Bool), | ||
| 16 | }, | ||
| 17 | typeof(WixVariableTuple)); | ||
| 18 | } | ||
| 19 | } | ||
| 20 | |||
| 21 | namespace WixToolset.Data.Tuples | ||
| 22 | { | ||
| 23 | public enum WixVariableTupleFields | ||
| 24 | { | ||
| 25 | WixVariable, | ||
| 26 | Value, | ||
| 27 | Overridable, | ||
| 28 | } | ||
| 29 | |||
| 30 | public class WixVariableTuple : IntermediateTuple | ||
| 31 | { | ||
| 32 | public WixVariableTuple() : base(TupleDefinitions.WixVariable, null, null) | ||
| 33 | { | ||
| 34 | } | ||
| 35 | |||
| 36 | public WixVariableTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.WixVariable, sourceLineNumber, id) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public IntermediateField this[WixVariableTupleFields index] => this.Fields[(int)index]; | ||
| 41 | |||
| 42 | public string WixVariable | ||
| 43 | { | ||
| 44 | get => (string)this.Fields[(int)WixVariableTupleFields.WixVariable]?.Value; | ||
| 45 | set => this.Set((int)WixVariableTupleFields.WixVariable, value); | ||
| 46 | } | ||
| 47 | |||
| 48 | public string Value | ||
| 49 | { | ||
| 50 | get => (string)this.Fields[(int)WixVariableTupleFields.Value]?.Value; | ||
| 51 | set => this.Set((int)WixVariableTupleFields.Value, value); | ||
| 52 | } | ||
| 53 | |||
| 54 | public bool Overridable | ||
| 55 | { | ||
| 56 | get => (bool)this.Fields[(int)WixVariableTupleFields.Overridable]?.Value; | ||
| 57 | set => this.Set((int)WixVariableTupleFields.Overridable, value); | ||
| 58 | } | ||
| 59 | } | ||
| 60 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/_ByHandComponentTuple.cs b/src/WixToolset.Data/Tuples/_ByHandComponentTuple.cs new file mode 100644 index 00000000..0e8fe8e7 --- /dev/null +++ b/src/WixToolset.Data/Tuples/_ByHandComponentTuple.cs | |||
| @@ -0,0 +1,55 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition ComponentOriginal = new IntermediateTupleDefinition(TupleDefinitionType.Component, new[] | ||
| 10 | { | ||
| 11 | new IntermediateFieldDefinition("Guid", IntermediateFieldType.String), | ||
| 12 | new IntermediateFieldDefinition("Directory", IntermediateFieldType.String), | ||
| 13 | new IntermediateFieldDefinition("Condition", IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition("KeyPath", IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition("LocalOnly", IntermediateFieldType.Bool), | ||
| 16 | new IntermediateFieldDefinition("SourceOnly", IntermediateFieldType.Bool), | ||
| 17 | new IntermediateFieldDefinition("Optional", IntermediateFieldType.Bool), | ||
| 18 | new IntermediateFieldDefinition("RegistryKeyPath", IntermediateFieldType.Bool), | ||
| 19 | new IntermediateFieldDefinition("SharedDllRefCount", IntermediateFieldType.Bool), | ||
| 20 | new IntermediateFieldDefinition("Permanent", IntermediateFieldType.Bool), | ||
| 21 | new IntermediateFieldDefinition("OdbcDataSource", IntermediateFieldType.Bool), | ||
| 22 | new IntermediateFieldDefinition("Transitive", IntermediateFieldType.Bool), | ||
| 23 | new IntermediateFieldDefinition("NeverOverwrite", IntermediateFieldType.Bool), | ||
| 24 | new IntermediateFieldDefinition("x64", IntermediateFieldType.Bool), | ||
| 25 | new IntermediateFieldDefinition("DisableRegistryReflection", IntermediateFieldType.Bool), | ||
| 26 | new IntermediateFieldDefinition("UnisntallOnSupersedence", IntermediateFieldType.Bool), | ||
| 27 | new IntermediateFieldDefinition("Shared", IntermediateFieldType.Bool), | ||
| 28 | }, typeof(ComponentTuple)); | ||
| 29 | } | ||
| 30 | } | ||
| 31 | |||
| 32 | namespace WixToolset.Data.Tuples | ||
| 33 | { | ||
| 34 | using System; | ||
| 35 | |||
| 36 | public class ComponentTupleOriginal : IntermediateTuple | ||
| 37 | { | ||
| 38 | public ComponentTupleOriginal(IntermediateTupleDefinition definition) : base(definition, null, null) | ||
| 39 | { | ||
| 40 | if (definition != TupleDefinitions.ComponentOriginal) throw new ArgumentException(nameof(definition)); | ||
| 41 | } | ||
| 42 | |||
| 43 | public string Guid | ||
| 44 | { | ||
| 45 | get => (string)this[0]?.Value; | ||
| 46 | set => this.Set(0, value); | ||
| 47 | } | ||
| 48 | |||
| 49 | public string Directory | ||
| 50 | { | ||
| 51 | get => (string)this[1]?.Value; | ||
| 52 | set => this.Set(1, value); | ||
| 53 | } | ||
| 54 | } | ||
| 55 | } | ||
diff --git a/src/WixToolset.Data/Tuples/_ByHandFileTuple.cs b/src/WixToolset.Data/Tuples/_ByHandFileTuple.cs new file mode 100644 index 00000000..79fb31e5 --- /dev/null +++ b/src/WixToolset.Data/Tuples/_ByHandFileTuple.cs | |||
| @@ -0,0 +1,88 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | //public static partial class TupleDefinitionNames | ||
| 8 | //{ | ||
| 9 | // public const string File = nameof(TupleDefinitionNames.File); | ||
| 10 | //} | ||
| 11 | |||
| 12 | /* | ||
| 13 | [ | ||
| 14 | { | ||
| 15 | "File" : [ | ||
| 16 | { "Component" : "string" }, | ||
| 17 | { "Name" : "string" }, | ||
| 18 | { "Compressed" : "bool" }, | ||
| 19 | ] | ||
| 20 | }, | ||
| 21 | { | ||
| 22 | "Component": [ | ||
| 23 | { "Guid" : "string" }, | ||
| 24 | ] | ||
| 25 | }, | ||
| 26 | ] | ||
| 27 | */ | ||
| 28 | |||
| 29 | public static partial class TupleDefinitions | ||
| 30 | { | ||
| 31 | public static readonly IntermediateTupleDefinition FileOriginal = new IntermediateTupleDefinition( | ||
| 32 | TupleDefinitionType.File, | ||
| 33 | new[] | ||
| 34 | { | ||
| 35 | new IntermediateFieldDefinition(nameof(FileTupleFieldsOriginal.Component), IntermediateFieldType.String), | ||
| 36 | new IntermediateFieldDefinition(nameof(FileTupleFieldsOriginal.Name), IntermediateFieldType.String), | ||
| 37 | new IntermediateFieldDefinition(nameof(FileTupleFieldsOriginal.ShortName), IntermediateFieldType.String), | ||
| 38 | new IntermediateFieldDefinition(nameof(FileTupleFieldsOriginal.Size), IntermediateFieldType.Number), | ||
| 39 | new IntermediateFieldDefinition(nameof(FileTupleFieldsOriginal.Version), IntermediateFieldType.String), | ||
| 40 | new IntermediateFieldDefinition(nameof(FileTupleFieldsOriginal.Language), IntermediateFieldType.String), | ||
| 41 | new IntermediateFieldDefinition(nameof(FileTupleFieldsOriginal.ReadOnly), IntermediateFieldType.Bool), | ||
| 42 | new IntermediateFieldDefinition(nameof(FileTupleFieldsOriginal.Hidden), IntermediateFieldType.Bool), | ||
| 43 | new IntermediateFieldDefinition(nameof(FileTupleFieldsOriginal.System), IntermediateFieldType.Bool), | ||
| 44 | new IntermediateFieldDefinition(nameof(FileTupleFieldsOriginal.Vital), IntermediateFieldType.Bool), | ||
| 45 | new IntermediateFieldDefinition(nameof(FileTupleFieldsOriginal.Checksum), IntermediateFieldType.Bool), | ||
| 46 | new IntermediateFieldDefinition(nameof(FileTupleFieldsOriginal.Compressed), IntermediateFieldType.Bool), | ||
| 47 | }, | ||
| 48 | typeof(FileTuple)); | ||
| 49 | } | ||
| 50 | } | ||
| 51 | |||
| 52 | namespace WixToolset.Data.Tuples | ||
| 53 | { | ||
| 54 | public enum FileTupleFieldsOriginal | ||
| 55 | { | ||
| 56 | Component, | ||
| 57 | Name, | ||
| 58 | ShortName, | ||
| 59 | Size, | ||
| 60 | Version, | ||
| 61 | Language, | ||
| 62 | ReadOnly, | ||
| 63 | Hidden, | ||
| 64 | System, | ||
| 65 | Vital, | ||
| 66 | Checksum, | ||
| 67 | Compressed, | ||
| 68 | } | ||
| 69 | |||
| 70 | public class FileTupleOriginal : IntermediateTuple | ||
| 71 | { | ||
| 72 | public FileTupleOriginal() : base(TupleDefinitions.File, null, null) | ||
| 73 | { | ||
| 74 | } | ||
| 75 | |||
| 76 | public FileTupleOriginal(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions.File, sourceLineNumber, id) | ||
| 77 | { | ||
| 78 | } | ||
| 79 | |||
| 80 | public IntermediateField this[FileTupleFields index] => this.Fields[(int)index]; | ||
| 81 | |||
| 82 | public string Component | ||
| 83 | { | ||
| 84 | get => (string)this.Fields[(int)FileTupleFieldsOriginal.Component]?.Value; | ||
| 85 | set => this.Set((int)FileTupleFieldsOriginal.Component, value); | ||
| 86 | } | ||
| 87 | } | ||
| 88 | } | ||
diff --git a/src/WixToolset.Data/Tuples/_ByHandTupleDefinitions.cs b/src/WixToolset.Data/Tuples/_ByHandTupleDefinitions.cs new file mode 100644 index 00000000..0cb0feeb --- /dev/null +++ b/src/WixToolset.Data/Tuples/_ByHandTupleDefinitions.cs | |||
| @@ -0,0 +1,55 @@ | |||
| 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 | #if false | ||
| 4 | namespace WixToolset.Data.Tuples | ||
| 5 | { | ||
| 6 | using System; | ||
| 7 | |||
| 8 | //public enum TupleDefinitionType | ||
| 9 | //{ | ||
| 10 | // Component, | ||
| 11 | // File, | ||
| 12 | // MustBeFromAnExtension, | ||
| 13 | //} | ||
| 14 | |||
| 15 | public static partial class TupleDefinitionsOriginal | ||
| 16 | { | ||
| 17 | public static readonly Version Version = new Version("4.0.0"); | ||
| 18 | |||
| 19 | public static IntermediateTupleDefinition ByName(string name) | ||
| 20 | { | ||
| 21 | if (!Enum.TryParse(name, out TupleDefinitionType type) || type == TupleDefinitionType.MustBeFromAnExtension) | ||
| 22 | { | ||
| 23 | return null; | ||
| 24 | } | ||
| 25 | |||
| 26 | return ByType(type); | ||
| 27 | } | ||
| 28 | |||
| 29 | public static IntermediateTupleDefinition ByType(TupleDefinitionType type) | ||
| 30 | { | ||
| 31 | switch (type) | ||
| 32 | { | ||
| 33 | //case TupleDefinitionType.Component: | ||
| 34 | // return TupleDefinitions.Component; | ||
| 35 | |||
| 36 | //case TupleDefinitionType.File: | ||
| 37 | // return TupleDefinitions.File; | ||
| 38 | |||
| 39 | default: | ||
| 40 | throw new ArgumentOutOfRangeException(nameof(type)); | ||
| 41 | } | ||
| 42 | } | ||
| 43 | |||
| 44 | //public static T CreateTuple<T>() where T : IntermediateTuple | ||
| 45 | //{ | ||
| 46 | // if (TypeToName.TryGetValue(typeof(T), out var name)) | ||
| 47 | // { | ||
| 48 | // return ByName(name)?.CreateTuple<T>(); | ||
| 49 | // } | ||
| 50 | |||
| 51 | // return null; | ||
| 52 | //} | ||
| 53 | } | ||
| 54 | } | ||
| 55 | #endif | ||
diff --git a/src/WixToolset.Data/Tuples/_StreamsTuple.cs b/src/WixToolset.Data/Tuples/_StreamsTuple.cs new file mode 100644 index 00000000..1f9d75e8 --- /dev/null +++ b/src/WixToolset.Data/Tuples/_StreamsTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition _Streams = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType._Streams, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(_StreamsTupleFields.Name), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(_StreamsTupleFields.Data), IntermediateFieldType.Path), | ||
| 15 | }, | ||
| 16 | typeof(_StreamsTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum _StreamsTupleFields | ||
| 23 | { | ||
| 24 | Name, | ||
| 25 | Data, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class _StreamsTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public _StreamsTuple() : base(TupleDefinitions._Streams, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public _StreamsTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions._Streams, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[_StreamsTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public string Name | ||
| 41 | { | ||
| 42 | get => (string)this.Fields[(int)_StreamsTupleFields.Name]?.Value; | ||
| 43 | set => this.Set((int)_StreamsTupleFields.Name, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Data | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)_StreamsTupleFields.Data]?.Value; | ||
| 49 | set => this.Set((int)_StreamsTupleFields.Data, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/_SummaryInformationTuple.cs b/src/WixToolset.Data/Tuples/_SummaryInformationTuple.cs new file mode 100644 index 00000000..4ce3b63f --- /dev/null +++ b/src/WixToolset.Data/Tuples/_SummaryInformationTuple.cs | |||
| @@ -0,0 +1,52 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition _SummaryInformation = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType._SummaryInformation, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(_SummaryInformationTupleFields.PropertyId), IntermediateFieldType.Number), | ||
| 14 | new IntermediateFieldDefinition(nameof(_SummaryInformationTupleFields.Value), IntermediateFieldType.String), | ||
| 15 | }, | ||
| 16 | typeof(_SummaryInformationTuple)); | ||
| 17 | } | ||
| 18 | } | ||
| 19 | |||
| 20 | namespace WixToolset.Data.Tuples | ||
| 21 | { | ||
| 22 | public enum _SummaryInformationTupleFields | ||
| 23 | { | ||
| 24 | PropertyId, | ||
| 25 | Value, | ||
| 26 | } | ||
| 27 | |||
| 28 | public class _SummaryInformationTuple : IntermediateTuple | ||
| 29 | { | ||
| 30 | public _SummaryInformationTuple() : base(TupleDefinitions._SummaryInformation, null, null) | ||
| 31 | { | ||
| 32 | } | ||
| 33 | |||
| 34 | public _SummaryInformationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions._SummaryInformation, sourceLineNumber, id) | ||
| 35 | { | ||
| 36 | } | ||
| 37 | |||
| 38 | public IntermediateField this[_SummaryInformationTupleFields index] => this.Fields[(int)index]; | ||
| 39 | |||
| 40 | public int PropertyId | ||
| 41 | { | ||
| 42 | get => (int)this.Fields[(int)_SummaryInformationTupleFields.PropertyId]?.Value; | ||
| 43 | set => this.Set((int)_SummaryInformationTupleFields.PropertyId, value); | ||
| 44 | } | ||
| 45 | |||
| 46 | public string Value | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)_SummaryInformationTupleFields.Value]?.Value; | ||
| 49 | set => this.Set((int)_SummaryInformationTupleFields.Value, value); | ||
| 50 | } | ||
| 51 | } | ||
| 52 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/_TransformViewTuple.cs b/src/WixToolset.Data/Tuples/_TransformViewTuple.cs new file mode 100644 index 00000000..e3355062 --- /dev/null +++ b/src/WixToolset.Data/Tuples/_TransformViewTuple.cs | |||
| @@ -0,0 +1,76 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition _TransformView = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType._TransformView, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(_TransformViewTupleFields.Table), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(_TransformViewTupleFields.Column), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(_TransformViewTupleFields.Row), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(_TransformViewTupleFields.Data), IntermediateFieldType.String), | ||
| 17 | new IntermediateFieldDefinition(nameof(_TransformViewTupleFields.Current), IntermediateFieldType.String), | ||
| 18 | }, | ||
| 19 | typeof(_TransformViewTuple)); | ||
| 20 | } | ||
| 21 | } | ||
| 22 | |||
| 23 | namespace WixToolset.Data.Tuples | ||
| 24 | { | ||
| 25 | public enum _TransformViewTupleFields | ||
| 26 | { | ||
| 27 | Table, | ||
| 28 | Column, | ||
| 29 | Row, | ||
| 30 | Data, | ||
| 31 | Current, | ||
| 32 | } | ||
| 33 | |||
| 34 | public class _TransformViewTuple : IntermediateTuple | ||
| 35 | { | ||
| 36 | public _TransformViewTuple() : base(TupleDefinitions._TransformView, null, null) | ||
| 37 | { | ||
| 38 | } | ||
| 39 | |||
| 40 | public _TransformViewTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions._TransformView, sourceLineNumber, id) | ||
| 41 | { | ||
| 42 | } | ||
| 43 | |||
| 44 | public IntermediateField this[_TransformViewTupleFields index] => this.Fields[(int)index]; | ||
| 45 | |||
| 46 | public string Table | ||
| 47 | { | ||
| 48 | get => (string)this.Fields[(int)_TransformViewTupleFields.Table]?.Value; | ||
| 49 | set => this.Set((int)_TransformViewTupleFields.Table, value); | ||
| 50 | } | ||
| 51 | |||
| 52 | public string Column | ||
| 53 | { | ||
| 54 | get => (string)this.Fields[(int)_TransformViewTupleFields.Column]?.Value; | ||
| 55 | set => this.Set((int)_TransformViewTupleFields.Column, value); | ||
| 56 | } | ||
| 57 | |||
| 58 | public string Row | ||
| 59 | { | ||
| 60 | get => (string)this.Fields[(int)_TransformViewTupleFields.Row]?.Value; | ||
| 61 | set => this.Set((int)_TransformViewTupleFields.Row, value); | ||
| 62 | } | ||
| 63 | |||
| 64 | public string Data | ||
| 65 | { | ||
| 66 | get => (string)this.Fields[(int)_TransformViewTupleFields.Data]?.Value; | ||
| 67 | set => this.Set((int)_TransformViewTupleFields.Data, value); | ||
| 68 | } | ||
| 69 | |||
| 70 | public string Current | ||
| 71 | { | ||
| 72 | get => (string)this.Fields[(int)_TransformViewTupleFields.Current]?.Value; | ||
| 73 | set => this.Set((int)_TransformViewTupleFields.Current, value); | ||
| 74 | } | ||
| 75 | } | ||
| 76 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/_ValidationTuple.cs b/src/WixToolset.Data/Tuples/_ValidationTuple.cs new file mode 100644 index 00000000..3bcd064c --- /dev/null +++ b/src/WixToolset.Data/Tuples/_ValidationTuple.cs | |||
| @@ -0,0 +1,116 @@ | |||
| 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 | namespace WixToolset.Data | ||
| 4 | { | ||
| 5 | using WixToolset.Data.Tuples; | ||
| 6 | |||
| 7 | public static partial class TupleDefinitions | ||
| 8 | { | ||
| 9 | public static readonly IntermediateTupleDefinition _Validation = new IntermediateTupleDefinition( | ||
| 10 | TupleDefinitionType._Validation, | ||
| 11 | new[] | ||
| 12 | { | ||
| 13 | new IntermediateFieldDefinition(nameof(_ValidationTupleFields.Table), IntermediateFieldType.String), | ||
| 14 | new IntermediateFieldDefinition(nameof(_ValidationTupleFields.Column), IntermediateFieldType.String), | ||
| 15 | new IntermediateFieldDefinition(nameof(_ValidationTupleFields.Nullable), IntermediateFieldType.String), | ||
| 16 | new IntermediateFieldDefinition(nameof(_ValidationTupleFields.MinValue), IntermediateFieldType.Number), | ||
| 17 | new IntermediateFieldDefinition(nameof(_ValidationTupleFields.MaxValue), IntermediateFieldType.Number), | ||
| 18 | new IntermediateFieldDefinition(nameof(_ValidationTupleFields.KeyTable), IntermediateFieldType.String), | ||
| 19 | new IntermediateFieldDefinition(nameof(_ValidationTupleFields.KeyColumn), IntermediateFieldType.Number), | ||
| 20 | new IntermediateFieldDefinition(nameof(_ValidationTupleFields.Category), IntermediateFieldType.String), | ||
| 21 | new IntermediateFieldDefinition(nameof(_ValidationTupleFields.Set), IntermediateFieldType.String), | ||
| 22 | new IntermediateFieldDefinition(nameof(_ValidationTupleFields.Description), IntermediateFieldType.String), | ||
| 23 | }, | ||
| 24 | typeof(_ValidationTuple)); | ||
| 25 | } | ||
| 26 | } | ||
| 27 | |||
| 28 | namespace WixToolset.Data.Tuples | ||
| 29 | { | ||
| 30 | public enum _ValidationTupleFields | ||
| 31 | { | ||
| 32 | Table, | ||
| 33 | Column, | ||
| 34 | Nullable, | ||
| 35 | MinValue, | ||
| 36 | MaxValue, | ||
| 37 | KeyTable, | ||
| 38 | KeyColumn, | ||
| 39 | Category, | ||
| 40 | Set, | ||
| 41 | Description, | ||
| 42 | } | ||
| 43 | |||
| 44 | public class _ValidationTuple : IntermediateTuple | ||
| 45 | { | ||
| 46 | public _ValidationTuple() : base(TupleDefinitions._Validation, null, null) | ||
| 47 | { | ||
| 48 | } | ||
| 49 | |||
| 50 | public _ValidationTuple(SourceLineNumber sourceLineNumber, Identifier id = null) : base(TupleDefinitions._Validation, sourceLineNumber, id) | ||
| 51 | { | ||
| 52 | } | ||
| 53 | |||
| 54 | public IntermediateField this[_ValidationTupleFields index] => this.Fields[(int)index]; | ||
| 55 | |||
| 56 | public string Table | ||
| 57 | { | ||
| 58 | get => (string)this.Fields[(int)_ValidationTupleFields.Table]?.Value; | ||
| 59 | set => this.Set((int)_ValidationTupleFields.Table, value); | ||
| 60 | } | ||
| 61 | |||
| 62 | public string Column | ||
| 63 | { | ||
| 64 | get => (string)this.Fields[(int)_ValidationTupleFields.Column]?.Value; | ||
| 65 | set => this.Set((int)_ValidationTupleFields.Column, value); | ||
| 66 | } | ||
| 67 | |||
| 68 | public string Nullable | ||
| 69 | { | ||
| 70 | get => (string)this.Fields[(int)_ValidationTupleFields.Nullable]?.Value; | ||
| 71 | set => this.Set((int)_ValidationTupleFields.Nullable, value); | ||
| 72 | } | ||
| 73 | |||
| 74 | public int MinValue | ||
| 75 | { | ||
| 76 | get => (int)this.Fields[(int)_ValidationTupleFields.MinValue]?.Value; | ||
| 77 | set => this.Set((int)_ValidationTupleFields.MinValue, value); | ||
| 78 | } | ||
| 79 | |||
| 80 | public int MaxValue | ||
| 81 | { | ||
| 82 | get => (int)this.Fields[(int)_ValidationTupleFields.MaxValue]?.Value; | ||
| 83 | set => this.Set((int)_ValidationTupleFields.MaxValue, value); | ||
| 84 | } | ||
| 85 | |||
| 86 | public string KeyTable | ||
| 87 | { | ||
| 88 | get => (string)this.Fields[(int)_ValidationTupleFields.KeyTable]?.Value; | ||
| 89 | set => this.Set((int)_ValidationTupleFields.KeyTable, value); | ||
| 90 | } | ||
| 91 | |||
| 92 | public int KeyColumn | ||
| 93 | { | ||
| 94 | get => (int)this.Fields[(int)_ValidationTupleFields.KeyColumn]?.Value; | ||
| 95 | set => this.Set((int)_ValidationTupleFields.KeyColumn, value); | ||
| 96 | } | ||
| 97 | |||
| 98 | public string Category | ||
| 99 | { | ||
| 100 | get => (string)this.Fields[(int)_ValidationTupleFields.Category]?.Value; | ||
| 101 | set => this.Set((int)_ValidationTupleFields.Category, value); | ||
| 102 | } | ||
| 103 | |||
| 104 | public string Set | ||
| 105 | { | ||
| 106 | get => (string)this.Fields[(int)_ValidationTupleFields.Set]?.Value; | ||
| 107 | set => this.Set((int)_ValidationTupleFields.Set, value); | ||
| 108 | } | ||
| 109 | |||
| 110 | public string Description | ||
| 111 | { | ||
| 112 | get => (string)this.Fields[(int)_ValidationTupleFields.Description]?.Value; | ||
| 113 | set => this.Set((int)_ValidationTupleFields.Description, value); | ||
| 114 | } | ||
| 115 | } | ||
| 116 | } \ No newline at end of file | ||
diff --git a/src/WixToolset.Data/Tuples/tuples_new.json b/src/WixToolset.Data/Tuples/tuples_new.json new file mode 100644 index 00000000..9386058c --- /dev/null +++ b/src/WixToolset.Data/Tuples/tuples_new.json | |||
| @@ -0,0 +1,3604 @@ | |||
| 1 | [ | ||
| 2 | { | ||
| 3 | "_Streams": [ | ||
| 4 | { | ||
| 5 | "Name": "string" | ||
| 6 | }, | ||
| 7 | { | ||
| 8 | "Data": "path" | ||
| 9 | } | ||
| 10 | ] | ||
| 11 | }, | ||
| 12 | { | ||
| 13 | "_SummaryInformation": [ | ||
| 14 | { | ||
| 15 | "PropertyId": "number" | ||
| 16 | }, | ||
| 17 | { | ||
| 18 | "Value": "string" | ||
| 19 | } | ||
| 20 | ] | ||
| 21 | }, | ||
| 22 | { | ||
| 23 | "_TransformView": [ | ||
| 24 | { | ||
| 25 | "Table": "string" | ||
| 26 | }, | ||
| 27 | { | ||
| 28 | "Column": "string" | ||
| 29 | }, | ||
| 30 | { | ||
| 31 | "Row": "string" | ||
| 32 | }, | ||
| 33 | { | ||
| 34 | "Data": "string" | ||
| 35 | }, | ||
| 36 | { | ||
| 37 | "Current": "string" | ||
| 38 | } | ||
| 39 | ] | ||
| 40 | }, | ||
| 41 | { | ||
| 42 | "_Validation": [ | ||
| 43 | { | ||
| 44 | "Table": "string" | ||
| 45 | }, | ||
| 46 | { | ||
| 47 | "Column": "string" | ||
| 48 | }, | ||
| 49 | { | ||
| 50 | "Nullable": "string" | ||
| 51 | }, | ||
| 52 | { | ||
| 53 | "MinValue": "number" | ||
| 54 | }, | ||
| 55 | { | ||
| 56 | "MaxValue": "number" | ||
| 57 | }, | ||
| 58 | { | ||
| 59 | "KeyTable": "string" | ||
| 60 | }, | ||
| 61 | { | ||
| 62 | "KeyColumn": "number" | ||
| 63 | }, | ||
| 64 | { | ||
| 65 | "Category": "string" | ||
| 66 | }, | ||
| 67 | { | ||
| 68 | "Set": "string" | ||
| 69 | }, | ||
| 70 | { | ||
| 71 | "Description": "string" | ||
| 72 | } | ||
| 73 | ] | ||
| 74 | }, | ||
| 75 | { | ||
| 76 | "ActionText": [ | ||
| 77 | { | ||
| 78 | "Action": "string" | ||
| 79 | }, | ||
| 80 | { | ||
| 81 | "Description": "string" | ||
| 82 | }, | ||
| 83 | { | ||
| 84 | "Template": "string" | ||
| 85 | } | ||
| 86 | ] | ||
| 87 | }, | ||
| 88 | { | ||
| 89 | "AdminExecuteSequence": [ | ||
| 90 | { | ||
| 91 | "Action": "string" | ||
| 92 | }, | ||
| 93 | { | ||
| 94 | "Condition": "string" | ||
| 95 | }, | ||
| 96 | { | ||
| 97 | "Sequence": "number" | ||
| 98 | } | ||
| 99 | ] | ||
| 100 | }, | ||
| 101 | { | ||
| 102 | "AdminUISequence": [ | ||
| 103 | { | ||
| 104 | "Action": "string" | ||
| 105 | }, | ||
| 106 | { | ||
| 107 | "Condition": "string" | ||
| 108 | }, | ||
| 109 | { | ||
| 110 | "Sequence": "number" | ||
| 111 | } | ||
| 112 | ] | ||
| 113 | }, | ||
| 114 | { | ||
| 115 | "AdvtExecuteSequence": [ | ||
| 116 | { | ||
| 117 | "Action": "string" | ||
| 118 | }, | ||
| 119 | { | ||
| 120 | "Condition": "string" | ||
| 121 | }, | ||
| 122 | { | ||
| 123 | "Sequence": "number" | ||
| 124 | } | ||
| 125 | ] | ||
| 126 | }, | ||
| 127 | { | ||
| 128 | "AdvtUISequence": [ | ||
| 129 | { | ||
| 130 | "Action": "string" | ||
| 131 | }, | ||
| 132 | { | ||
| 133 | "Condition": "string" | ||
| 134 | }, | ||
| 135 | { | ||
| 136 | "Sequence": "number" | ||
| 137 | } | ||
| 138 | ] | ||
| 139 | }, | ||
| 140 | { | ||
| 141 | "AppId": [ | ||
| 142 | { | ||
| 143 | "AppId": "string" | ||
| 144 | }, | ||
| 145 | { | ||
| 146 | "RemoteServerName": "string" | ||
| 147 | }, | ||
| 148 | { | ||
| 149 | "LocalService": "string" | ||
| 150 | }, | ||
| 151 | { | ||
| 152 | "ServiceParameters": "string" | ||
| 153 | }, | ||
| 154 | { | ||
| 155 | "DllSurrogate": "string" | ||
| 156 | }, | ||
| 157 | { | ||
| 158 | "ActivateAtStorage": "number" | ||
| 159 | }, | ||
| 160 | { | ||
| 161 | "RunAsInteractiveUser": "number" | ||
| 162 | } | ||
| 163 | ] | ||
| 164 | }, | ||
| 165 | { | ||
| 166 | "AppSearch": [ | ||
| 167 | { | ||
| 168 | "Property": "string" | ||
| 169 | }, | ||
| 170 | { | ||
| 171 | "Signature_": "string" | ||
| 172 | } | ||
| 173 | ] | ||
| 174 | }, | ||
| 175 | { | ||
| 176 | "BBControl": [ | ||
| 177 | { | ||
| 178 | "Billboard_": "string" | ||
| 179 | }, | ||
| 180 | { | ||
| 181 | "BBControl": "string" | ||
| 182 | }, | ||
| 183 | { | ||
| 184 | "Type": "string" | ||
| 185 | }, | ||
| 186 | { | ||
| 187 | "X": "number" | ||
| 188 | }, | ||
| 189 | { | ||
| 190 | "Y": "number" | ||
| 191 | }, | ||
| 192 | { | ||
| 193 | "Width": "number" | ||
| 194 | }, | ||
| 195 | { | ||
| 196 | "Height": "number" | ||
| 197 | }, | ||
| 198 | { | ||
| 199 | "Attributes": "number" | ||
| 200 | }, | ||
| 201 | { | ||
| 202 | "Text": "string" | ||
| 203 | } | ||
| 204 | ] | ||
| 205 | }, | ||
| 206 | { | ||
| 207 | "Billboard": [ | ||
| 208 | { | ||
| 209 | "Billboard": "string" | ||
| 210 | }, | ||
| 211 | { | ||
| 212 | "Feature_": "string" | ||
| 213 | }, | ||
| 214 | { | ||
| 215 | "Action": "string" | ||
| 216 | }, | ||
| 217 | { | ||
| 218 | "Ordering": "number" | ||
| 219 | } | ||
| 220 | ] | ||
| 221 | }, | ||
| 222 | { | ||
| 223 | "Binary": [ | ||
| 224 | { | ||
| 225 | "Name": "string" | ||
| 226 | }, | ||
| 227 | { | ||
| 228 | "Data": "path" | ||
| 229 | } | ||
| 230 | ] | ||
| 231 | }, | ||
| 232 | { | ||
| 233 | "BindImage": [ | ||
| 234 | { | ||
| 235 | "File_": "string" | ||
| 236 | }, | ||
| 237 | { | ||
| 238 | "Path": "string" | ||
| 239 | } | ||
| 240 | ] | ||
| 241 | }, | ||
| 242 | { | ||
| 243 | "CCPSearch": [ | ||
| 244 | { | ||
| 245 | "Signature_": "string" | ||
| 246 | } | ||
| 247 | ] | ||
| 248 | }, | ||
| 249 | { | ||
| 250 | "CheckBox": [ | ||
| 251 | { | ||
| 252 | "Property": "string" | ||
| 253 | }, | ||
| 254 | { | ||
| 255 | "Value": "string" | ||
| 256 | } | ||
| 257 | ] | ||
| 258 | }, | ||
| 259 | { | ||
| 260 | "Class": [ | ||
| 261 | { | ||
| 262 | "CLSID": "string" | ||
| 263 | }, | ||
| 264 | { | ||
| 265 | "Context": "string" | ||
| 266 | }, | ||
| 267 | { | ||
| 268 | "Component_": "string" | ||
| 269 | }, | ||
| 270 | { | ||
| 271 | "ProgId_Default": "string" | ||
| 272 | }, | ||
| 273 | { | ||
| 274 | "Description": "string" | ||
| 275 | }, | ||
| 276 | { | ||
| 277 | "AppId_": "string" | ||
| 278 | }, | ||
| 279 | { | ||
| 280 | "FileTypeMask": "string" | ||
| 281 | }, | ||
| 282 | { | ||
| 283 | "Icon_": "string" | ||
| 284 | }, | ||
| 285 | { | ||
| 286 | "IconIndex": "number" | ||
| 287 | }, | ||
| 288 | { | ||
| 289 | "DefInprocHandler": "string" | ||
| 290 | }, | ||
| 291 | { | ||
| 292 | "Argument": "string" | ||
| 293 | }, | ||
| 294 | { | ||
| 295 | "Feature_": "string" | ||
| 296 | }, | ||
| 297 | { | ||
| 298 | "Attributes": "number" | ||
| 299 | } | ||
| 300 | ] | ||
| 301 | }, | ||
| 302 | { | ||
| 303 | "ComboBox": [ | ||
| 304 | { | ||
| 305 | "Property": "string" | ||
| 306 | }, | ||
| 307 | { | ||
| 308 | "Order": "number" | ||
| 309 | }, | ||
| 310 | { | ||
| 311 | "Value": "string" | ||
| 312 | }, | ||
| 313 | { | ||
| 314 | "Text": "string" | ||
| 315 | } | ||
| 316 | ] | ||
| 317 | }, | ||
| 318 | { | ||
| 319 | "CompLocator": [ | ||
| 320 | { | ||
| 321 | "Signature_": "string" | ||
| 322 | }, | ||
| 323 | { | ||
| 324 | "ComponentId": "string" | ||
| 325 | }, | ||
| 326 | { | ||
| 327 | "Type": "number" | ||
| 328 | } | ||
| 329 | ] | ||
| 330 | }, | ||
| 331 | { | ||
| 332 | "Complus": [ | ||
| 333 | { | ||
| 334 | "Component_": "string" | ||
| 335 | }, | ||
| 336 | { | ||
| 337 | "ExpType": "number" | ||
| 338 | } | ||
| 339 | ] | ||
| 340 | }, | ||
| 341 | { | ||
| 342 | "Component": [ | ||
| 343 | { | ||
| 344 | "Component": "string" | ||
| 345 | }, | ||
| 346 | { | ||
| 347 | "ComponentId": "string" | ||
| 348 | }, | ||
| 349 | { | ||
| 350 | "Directory_": "string" | ||
| 351 | }, | ||
| 352 | { | ||
| 353 | "Attributes": "number" | ||
| 354 | }, | ||
| 355 | { | ||
| 356 | "Condition": "string" | ||
| 357 | }, | ||
| 358 | { | ||
| 359 | "KeyPath": "string" | ||
| 360 | } | ||
| 361 | ] | ||
| 362 | }, | ||
| 363 | { | ||
| 364 | "Condition": [ | ||
| 365 | { | ||
| 366 | "Feature_": "string" | ||
| 367 | }, | ||
| 368 | { | ||
| 369 | "Level": "number" | ||
| 370 | }, | ||
| 371 | { | ||
| 372 | "Condition": "string" | ||
| 373 | } | ||
| 374 | ] | ||
| 375 | }, | ||
| 376 | { | ||
| 377 | "Control": [ | ||
| 378 | { | ||
| 379 | "Dialog_": "string" | ||
| 380 | }, | ||
| 381 | { | ||
| 382 | "Control": "string" | ||
| 383 | }, | ||
| 384 | { | ||
| 385 | "Type": "string" | ||
| 386 | }, | ||
| 387 | { | ||
| 388 | "X": "number" | ||
| 389 | }, | ||
| 390 | { | ||
| 391 | "Y": "number" | ||
| 392 | }, | ||
| 393 | { | ||
| 394 | "Width": "number" | ||
| 395 | }, | ||
| 396 | { | ||
| 397 | "Height": "number" | ||
| 398 | }, | ||
| 399 | { | ||
| 400 | "Attributes": "number" | ||
| 401 | }, | ||
| 402 | { | ||
| 403 | "Property": "string" | ||
| 404 | }, | ||
| 405 | { | ||
| 406 | "Text": "string" | ||
| 407 | }, | ||
| 408 | { | ||
| 409 | "Control_Next": "string" | ||
| 410 | }, | ||
| 411 | { | ||
| 412 | "Help": "string" | ||
| 413 | } | ||
| 414 | ] | ||
| 415 | }, | ||
| 416 | { | ||
| 417 | "ControlCondition": [ | ||
| 418 | { | ||
| 419 | "Dialog_": "string" | ||
| 420 | }, | ||
| 421 | { | ||
| 422 | "Control_": "string" | ||
| 423 | }, | ||
| 424 | { | ||
| 425 | "Action": "string" | ||
| 426 | }, | ||
| 427 | { | ||
| 428 | "Condition": "string" | ||
| 429 | } | ||
| 430 | ] | ||
| 431 | }, | ||
| 432 | { | ||
| 433 | "ControlEvent": [ | ||
| 434 | { | ||
| 435 | "Dialog_": "string" | ||
| 436 | }, | ||
| 437 | { | ||
| 438 | "Control_": "string" | ||
| 439 | }, | ||
| 440 | { | ||
| 441 | "Event": "string" | ||
| 442 | }, | ||
| 443 | { | ||
| 444 | "Argument": "string" | ||
| 445 | }, | ||
| 446 | { | ||
| 447 | "Condition": "string" | ||
| 448 | }, | ||
| 449 | { | ||
| 450 | "Ordering": "number" | ||
| 451 | } | ||
| 452 | ] | ||
| 453 | }, | ||
| 454 | { | ||
| 455 | "CreateFolder": [ | ||
| 456 | { | ||
| 457 | "Directory_": "string" | ||
| 458 | }, | ||
| 459 | { | ||
| 460 | "Component_": "string" | ||
| 461 | } | ||
| 462 | ] | ||
| 463 | }, | ||
| 464 | { | ||
| 465 | "CustomAction": [ | ||
| 466 | { | ||
| 467 | "Action": "string" | ||
| 468 | }, | ||
| 469 | { | ||
| 470 | "Type": "number" | ||
| 471 | }, | ||
| 472 | { | ||
| 473 | "Source": "string" | ||
| 474 | }, | ||
| 475 | { | ||
| 476 | "Target": "string" | ||
| 477 | }, | ||
| 478 | { | ||
| 479 | "ExtendedType": "number" | ||
| 480 | } | ||
| 481 | ] | ||
| 482 | }, | ||
| 483 | { | ||
| 484 | "Dialog": [ | ||
| 485 | { | ||
| 486 | "Dialog": "string" | ||
| 487 | }, | ||
| 488 | { | ||
| 489 | "HCentering": "number" | ||
| 490 | }, | ||
| 491 | { | ||
| 492 | "VCentering": "number" | ||
| 493 | }, | ||
| 494 | { | ||
| 495 | "Width": "number" | ||
| 496 | }, | ||
| 497 | { | ||
| 498 | "Height": "number" | ||
| 499 | }, | ||
| 500 | { | ||
| 501 | "Attributes": "number" | ||
| 502 | }, | ||
| 503 | { | ||
| 504 | "Title": "string" | ||
| 505 | }, | ||
| 506 | { | ||
| 507 | "Control_First": "string" | ||
| 508 | }, | ||
| 509 | { | ||
| 510 | "Control_Default": "string" | ||
| 511 | }, | ||
| 512 | { | ||
| 513 | "Control_Cancel": "string" | ||
| 514 | } | ||
| 515 | ] | ||
| 516 | }, | ||
| 517 | { | ||
| 518 | "Directory": [ | ||
| 519 | { | ||
| 520 | "Directory": "string" | ||
| 521 | }, | ||
| 522 | { | ||
| 523 | "Directory_Parent": "string" | ||
| 524 | }, | ||
| 525 | { | ||
| 526 | "DefaultDir": "string" | ||
| 527 | } | ||
| 528 | ] | ||
| 529 | }, | ||
| 530 | { | ||
| 531 | "DrLocator": [ | ||
| 532 | { | ||
| 533 | "Signature_": "string" | ||
| 534 | }, | ||
| 535 | { | ||
| 536 | "Parent": "string" | ||
| 537 | }, | ||
| 538 | { | ||
| 539 | "Path": "string" | ||
| 540 | }, | ||
| 541 | { | ||
| 542 | "Depth": "number" | ||
| 543 | } | ||
| 544 | ] | ||
| 545 | }, | ||
| 546 | { | ||
| 547 | "DuplicateFile": [ | ||
| 548 | { | ||
| 549 | "FileKey": "string" | ||
| 550 | }, | ||
| 551 | { | ||
| 552 | "Component_": "string" | ||
| 553 | }, | ||
| 554 | { | ||
| 555 | "File_": "string" | ||
| 556 | }, | ||
| 557 | { | ||
| 558 | "DestName": "string" | ||
| 559 | }, | ||
| 560 | { | ||
| 561 | "DestFolder": "string" | ||
| 562 | } | ||
| 563 | ] | ||
| 564 | }, | ||
| 565 | { | ||
| 566 | "Environment": [ | ||
| 567 | { | ||
| 568 | "Environment": "string" | ||
| 569 | }, | ||
| 570 | { | ||
| 571 | "Name": "string" | ||
| 572 | }, | ||
| 573 | { | ||
| 574 | "Value": "string" | ||
| 575 | }, | ||
| 576 | { | ||
| 577 | "Component_": "string" | ||
| 578 | } | ||
| 579 | ] | ||
| 580 | }, | ||
| 581 | { | ||
| 582 | "Error": [ | ||
| 583 | { | ||
| 584 | "Error": "number" | ||
| 585 | }, | ||
| 586 | { | ||
| 587 | "Message": "string" | ||
| 588 | } | ||
| 589 | ] | ||
| 590 | }, | ||
| 591 | { | ||
| 592 | "EventMapping": [ | ||
| 593 | { | ||
| 594 | "Dialog_": "string" | ||
| 595 | }, | ||
| 596 | { | ||
| 597 | "Control_": "string" | ||
| 598 | }, | ||
| 599 | { | ||
| 600 | "Event": "string" | ||
| 601 | }, | ||
| 602 | { | ||
| 603 | "Attribute": "string" | ||
| 604 | } | ||
| 605 | ] | ||
| 606 | }, | ||
| 607 | { | ||
| 608 | "Extension": [ | ||
| 609 | { | ||
| 610 | "Extension": "string" | ||
| 611 | }, | ||
| 612 | { | ||
| 613 | "Component_": "string" | ||
| 614 | }, | ||
| 615 | { | ||
| 616 | "ProgId_": "string" | ||
| 617 | }, | ||
| 618 | { | ||
| 619 | "MIME_": "string" | ||
| 620 | }, | ||
| 621 | { | ||
| 622 | "Feature_": "string" | ||
| 623 | } | ||
| 624 | ] | ||
| 625 | }, | ||
| 626 | { | ||
| 627 | "ExternalFiles": [ | ||
| 628 | { | ||
| 629 | "Family": "string" | ||
| 630 | }, | ||
| 631 | { | ||
| 632 | "FTK": "string" | ||
| 633 | }, | ||
| 634 | { | ||
| 635 | "FilePath": "string" | ||
| 636 | }, | ||
| 637 | { | ||
| 638 | "SymbolPaths": "string" | ||
| 639 | }, | ||
| 640 | { | ||
| 641 | "IgnoreOffsets": "string" | ||
| 642 | }, | ||
| 643 | { | ||
| 644 | "IgnoreLengths": "string" | ||
| 645 | }, | ||
| 646 | { | ||
| 647 | "RetainOffsets": "string" | ||
| 648 | }, | ||
| 649 | { | ||
| 650 | "Order": "number" | ||
| 651 | } | ||
| 652 | ] | ||
| 653 | }, | ||
| 654 | { | ||
| 655 | "FamilyFileRanges": [ | ||
| 656 | { | ||
| 657 | "Family": "string" | ||
| 658 | }, | ||
| 659 | { | ||
| 660 | "FTK": "string" | ||
| 661 | }, | ||
| 662 | { | ||
| 663 | "RetainOffsets": "string" | ||
| 664 | }, | ||
| 665 | { | ||
| 666 | "RetainLengths": "string" | ||
| 667 | } | ||
| 668 | ] | ||
| 669 | }, | ||
| 670 | { | ||
| 671 | "Feature": [ | ||
| 672 | { | ||
| 673 | "Feature": "string" | ||
| 674 | }, | ||
| 675 | { | ||
| 676 | "Feature_Parent": "string" | ||
| 677 | }, | ||
| 678 | { | ||
| 679 | "Title": "string" | ||
| 680 | }, | ||
| 681 | { | ||
| 682 | "Description": "string" | ||
| 683 | }, | ||
| 684 | { | ||
| 685 | "Display": "number" | ||
| 686 | }, | ||
| 687 | { | ||
| 688 | "Level": "number" | ||
| 689 | }, | ||
| 690 | { | ||
| 691 | "Directory_": "string" | ||
| 692 | }, | ||
| 693 | { | ||
| 694 | "Attributes": "number" | ||
| 695 | } | ||
| 696 | ] | ||
| 697 | }, | ||
| 698 | { | ||
| 699 | "FeatureComponents": [ | ||
| 700 | { | ||
| 701 | "Feature_": "string" | ||
| 702 | }, | ||
| 703 | { | ||
| 704 | "Component_": "string" | ||
| 705 | } | ||
| 706 | ] | ||
| 707 | }, | ||
| 708 | { | ||
| 709 | "File": [ | ||
| 710 | { | ||
| 711 | "File": "string" | ||
| 712 | }, | ||
| 713 | { | ||
| 714 | "Component_": "string" | ||
| 715 | }, | ||
| 716 | { | ||
| 717 | "FileName": "string" | ||
| 718 | }, | ||
| 719 | { | ||
| 720 | "FileSize": "number" | ||
| 721 | }, | ||
| 722 | { | ||
| 723 | "Version": "string" | ||
| 724 | }, | ||
| 725 | { | ||
| 726 | "Language": "string" | ||
| 727 | }, | ||
| 728 | { | ||
| 729 | "Attributes": "number" | ||
| 730 | }, | ||
| 731 | { | ||
| 732 | "Sequence": "number" | ||
| 733 | } | ||
| 734 | ] | ||
| 735 | }, | ||
| 736 | { | ||
| 737 | "FileSFPCatalog": [ | ||
| 738 | { | ||
| 739 | "File_": "string" | ||
| 740 | }, | ||
| 741 | { | ||
| 742 | "SFPCatalog_": "string" | ||
| 743 | } | ||
| 744 | ] | ||
| 745 | }, | ||
| 746 | { | ||
| 747 | "Font": [ | ||
| 748 | { | ||
| 749 | "File_": "string" | ||
| 750 | }, | ||
| 751 | { | ||
| 752 | "FontTitle": "string" | ||
| 753 | } | ||
| 754 | ] | ||
| 755 | }, | ||
| 756 | { | ||
| 757 | "Icon": [ | ||
| 758 | { | ||
| 759 | "Name": "string" | ||
| 760 | }, | ||
| 761 | { | ||
| 762 | "Data": "path" | ||
| 763 | } | ||
| 764 | ] | ||
| 765 | }, | ||
| 766 | { | ||
| 767 | "ImageFamilies": [ | ||
| 768 | { | ||
| 769 | "Family": "string" | ||
| 770 | }, | ||
| 771 | { | ||
| 772 | "MediaSrcPropName": "string" | ||
| 773 | }, | ||
| 774 | { | ||
| 775 | "MediaDiskId": "number" | ||
| 776 | }, | ||
| 777 | { | ||
| 778 | "FileSequenceStart": "number" | ||
| 779 | }, | ||
| 780 | { | ||
| 781 | "DiskPrompt": "string" | ||
| 782 | }, | ||
| 783 | { | ||
| 784 | "VolumeLabel": "string" | ||
| 785 | } | ||
| 786 | ] | ||
| 787 | }, | ||
| 788 | { | ||
| 789 | "IniFile": [ | ||
| 790 | { | ||
| 791 | "IniFile": "string" | ||
| 792 | }, | ||
| 793 | { | ||
| 794 | "FileName": "string" | ||
| 795 | }, | ||
| 796 | { | ||
| 797 | "DirProperty": "string" | ||
| 798 | }, | ||
| 799 | { | ||
| 800 | "Section": "string" | ||
| 801 | }, | ||
| 802 | { | ||
| 803 | "Key": "string" | ||
| 804 | }, | ||
| 805 | { | ||
| 806 | "Value": "string" | ||
| 807 | }, | ||
| 808 | { | ||
| 809 | "Action": "number" | ||
| 810 | }, | ||
| 811 | { | ||
| 812 | "Component_": "string" | ||
| 813 | } | ||
| 814 | ] | ||
| 815 | }, | ||
| 816 | { | ||
| 817 | "IniLocator": [ | ||
| 818 | { | ||
| 819 | "Signature_": "string" | ||
| 820 | }, | ||
| 821 | { | ||
| 822 | "FileName": "string" | ||
| 823 | }, | ||
| 824 | { | ||
| 825 | "Section": "string" | ||
| 826 | }, | ||
| 827 | { | ||
| 828 | "Key": "string" | ||
| 829 | }, | ||
| 830 | { | ||
| 831 | "Field": "number" | ||
| 832 | }, | ||
| 833 | { | ||
| 834 | "Type": "number" | ||
| 835 | } | ||
| 836 | ] | ||
| 837 | }, | ||
| 838 | { | ||
| 839 | "InstallExecuteSequence": [ | ||
| 840 | { | ||
| 841 | "Action": "string" | ||
| 842 | }, | ||
| 843 | { | ||
| 844 | "Condition": "string" | ||
| 845 | }, | ||
| 846 | { | ||
| 847 | "Sequence": "number" | ||
| 848 | } | ||
| 849 | ] | ||
| 850 | }, | ||
| 851 | { | ||
| 852 | "InstallUISequence": [ | ||
| 853 | { | ||
| 854 | "Action": "string" | ||
| 855 | }, | ||
| 856 | { | ||
| 857 | "Condition": "string" | ||
| 858 | }, | ||
| 859 | { | ||
| 860 | "Sequence": "number" | ||
| 861 | } | ||
| 862 | ] | ||
| 863 | }, | ||
| 864 | { | ||
| 865 | "IsolatedComponent": [ | ||
| 866 | { | ||
| 867 | "Component_Shared": "string" | ||
| 868 | }, | ||
| 869 | { | ||
| 870 | "Component_Application": "string" | ||
| 871 | } | ||
| 872 | ] | ||
| 873 | }, | ||
| 874 | { | ||
| 875 | "LaunchCondition": [ | ||
| 876 | { | ||
| 877 | "Condition": "string" | ||
| 878 | }, | ||
| 879 | { | ||
| 880 | "Description": "string" | ||
| 881 | } | ||
| 882 | ] | ||
| 883 | }, | ||
| 884 | { | ||
| 885 | "ListBox": [ | ||
| 886 | { | ||
| 887 | "Property": "string" | ||
| 888 | }, | ||
| 889 | { | ||
| 890 | "Order": "number" | ||
| 891 | }, | ||
| 892 | { | ||
| 893 | "Value": "string" | ||
| 894 | }, | ||
| 895 | { | ||
| 896 | "Text": "string" | ||
| 897 | } | ||
| 898 | ] | ||
| 899 | }, | ||
| 900 | { | ||
| 901 | "ListView": [ | ||
| 902 | { | ||
| 903 | "Property": "string" | ||
| 904 | }, | ||
| 905 | { | ||
| 906 | "Order": "number" | ||
| 907 | }, | ||
| 908 | { | ||
| 909 | "Value": "string" | ||
| 910 | }, | ||
| 911 | { | ||
| 912 | "Text": "string" | ||
| 913 | }, | ||
| 914 | { | ||
| 915 | "Binary_": "string" | ||
| 916 | } | ||
| 917 | ] | ||
| 918 | }, | ||
| 919 | { | ||
| 920 | "LockPermissions": [ | ||
| 921 | { | ||
| 922 | "LockObject": "string" | ||
| 923 | }, | ||
| 924 | { | ||
| 925 | "Table": "string" | ||
| 926 | }, | ||
| 927 | { | ||
| 928 | "Domain": "string" | ||
| 929 | }, | ||
| 930 | { | ||
| 931 | "User": "string" | ||
| 932 | }, | ||
| 933 | { | ||
| 934 | "Permission": "number" | ||
| 935 | } | ||
| 936 | ] | ||
| 937 | }, | ||
| 938 | { | ||
| 939 | "Media": [ | ||
| 940 | { | ||
| 941 | "DiskId": "number" | ||
| 942 | }, | ||
| 943 | { | ||
| 944 | "LastSequence": "number" | ||
| 945 | }, | ||
| 946 | { | ||
| 947 | "DiskPrompt": "string" | ||
| 948 | }, | ||
| 949 | { | ||
| 950 | "Cabinet": "string" | ||
| 951 | }, | ||
| 952 | { | ||
| 953 | "VolumeLabel": "string" | ||
| 954 | }, | ||
| 955 | { | ||
| 956 | "Source": "string" | ||
| 957 | } | ||
| 958 | ] | ||
| 959 | }, | ||
| 960 | { | ||
| 961 | "MIME": [ | ||
| 962 | { | ||
| 963 | "ContentType": "string" | ||
| 964 | }, | ||
| 965 | { | ||
| 966 | "Extension_": "string" | ||
| 967 | }, | ||
| 968 | { | ||
| 969 | "CLSID": "string" | ||
| 970 | } | ||
| 971 | ] | ||
| 972 | }, | ||
| 973 | { | ||
| 974 | "ModuleAdminExecuteSequence": [ | ||
| 975 | { | ||
| 976 | "Action": "string" | ||
| 977 | }, | ||
| 978 | { | ||
| 979 | "Sequence": "number" | ||
| 980 | }, | ||
| 981 | { | ||
| 982 | "BaseAction": "string" | ||
| 983 | }, | ||
| 984 | { | ||
| 985 | "After": "number" | ||
| 986 | }, | ||
| 987 | { | ||
| 988 | "Condition": "string" | ||
| 989 | } | ||
| 990 | ] | ||
| 991 | }, | ||
| 992 | { | ||
| 993 | "ModuleAdminUISequence": [ | ||
| 994 | { | ||
| 995 | "Action": "string" | ||
| 996 | }, | ||
| 997 | { | ||
| 998 | "Sequence": "number" | ||
| 999 | }, | ||
| 1000 | { | ||
| 1001 | "BaseAction": "string" | ||
| 1002 | }, | ||
| 1003 | { | ||
| 1004 | "After": "number" | ||
| 1005 | }, | ||
| 1006 | { | ||
| 1007 | "Condition": "string" | ||
| 1008 | } | ||
| 1009 | ] | ||
| 1010 | }, | ||
| 1011 | { | ||
| 1012 | "ModuleAdvtExecuteSequence": [ | ||
| 1013 | { | ||
| 1014 | "Action": "string" | ||
| 1015 | }, | ||
| 1016 | { | ||
| 1017 | "Sequence": "number" | ||
| 1018 | }, | ||
| 1019 | { | ||
| 1020 | "BaseAction": "string" | ||
| 1021 | }, | ||
| 1022 | { | ||
| 1023 | "After": "number" | ||
| 1024 | }, | ||
| 1025 | { | ||
| 1026 | "Condition": "string" | ||
| 1027 | } | ||
| 1028 | ] | ||
| 1029 | }, | ||
| 1030 | { | ||
| 1031 | "ModuleAdvtUISequence": [ | ||
| 1032 | { | ||
| 1033 | "Action": "string" | ||
| 1034 | }, | ||
| 1035 | { | ||
| 1036 | "Sequence": "number" | ||
| 1037 | }, | ||
| 1038 | { | ||
| 1039 | "BaseAction": "string" | ||
| 1040 | }, | ||
| 1041 | { | ||
| 1042 | "After": "number" | ||
| 1043 | }, | ||
| 1044 | { | ||
| 1045 | "Condition": "string" | ||
| 1046 | } | ||
| 1047 | ] | ||
| 1048 | }, | ||
| 1049 | { | ||
| 1050 | "ModuleComponents": [ | ||
| 1051 | { | ||
| 1052 | "Component": "string" | ||
| 1053 | }, | ||
| 1054 | { | ||
| 1055 | "ModuleID": "string" | ||
| 1056 | }, | ||
| 1057 | { | ||
| 1058 | "Language": "number" | ||
| 1059 | } | ||
| 1060 | ] | ||
| 1061 | }, | ||
| 1062 | { | ||
| 1063 | "ModuleConfiguration": [ | ||
| 1064 | { | ||
| 1065 | "Name": "string" | ||
| 1066 | }, | ||
| 1067 | { | ||
| 1068 | "Format": "number" | ||
| 1069 | }, | ||
| 1070 | { | ||
| 1071 | "Type": "string" | ||
| 1072 | }, | ||
| 1073 | { | ||
| 1074 | "ContextData": "string" | ||
| 1075 | }, | ||
| 1076 | { | ||
| 1077 | "DefaultValue": "string" | ||
| 1078 | }, | ||
| 1079 | { | ||
| 1080 | "Attributes": "number" | ||
| 1081 | }, | ||
| 1082 | { | ||
| 1083 | "DisplayName": "string" | ||
| 1084 | }, | ||
| 1085 | { | ||
| 1086 | "Description": "string" | ||
| 1087 | }, | ||
| 1088 | { | ||
| 1089 | "HelpLocation": "string" | ||
| 1090 | }, | ||
| 1091 | { | ||
| 1092 | "HelpKeyword": "string" | ||
| 1093 | } | ||
| 1094 | ] | ||
| 1095 | }, | ||
| 1096 | { | ||
| 1097 | "ModuleDependency": [ | ||
| 1098 | { | ||
| 1099 | "ModuleID": "string" | ||
| 1100 | }, | ||
| 1101 | { | ||
| 1102 | "ModuleLanguage": "number" | ||
| 1103 | }, | ||
| 1104 | { | ||
| 1105 | "RequiredID": "string" | ||
| 1106 | }, | ||
| 1107 | { | ||
| 1108 | "RequiredLanguage": "number" | ||
| 1109 | }, | ||
| 1110 | { | ||
| 1111 | "RequiredVersion": "string" | ||
| 1112 | } | ||
| 1113 | ] | ||
| 1114 | }, | ||
| 1115 | { | ||
| 1116 | "ModuleExclusion": [ | ||
| 1117 | { | ||
| 1118 | "ModuleID": "string" | ||
| 1119 | }, | ||
| 1120 | { | ||
| 1121 | "ModuleLanguage": "number" | ||
| 1122 | }, | ||
| 1123 | { | ||
| 1124 | "ExcludedID": "string" | ||
| 1125 | }, | ||
| 1126 | { | ||
| 1127 | "ExcludedLanguage": "number" | ||
| 1128 | }, | ||
| 1129 | { | ||
| 1130 | "ExcludedMinVersion": "string" | ||
| 1131 | }, | ||
| 1132 | { | ||
| 1133 | "ExcludedMaxVersion": "string" | ||
| 1134 | } | ||
| 1135 | ] | ||
| 1136 | }, | ||
| 1137 | { | ||
| 1138 | "ModuleIgnoreTable": [ | ||
| 1139 | { | ||
| 1140 | "Table": "string" | ||
| 1141 | } | ||
| 1142 | ] | ||
| 1143 | }, | ||
| 1144 | { | ||
| 1145 | "ModuleInstallExecuteSequence": [ | ||
| 1146 | { | ||
| 1147 | "Action": "string" | ||
| 1148 | }, | ||
| 1149 | { | ||
| 1150 | "Sequence": "number" | ||
| 1151 | }, | ||
| 1152 | { | ||
| 1153 | "BaseAction": "string" | ||
| 1154 | }, | ||
| 1155 | { | ||
| 1156 | "After": "number" | ||
| 1157 | }, | ||
| 1158 | { | ||
| 1159 | "Condition": "string" | ||
| 1160 | } | ||
| 1161 | ] | ||
| 1162 | }, | ||
| 1163 | { | ||
| 1164 | "ModuleInstallUISequence": [ | ||
| 1165 | { | ||
| 1166 | "Action": "string" | ||
| 1167 | }, | ||
| 1168 | { | ||
| 1169 | "Sequence": "number" | ||
| 1170 | }, | ||
| 1171 | { | ||
| 1172 | "BaseAction": "string" | ||
| 1173 | }, | ||
| 1174 | { | ||
| 1175 | "After": "number" | ||
| 1176 | }, | ||
| 1177 | { | ||
| 1178 | "Condition": "string" | ||
| 1179 | } | ||
| 1180 | ] | ||
| 1181 | }, | ||
| 1182 | { | ||
| 1183 | "ModuleSignature": [ | ||
| 1184 | { | ||
| 1185 | "ModuleID": "string" | ||
| 1186 | }, | ||
| 1187 | { | ||
| 1188 | "Language": "number" | ||
| 1189 | }, | ||
| 1190 | { | ||
| 1191 | "Version": "string" | ||
| 1192 | } | ||
| 1193 | ] | ||
| 1194 | }, | ||
| 1195 | { | ||
| 1196 | "ModuleSubstitution": [ | ||
| 1197 | { | ||
| 1198 | "Table": "string" | ||
| 1199 | }, | ||
| 1200 | { | ||
| 1201 | "Row": "string" | ||
| 1202 | }, | ||
| 1203 | { | ||
| 1204 | "Column": "string" | ||
| 1205 | }, | ||
| 1206 | { | ||
| 1207 | "Value": "string" | ||
| 1208 | } | ||
| 1209 | ] | ||
| 1210 | }, | ||
| 1211 | { | ||
| 1212 | "MoveFile": [ | ||
| 1213 | { | ||
| 1214 | "FileKey": "string" | ||
| 1215 | }, | ||
| 1216 | { | ||
| 1217 | "Component_": "string" | ||
| 1218 | }, | ||
| 1219 | { | ||
| 1220 | "SourceName": "string" | ||
| 1221 | }, | ||
| 1222 | { | ||
| 1223 | "DestName": "string" | ||
| 1224 | }, | ||
| 1225 | { | ||
| 1226 | "SourceFolder": "string" | ||
| 1227 | }, | ||
| 1228 | { | ||
| 1229 | "DestFolder": "string" | ||
| 1230 | }, | ||
| 1231 | { | ||
| 1232 | "Options": "number" | ||
| 1233 | } | ||
| 1234 | ] | ||
| 1235 | }, | ||
| 1236 | { | ||
| 1237 | "MsiAssembly": [ | ||
| 1238 | { | ||
| 1239 | "Component_": "string" | ||
| 1240 | }, | ||
| 1241 | { | ||
| 1242 | "Feature_": "string" | ||
| 1243 | }, | ||
| 1244 | { | ||
| 1245 | "File_Manifest": "string" | ||
| 1246 | }, | ||
| 1247 | { | ||
| 1248 | "File_Application": "string" | ||
| 1249 | }, | ||
| 1250 | { | ||
| 1251 | "Attributes": "number" | ||
| 1252 | } | ||
| 1253 | ] | ||
| 1254 | }, | ||
| 1255 | { | ||
| 1256 | "MsiAssemblyName": [ | ||
| 1257 | { | ||
| 1258 | "Component_": "string" | ||
| 1259 | }, | ||
| 1260 | { | ||
| 1261 | "Name": "string" | ||
| 1262 | }, | ||
| 1263 | { | ||
| 1264 | "Value": "string" | ||
| 1265 | } | ||
| 1266 | ] | ||
| 1267 | }, | ||
| 1268 | { | ||
| 1269 | "MsiDigitalCertificate": [ | ||
| 1270 | { | ||
| 1271 | "DigitalCertificate": "string" | ||
| 1272 | }, | ||
| 1273 | { | ||
| 1274 | "CertData": "path" | ||
| 1275 | } | ||
| 1276 | ] | ||
| 1277 | }, | ||
| 1278 | { | ||
| 1279 | "MsiDigitalSignature": [ | ||
| 1280 | { | ||
| 1281 | "Table": "string" | ||
| 1282 | }, | ||
| 1283 | { | ||
| 1284 | "SignObject": "string" | ||
| 1285 | }, | ||
| 1286 | { | ||
| 1287 | "DigitalCertificate_": "string" | ||
| 1288 | }, | ||
| 1289 | { | ||
| 1290 | "Hash": "path" | ||
| 1291 | } | ||
| 1292 | ] | ||
| 1293 | }, | ||
| 1294 | { | ||
| 1295 | "MsiEmbeddedChainer": [ | ||
| 1296 | { | ||
| 1297 | "MsiEmbeddedChainer": "string" | ||
| 1298 | }, | ||
| 1299 | { | ||
| 1300 | "Condition": "string" | ||
| 1301 | }, | ||
| 1302 | { | ||
| 1303 | "CommandLine": "string" | ||
| 1304 | }, | ||
| 1305 | { | ||
| 1306 | "Source": "string" | ||
| 1307 | }, | ||
| 1308 | { | ||
| 1309 | "Type": "number" | ||
| 1310 | } | ||
| 1311 | ] | ||
| 1312 | }, | ||
| 1313 | { | ||
| 1314 | "MsiEmbeddedUI": [ | ||
| 1315 | { | ||
| 1316 | "MsiEmbeddedUI": "string" | ||
| 1317 | }, | ||
| 1318 | { | ||
| 1319 | "FileName": "string" | ||
| 1320 | }, | ||
| 1321 | { | ||
| 1322 | "Attributes": "number" | ||
| 1323 | }, | ||
| 1324 | { | ||
| 1325 | "MessageFilter": "number" | ||
| 1326 | }, | ||
| 1327 | { | ||
| 1328 | "Data": "path" | ||
| 1329 | } | ||
| 1330 | ] | ||
| 1331 | }, | ||
| 1332 | { | ||
| 1333 | "MsiFileHash": [ | ||
| 1334 | { | ||
| 1335 | "File_": "string" | ||
| 1336 | }, | ||
| 1337 | { | ||
| 1338 | "Options": "number" | ||
| 1339 | }, | ||
| 1340 | { | ||
| 1341 | "HashPart1": "number" | ||
| 1342 | }, | ||
| 1343 | { | ||
| 1344 | "HashPart2": "number" | ||
| 1345 | }, | ||
| 1346 | { | ||
| 1347 | "HashPart3": "number" | ||
| 1348 | }, | ||
| 1349 | { | ||
| 1350 | "HashPart4": "number" | ||
| 1351 | } | ||
| 1352 | ] | ||
| 1353 | }, | ||
| 1354 | { | ||
| 1355 | "MsiLockPermissionsEx": [ | ||
| 1356 | { | ||
| 1357 | "MsiLockPermissionsEx": "string" | ||
| 1358 | }, | ||
| 1359 | { | ||
| 1360 | "LockObject": "string" | ||
| 1361 | }, | ||
| 1362 | { | ||
| 1363 | "Table": "string" | ||
| 1364 | }, | ||
| 1365 | { | ||
| 1366 | "SDDLText": "string" | ||
| 1367 | }, | ||
| 1368 | { | ||
| 1369 | "Condition": "string" | ||
| 1370 | } | ||
| 1371 | ] | ||
| 1372 | }, | ||
| 1373 | { | ||
| 1374 | "MsiPackageCertificate": [ | ||
| 1375 | { | ||
| 1376 | "PackageCertificate": "string" | ||
| 1377 | }, | ||
| 1378 | { | ||
| 1379 | "DigitalCertificate_": "string" | ||
| 1380 | } | ||
| 1381 | ] | ||
| 1382 | }, | ||
| 1383 | { | ||
| 1384 | "MsiPatchCertificate": [ | ||
| 1385 | { | ||
| 1386 | "PatchCertificate": "string" | ||
| 1387 | }, | ||
| 1388 | { | ||
| 1389 | "DigitalCertificate_": "string" | ||
| 1390 | } | ||
| 1391 | ] | ||
| 1392 | }, | ||
| 1393 | { | ||
| 1394 | "MsiPatchHeaders": [ | ||
| 1395 | { | ||
| 1396 | "StreamRef": "string" | ||
| 1397 | }, | ||
| 1398 | { | ||
| 1399 | "Header": "path" | ||
| 1400 | } | ||
| 1401 | ] | ||
| 1402 | }, | ||
| 1403 | { | ||
| 1404 | "MsiPatchMetadata": [ | ||
| 1405 | { | ||
| 1406 | "Company": "string" | ||
| 1407 | }, | ||
| 1408 | { | ||
| 1409 | "Property": "string" | ||
| 1410 | }, | ||
| 1411 | { | ||
| 1412 | "Value": "string" | ||
| 1413 | } | ||
| 1414 | ] | ||
| 1415 | }, | ||
| 1416 | { | ||
| 1417 | "MsiPatchOldAssemblyFile": [ | ||
| 1418 | { | ||
| 1419 | "File_": "string" | ||
| 1420 | }, | ||
| 1421 | { | ||
| 1422 | "Assembly_": "string" | ||
| 1423 | } | ||
| 1424 | ] | ||
| 1425 | }, | ||
| 1426 | { | ||
| 1427 | "MsiPatchOldAssemblyName": [ | ||
| 1428 | { | ||
| 1429 | "Assembly": "string" | ||
| 1430 | }, | ||
| 1431 | { | ||
| 1432 | "Name": "string" | ||
| 1433 | }, | ||
| 1434 | { | ||
| 1435 | "Value": "string" | ||
| 1436 | } | ||
| 1437 | ] | ||
| 1438 | }, | ||
| 1439 | { | ||
| 1440 | "MsiPatchSequence": [ | ||
| 1441 | { | ||
| 1442 | "PatchFamily": "string" | ||
| 1443 | }, | ||
| 1444 | { | ||
| 1445 | "ProductCode": "string" | ||
| 1446 | }, | ||
| 1447 | { | ||
| 1448 | "Sequence": "string" | ||
| 1449 | }, | ||
| 1450 | { | ||
| 1451 | "Attributes": "number" | ||
| 1452 | } | ||
| 1453 | ] | ||
| 1454 | }, | ||
| 1455 | { | ||
| 1456 | "MsiServiceConfig": [ | ||
| 1457 | { | ||
| 1458 | "MsiServiceConfig": "string" | ||
| 1459 | }, | ||
| 1460 | { | ||
| 1461 | "Name": "string" | ||
| 1462 | }, | ||
| 1463 | { | ||
| 1464 | "Event": "number" | ||
| 1465 | }, | ||
| 1466 | { | ||
| 1467 | "ConfigType": "number" | ||
| 1468 | }, | ||
| 1469 | { | ||
| 1470 | "Argument": "string" | ||
| 1471 | }, | ||
| 1472 | { | ||
| 1473 | "Component_": "string" | ||
| 1474 | } | ||
| 1475 | ] | ||
| 1476 | }, | ||
| 1477 | { | ||
| 1478 | "MsiServiceConfigFailureActions": [ | ||
| 1479 | { | ||
| 1480 | "MsiServiceConfigFailureActions": "string" | ||
| 1481 | }, | ||
| 1482 | { | ||
| 1483 | "Name": "string" | ||
| 1484 | }, | ||
| 1485 | { | ||
| 1486 | "Event": "number" | ||
| 1487 | }, | ||
| 1488 | { | ||
| 1489 | "ResetPeriod": "number" | ||
| 1490 | }, | ||
| 1491 | { | ||
| 1492 | "RebootMessage": "string" | ||
| 1493 | }, | ||
| 1494 | { | ||
| 1495 | "Command": "string" | ||
| 1496 | }, | ||
| 1497 | { | ||
| 1498 | "Actions": "string" | ||
| 1499 | }, | ||
| 1500 | { | ||
| 1501 | "DelayActions": "string" | ||
| 1502 | }, | ||
| 1503 | { | ||
| 1504 | "Component_": "string" | ||
| 1505 | } | ||
| 1506 | ] | ||
| 1507 | }, | ||
| 1508 | { | ||
| 1509 | "MsiShortcutProperty": [ | ||
| 1510 | { | ||
| 1511 | "MsiShortcutProperty": "string" | ||
| 1512 | }, | ||
| 1513 | { | ||
| 1514 | "Shortcut_": "string" | ||
| 1515 | }, | ||
| 1516 | { | ||
| 1517 | "PropertyKey": "string" | ||
| 1518 | }, | ||
| 1519 | { | ||
| 1520 | "PropVariantValue": "string" | ||
| 1521 | } | ||
| 1522 | ] | ||
| 1523 | }, | ||
| 1524 | { | ||
| 1525 | "ODBCAttribute": [ | ||
| 1526 | { | ||
| 1527 | "Driver_": "string" | ||
| 1528 | }, | ||
| 1529 | { | ||
| 1530 | "Attribute": "string" | ||
| 1531 | }, | ||
| 1532 | { | ||
| 1533 | "Value": "string" | ||
| 1534 | } | ||
| 1535 | ] | ||
| 1536 | }, | ||
| 1537 | { | ||
| 1538 | "ODBCDataSource": [ | ||
| 1539 | { | ||
| 1540 | "DataSource": "string" | ||
| 1541 | }, | ||
| 1542 | { | ||
| 1543 | "Component_": "string" | ||
| 1544 | }, | ||
| 1545 | { | ||
| 1546 | "Description": "string" | ||
| 1547 | }, | ||
| 1548 | { | ||
| 1549 | "DriverDescription": "string" | ||
| 1550 | }, | ||
| 1551 | { | ||
| 1552 | "Registration": "number" | ||
| 1553 | } | ||
| 1554 | ] | ||
| 1555 | }, | ||
| 1556 | { | ||
| 1557 | "ODBCDriver": [ | ||
| 1558 | { | ||
| 1559 | "Driver": "string" | ||
| 1560 | }, | ||
| 1561 | { | ||
| 1562 | "Component_": "string" | ||
| 1563 | }, | ||
| 1564 | { | ||
| 1565 | "Description": "string" | ||
| 1566 | }, | ||
| 1567 | { | ||
| 1568 | "File_": "string" | ||
| 1569 | }, | ||
| 1570 | { | ||
| 1571 | "File_Setup": "string" | ||
| 1572 | } | ||
| 1573 | ] | ||
| 1574 | }, | ||
| 1575 | { | ||
| 1576 | "ODBCSourceAttribute": [ | ||
| 1577 | { | ||
| 1578 | "DataSource_": "string" | ||
| 1579 | }, | ||
| 1580 | { | ||
| 1581 | "Attribute": "string" | ||
| 1582 | }, | ||
| 1583 | { | ||
| 1584 | "Value": "string" | ||
| 1585 | } | ||
| 1586 | ] | ||
| 1587 | }, | ||
| 1588 | { | ||
| 1589 | "ODBCTranslator": [ | ||
| 1590 | { | ||
| 1591 | "Translator": "string" | ||
| 1592 | }, | ||
| 1593 | { | ||
| 1594 | "Component_": "string" | ||
| 1595 | }, | ||
| 1596 | { | ||
| 1597 | "Description": "string" | ||
| 1598 | }, | ||
| 1599 | { | ||
| 1600 | "File_": "string" | ||
| 1601 | }, | ||
| 1602 | { | ||
| 1603 | "File_Setup": "string" | ||
| 1604 | } | ||
| 1605 | ] | ||
| 1606 | }, | ||
| 1607 | { | ||
| 1608 | "Patch": [ | ||
| 1609 | { | ||
| 1610 | "File_": "string" | ||
| 1611 | }, | ||
| 1612 | { | ||
| 1613 | "Sequence": "number" | ||
| 1614 | }, | ||
| 1615 | { | ||
| 1616 | "PatchSize": "number" | ||
| 1617 | }, | ||
| 1618 | { | ||
| 1619 | "Attributes": "number" | ||
| 1620 | }, | ||
| 1621 | { | ||
| 1622 | "Header": "path" | ||
| 1623 | }, | ||
| 1624 | { | ||
| 1625 | "StreamRef_": "string" | ||
| 1626 | } | ||
| 1627 | ] | ||
| 1628 | }, | ||
| 1629 | { | ||
| 1630 | "PatchMetadata": [ | ||
| 1631 | { | ||
| 1632 | "Company": "string" | ||
| 1633 | }, | ||
| 1634 | { | ||
| 1635 | "Property": "string" | ||
| 1636 | }, | ||
| 1637 | { | ||
| 1638 | "Value": "string" | ||
| 1639 | } | ||
| 1640 | ] | ||
| 1641 | }, | ||
| 1642 | { | ||
| 1643 | "PatchPackage": [ | ||
| 1644 | { | ||
| 1645 | "PatchId": "string" | ||
| 1646 | }, | ||
| 1647 | { | ||
| 1648 | "Media_": "number" | ||
| 1649 | } | ||
| 1650 | ] | ||
| 1651 | }, | ||
| 1652 | { | ||
| 1653 | "PatchSequence": [ | ||
| 1654 | { | ||
| 1655 | "PatchFamily": "string" | ||
| 1656 | }, | ||
| 1657 | { | ||
| 1658 | "Target": "string" | ||
| 1659 | }, | ||
| 1660 | { | ||
| 1661 | "Sequence": "string" | ||
| 1662 | }, | ||
| 1663 | { | ||
| 1664 | "Supersede": "number" | ||
| 1665 | } | ||
| 1666 | ] | ||
| 1667 | }, | ||
| 1668 | { | ||
| 1669 | "ProgId": [ | ||
| 1670 | { | ||
| 1671 | "ProgId": "string" | ||
| 1672 | }, | ||
| 1673 | { | ||
| 1674 | "ProgId_Parent": "string" | ||
| 1675 | }, | ||
| 1676 | { | ||
| 1677 | "Class_": "string" | ||
| 1678 | }, | ||
| 1679 | { | ||
| 1680 | "Description": "string" | ||
| 1681 | }, | ||
| 1682 | { | ||
| 1683 | "Icon_": "string" | ||
| 1684 | }, | ||
| 1685 | { | ||
| 1686 | "IconIndex": "number" | ||
| 1687 | } | ||
| 1688 | ] | ||
| 1689 | }, | ||
| 1690 | { | ||
| 1691 | "Properties": [ | ||
| 1692 | { | ||
| 1693 | "Name": "string" | ||
| 1694 | }, | ||
| 1695 | { | ||
| 1696 | "Value": "string" | ||
| 1697 | } | ||
| 1698 | ] | ||
| 1699 | }, | ||
| 1700 | { | ||
| 1701 | "Property": [ | ||
| 1702 | { | ||
| 1703 | "Property": "string" | ||
| 1704 | }, | ||
| 1705 | { | ||
| 1706 | "Value": "string" | ||
| 1707 | } | ||
| 1708 | ] | ||
| 1709 | }, | ||
| 1710 | { | ||
| 1711 | "PublishComponent": [ | ||
| 1712 | { | ||
| 1713 | "ComponentId": "string" | ||
| 1714 | }, | ||
| 1715 | { | ||
| 1716 | "Qualifier": "string" | ||
| 1717 | }, | ||
| 1718 | { | ||
| 1719 | "Component_": "string" | ||
| 1720 | }, | ||
| 1721 | { | ||
| 1722 | "AppData": "string" | ||
| 1723 | }, | ||
| 1724 | { | ||
| 1725 | "Feature_": "string" | ||
| 1726 | } | ||
| 1727 | ] | ||
| 1728 | }, | ||
| 1729 | { | ||
| 1730 | "RadioButton": [ | ||
| 1731 | { | ||
| 1732 | "Property": "string" | ||
| 1733 | }, | ||
| 1734 | { | ||
| 1735 | "Order": "number" | ||
| 1736 | }, | ||
| 1737 | { | ||
| 1738 | "Value": "string" | ||
| 1739 | }, | ||
| 1740 | { | ||
| 1741 | "X": "number" | ||
| 1742 | }, | ||
| 1743 | { | ||
| 1744 | "Y": "number" | ||
| 1745 | }, | ||
| 1746 | { | ||
| 1747 | "Width": "number" | ||
| 1748 | }, | ||
| 1749 | { | ||
| 1750 | "Height": "number" | ||
| 1751 | }, | ||
| 1752 | { | ||
| 1753 | "Text": "string" | ||
| 1754 | }, | ||
| 1755 | { | ||
| 1756 | "Help": "string" | ||
| 1757 | } | ||
| 1758 | ] | ||
| 1759 | }, | ||
| 1760 | { | ||
| 1761 | "Registry": [ | ||
| 1762 | { | ||
| 1763 | "Registry": "string" | ||
| 1764 | }, | ||
| 1765 | { | ||
| 1766 | "Root": "number" | ||
| 1767 | }, | ||
| 1768 | { | ||
| 1769 | "Key": "string" | ||
| 1770 | }, | ||
| 1771 | { | ||
| 1772 | "Name": "string" | ||
| 1773 | }, | ||
| 1774 | { | ||
| 1775 | "Value": "string" | ||
| 1776 | }, | ||
| 1777 | { | ||
| 1778 | "Component_": "string" | ||
| 1779 | } | ||
| 1780 | ] | ||
| 1781 | }, | ||
| 1782 | { | ||
| 1783 | "RegLocator": [ | ||
| 1784 | { | ||
| 1785 | "Signature_": "string" | ||
| 1786 | }, | ||
| 1787 | { | ||
| 1788 | "Root": "number" | ||
| 1789 | }, | ||
| 1790 | { | ||
| 1791 | "Key": "string" | ||
| 1792 | }, | ||
| 1793 | { | ||
| 1794 | "Name": "string" | ||
| 1795 | }, | ||
| 1796 | { | ||
| 1797 | "Type": "number" | ||
| 1798 | } | ||
| 1799 | ] | ||
| 1800 | }, | ||
| 1801 | { | ||
| 1802 | "RemoveFile": [ | ||
| 1803 | { | ||
| 1804 | "FileKey": "string" | ||
| 1805 | }, | ||
| 1806 | { | ||
| 1807 | "Component_": "string" | ||
| 1808 | }, | ||
| 1809 | { | ||
| 1810 | "FileName": "string" | ||
| 1811 | }, | ||
| 1812 | { | ||
| 1813 | "DirProperty": "string" | ||
| 1814 | }, | ||
| 1815 | { | ||
| 1816 | "InstallMode": "number" | ||
| 1817 | } | ||
| 1818 | ] | ||
| 1819 | }, | ||
| 1820 | { | ||
| 1821 | "RemoveIniFile": [ | ||
| 1822 | { | ||
| 1823 | "RemoveIniFile": "string" | ||
| 1824 | }, | ||
| 1825 | { | ||
| 1826 | "FileName": "string" | ||
| 1827 | }, | ||
| 1828 | { | ||
| 1829 | "DirProperty": "string" | ||
| 1830 | }, | ||
| 1831 | { | ||
| 1832 | "Section": "string" | ||
| 1833 | }, | ||
| 1834 | { | ||
| 1835 | "Key": "string" | ||
| 1836 | }, | ||
| 1837 | { | ||
| 1838 | "Value": "string" | ||
| 1839 | }, | ||
| 1840 | { | ||
| 1841 | "Action": "number" | ||
| 1842 | }, | ||
| 1843 | { | ||
| 1844 | "Component_": "string" | ||
| 1845 | } | ||
| 1846 | ] | ||
| 1847 | }, | ||
| 1848 | { | ||
| 1849 | "RemoveRegistry": [ | ||
| 1850 | { | ||
| 1851 | "RemoveRegistry": "string" | ||
| 1852 | }, | ||
| 1853 | { | ||
| 1854 | "Root": "number" | ||
| 1855 | }, | ||
| 1856 | { | ||
| 1857 | "Key": "string" | ||
| 1858 | }, | ||
| 1859 | { | ||
| 1860 | "Name": "string" | ||
| 1861 | }, | ||
| 1862 | { | ||
| 1863 | "Component_": "string" | ||
| 1864 | } | ||
| 1865 | ] | ||
| 1866 | }, | ||
| 1867 | { | ||
| 1868 | "ReserveCost": [ | ||
| 1869 | { | ||
| 1870 | "ReserveKey": "string" | ||
| 1871 | }, | ||
| 1872 | { | ||
| 1873 | "Component_": "string" | ||
| 1874 | }, | ||
| 1875 | { | ||
| 1876 | "ReserveFolder": "string" | ||
| 1877 | }, | ||
| 1878 | { | ||
| 1879 | "ReserveLocal": "number" | ||
| 1880 | }, | ||
| 1881 | { | ||
| 1882 | "ReserveSource": "number" | ||
| 1883 | } | ||
| 1884 | ] | ||
| 1885 | }, | ||
| 1886 | { | ||
| 1887 | "SelfReg": [ | ||
| 1888 | { | ||
| 1889 | "File_": "string" | ||
| 1890 | }, | ||
| 1891 | { | ||
| 1892 | "Cost": "number" | ||
| 1893 | } | ||
| 1894 | ] | ||
| 1895 | }, | ||
| 1896 | { | ||
| 1897 | "ServiceControl": [ | ||
| 1898 | { | ||
| 1899 | "ServiceControl": "string" | ||
| 1900 | }, | ||
| 1901 | { | ||
| 1902 | "Name": "string" | ||
| 1903 | }, | ||
| 1904 | { | ||
| 1905 | "Event": "number" | ||
| 1906 | }, | ||
| 1907 | { | ||
| 1908 | "Arguments": "string" | ||
| 1909 | }, | ||
| 1910 | { | ||
| 1911 | "Wait": "number" | ||
| 1912 | }, | ||
| 1913 | { | ||
| 1914 | "Component_": "string" | ||
| 1915 | } | ||
| 1916 | ] | ||
| 1917 | }, | ||
| 1918 | { | ||
| 1919 | "ServiceInstall": [ | ||
| 1920 | { | ||
| 1921 | "ServiceInstall": "string" | ||
| 1922 | }, | ||
| 1923 | { | ||
| 1924 | "Name": "string" | ||
| 1925 | }, | ||
| 1926 | { | ||
| 1927 | "DisplayName": "string" | ||
| 1928 | }, | ||
| 1929 | { | ||
| 1930 | "ServiceType": "number" | ||
| 1931 | }, | ||
| 1932 | { | ||
| 1933 | "StartType": "number" | ||
| 1934 | }, | ||
| 1935 | { | ||
| 1936 | "ErrorControl": "number" | ||
| 1937 | }, | ||
| 1938 | { | ||
| 1939 | "LoadOrderGroup": "string" | ||
| 1940 | }, | ||
| 1941 | { | ||
| 1942 | "Dependencies": "string" | ||
| 1943 | }, | ||
| 1944 | { | ||
| 1945 | "StartName": "string" | ||
| 1946 | }, | ||
| 1947 | { | ||
| 1948 | "Password": "string" | ||
| 1949 | }, | ||
| 1950 | { | ||
| 1951 | "Arguments": "string" | ||
| 1952 | }, | ||
| 1953 | { | ||
| 1954 | "Component_": "string" | ||
| 1955 | }, | ||
| 1956 | { | ||
| 1957 | "Description": "string" | ||
| 1958 | } | ||
| 1959 | ] | ||
| 1960 | }, | ||
| 1961 | { | ||
| 1962 | "SFPCatalog": [ | ||
| 1963 | { | ||
| 1964 | "SFPCatalog": "string" | ||
| 1965 | }, | ||
| 1966 | { | ||
| 1967 | "Catalog": "path" | ||
| 1968 | }, | ||
| 1969 | { | ||
| 1970 | "Dependency": "string" | ||
| 1971 | } | ||
| 1972 | ] | ||
| 1973 | }, | ||
| 1974 | { | ||
| 1975 | "Shortcut": [ | ||
| 1976 | { | ||
| 1977 | "Shortcut": "string" | ||
| 1978 | }, | ||
| 1979 | { | ||
| 1980 | "Directory_": "string" | ||
| 1981 | }, | ||
| 1982 | { | ||
| 1983 | "Name": "string" | ||
| 1984 | }, | ||
| 1985 | { | ||
| 1986 | "Component_": "string" | ||
| 1987 | }, | ||
| 1988 | { | ||
| 1989 | "Target": "string" | ||
| 1990 | }, | ||
| 1991 | { | ||
| 1992 | "Arguments": "string" | ||
| 1993 | }, | ||
| 1994 | { | ||
| 1995 | "Description": "string" | ||
| 1996 | }, | ||
| 1997 | { | ||
| 1998 | "Hotkey": "number" | ||
| 1999 | }, | ||
| 2000 | { | ||
| 2001 | "Icon_": "string" | ||
| 2002 | }, | ||
| 2003 | { | ||
| 2004 | "IconIndex": "number" | ||
| 2005 | }, | ||
| 2006 | { | ||
| 2007 | "ShowCmd": "number" | ||
| 2008 | }, | ||
| 2009 | { | ||
| 2010 | "WkDir": "string" | ||
| 2011 | }, | ||
| 2012 | { | ||
| 2013 | "DisplayResourceDLL": "string" | ||
| 2014 | }, | ||
| 2015 | { | ||
| 2016 | "DisplayResourceId": "number" | ||
| 2017 | }, | ||
| 2018 | { | ||
| 2019 | "DescriptionResourceDLL": "string" | ||
| 2020 | }, | ||
| 2021 | { | ||
| 2022 | "DescriptionResourceId": "number" | ||
| 2023 | } | ||
| 2024 | ] | ||
| 2025 | }, | ||
| 2026 | { | ||
| 2027 | "Signature": [ | ||
| 2028 | { | ||
| 2029 | "Signature": "string" | ||
| 2030 | }, | ||
| 2031 | { | ||
| 2032 | "FileName": "string" | ||
| 2033 | }, | ||
| 2034 | { | ||
| 2035 | "MinVersion": "string" | ||
| 2036 | }, | ||
| 2037 | { | ||
| 2038 | "MaxVersion": "string" | ||
| 2039 | }, | ||
| 2040 | { | ||
| 2041 | "MinSize": "number" | ||
| 2042 | }, | ||
| 2043 | { | ||
| 2044 | "MaxSize": "number" | ||
| 2045 | }, | ||
| 2046 | { | ||
| 2047 | "MinDate": "number" | ||
| 2048 | }, | ||
| 2049 | { | ||
| 2050 | "MaxDate": "number" | ||
| 2051 | }, | ||
| 2052 | { | ||
| 2053 | "Languages": "string" | ||
| 2054 | } | ||
| 2055 | ] | ||
| 2056 | }, | ||
| 2057 | { | ||
| 2058 | "TargetFiles_OptionalData": [ | ||
| 2059 | { | ||
| 2060 | "Target": "string" | ||
| 2061 | }, | ||
| 2062 | { | ||
| 2063 | "FTK": "string" | ||
| 2064 | }, | ||
| 2065 | { | ||
| 2066 | "SymbolPaths": "string" | ||
| 2067 | }, | ||
| 2068 | { | ||
| 2069 | "IgnoreOffsets": "string" | ||
| 2070 | }, | ||
| 2071 | { | ||
| 2072 | "IgnoreLengths": "string" | ||
| 2073 | }, | ||
| 2074 | { | ||
| 2075 | "RetainOffsets": "string" | ||
| 2076 | } | ||
| 2077 | ] | ||
| 2078 | }, | ||
| 2079 | { | ||
| 2080 | "TargetImages": [ | ||
| 2081 | { | ||
| 2082 | "Target": "string" | ||
| 2083 | }, | ||
| 2084 | { | ||
| 2085 | "MsiPath": "string" | ||
| 2086 | }, | ||
| 2087 | { | ||
| 2088 | "SymbolPaths": "string" | ||
| 2089 | }, | ||
| 2090 | { | ||
| 2091 | "Upgraded": "string" | ||
| 2092 | }, | ||
| 2093 | { | ||
| 2094 | "Order": "number" | ||
| 2095 | }, | ||
| 2096 | { | ||
| 2097 | "ProductValidateFlags": "string" | ||
| 2098 | }, | ||
| 2099 | { | ||
| 2100 | "IgnoreMissingSrcFiles": "number" | ||
| 2101 | } | ||
| 2102 | ] | ||
| 2103 | }, | ||
| 2104 | { | ||
| 2105 | "TextStyle": [ | ||
| 2106 | { | ||
| 2107 | "TextStyle": "string" | ||
| 2108 | }, | ||
| 2109 | { | ||
| 2110 | "FaceName": "string" | ||
| 2111 | }, | ||
| 2112 | { | ||
| 2113 | "Size": "number" | ||
| 2114 | }, | ||
| 2115 | { | ||
| 2116 | "Color": "number" | ||
| 2117 | }, | ||
| 2118 | { | ||
| 2119 | "StyleBits": "number" | ||
| 2120 | } | ||
| 2121 | ] | ||
| 2122 | }, | ||
| 2123 | { | ||
| 2124 | "TypeLib": [ | ||
| 2125 | { | ||
| 2126 | "LibID": "string" | ||
| 2127 | }, | ||
| 2128 | { | ||
| 2129 | "Language": "number" | ||
| 2130 | }, | ||
| 2131 | { | ||
| 2132 | "Component_": "string" | ||
| 2133 | }, | ||
| 2134 | { | ||
| 2135 | "Version": "number" | ||
| 2136 | }, | ||
| 2137 | { | ||
| 2138 | "Description": "string" | ||
| 2139 | }, | ||
| 2140 | { | ||
| 2141 | "Directory_": "string" | ||
| 2142 | }, | ||
| 2143 | { | ||
| 2144 | "Feature_": "string" | ||
| 2145 | }, | ||
| 2146 | { | ||
| 2147 | "Cost": "number" | ||
| 2148 | } | ||
| 2149 | ] | ||
| 2150 | }, | ||
| 2151 | { | ||
| 2152 | "UIText": [ | ||
| 2153 | { | ||
| 2154 | "Key": "string" | ||
| 2155 | }, | ||
| 2156 | { | ||
| 2157 | "Text": "string" | ||
| 2158 | } | ||
| 2159 | ] | ||
| 2160 | }, | ||
| 2161 | { | ||
| 2162 | "Upgrade": [ | ||
| 2163 | { | ||
| 2164 | "UpgradeCode": "string" | ||
| 2165 | }, | ||
| 2166 | { | ||
| 2167 | "VersionMin": "string" | ||
| 2168 | }, | ||
| 2169 | { | ||
| 2170 | "VersionMax": "string" | ||
| 2171 | }, | ||
| 2172 | { | ||
| 2173 | "Language": "string" | ||
| 2174 | }, | ||
| 2175 | { | ||
| 2176 | "Attributes": "number" | ||
| 2177 | }, | ||
| 2178 | { | ||
| 2179 | "Remove": "string" | ||
| 2180 | }, | ||
| 2181 | { | ||
| 2182 | "ActionProperty": "string" | ||
| 2183 | } | ||
| 2184 | ] | ||
| 2185 | }, | ||
| 2186 | { | ||
| 2187 | "UpgradedFiles_OptionalData": [ | ||
| 2188 | { | ||
| 2189 | "Upgraded": "string" | ||
| 2190 | }, | ||
| 2191 | { | ||
| 2192 | "FTK": "string" | ||
| 2193 | }, | ||
| 2194 | { | ||
| 2195 | "SymbolPaths": "string" | ||
| 2196 | }, | ||
| 2197 | { | ||
| 2198 | "AllowIgnoreOnPatchError": "number" | ||
| 2199 | }, | ||
| 2200 | { | ||
| 2201 | "IncludeWholeFile": "number" | ||
| 2202 | } | ||
| 2203 | ] | ||
| 2204 | }, | ||
| 2205 | { | ||
| 2206 | "UpgradedFilesToIgnore": [ | ||
| 2207 | { | ||
| 2208 | "Upgraded": "string" | ||
| 2209 | }, | ||
| 2210 | { | ||
| 2211 | "FTK": "string" | ||
| 2212 | } | ||
| 2213 | ] | ||
| 2214 | }, | ||
| 2215 | { | ||
| 2216 | "UpgradedImages": [ | ||
| 2217 | { | ||
| 2218 | "Upgraded": "string" | ||
| 2219 | }, | ||
| 2220 | { | ||
| 2221 | "MsiPath": "string" | ||
| 2222 | }, | ||
| 2223 | { | ||
| 2224 | "PatchMsiPath": "string" | ||
| 2225 | }, | ||
| 2226 | { | ||
| 2227 | "SymbolPaths": "string" | ||
| 2228 | }, | ||
| 2229 | { | ||
| 2230 | "Family": "string" | ||
| 2231 | } | ||
| 2232 | ] | ||
| 2233 | }, | ||
| 2234 | { | ||
| 2235 | "Verb": [ | ||
| 2236 | { | ||
| 2237 | "Extension_": "string" | ||
| 2238 | }, | ||
| 2239 | { | ||
| 2240 | "Verb": "string" | ||
| 2241 | }, | ||
| 2242 | { | ||
| 2243 | "Sequence": "number" | ||
| 2244 | }, | ||
| 2245 | { | ||
| 2246 | "Command": "string" | ||
| 2247 | }, | ||
| 2248 | { | ||
| 2249 | "Argument": "string" | ||
| 2250 | } | ||
| 2251 | ] | ||
| 2252 | }, | ||
| 2253 | { | ||
| 2254 | "WixAction": [ | ||
| 2255 | { | ||
| 2256 | "SequenceTable": "string" | ||
| 2257 | }, | ||
| 2258 | { | ||
| 2259 | "Action": "string" | ||
| 2260 | }, | ||
| 2261 | { | ||
| 2262 | "Condition": "string" | ||
| 2263 | }, | ||
| 2264 | { | ||
| 2265 | "Sequence": "number" | ||
| 2266 | }, | ||
| 2267 | { | ||
| 2268 | "Before": "string" | ||
| 2269 | }, | ||
| 2270 | { | ||
| 2271 | "After": "string" | ||
| 2272 | }, | ||
| 2273 | { | ||
| 2274 | "Overridable": "number" | ||
| 2275 | } | ||
| 2276 | ] | ||
| 2277 | }, | ||
| 2278 | { | ||
| 2279 | "WixApprovedExeForElevation": [ | ||
| 2280 | { | ||
| 2281 | "Id": "string" | ||
| 2282 | }, | ||
| 2283 | { | ||
| 2284 | "Key": "string" | ||
| 2285 | }, | ||
| 2286 | { | ||
| 2287 | "Value": "string" | ||
| 2288 | }, | ||
| 2289 | { | ||
| 2290 | "Attributes": "number" | ||
| 2291 | } | ||
| 2292 | ] | ||
| 2293 | }, | ||
| 2294 | { | ||
| 2295 | "WixBBControl": [ | ||
| 2296 | { | ||
| 2297 | "Billboard_": "string" | ||
| 2298 | }, | ||
| 2299 | { | ||
| 2300 | "BBControl_": "string" | ||
| 2301 | }, | ||
| 2302 | { | ||
| 2303 | "SourceFile": "path" | ||
| 2304 | } | ||
| 2305 | ] | ||
| 2306 | }, | ||
| 2307 | { | ||
| 2308 | "WixBindUpdatedFiles": [ | ||
| 2309 | { | ||
| 2310 | "File_": "string" | ||
| 2311 | } | ||
| 2312 | ] | ||
| 2313 | }, | ||
| 2314 | { | ||
| 2315 | "WixBootstrapperApplication": [ | ||
| 2316 | { | ||
| 2317 | "Id": "string" | ||
| 2318 | } | ||
| 2319 | ] | ||
| 2320 | }, | ||
| 2321 | { | ||
| 2322 | "WixBuildInfo": [ | ||
| 2323 | { | ||
| 2324 | "WixVersion": "string" | ||
| 2325 | }, | ||
| 2326 | { | ||
| 2327 | "WixOutputFile": "string" | ||
| 2328 | }, | ||
| 2329 | { | ||
| 2330 | "WixProjectFile": "string" | ||
| 2331 | }, | ||
| 2332 | { | ||
| 2333 | "WixPdbFile": "string" | ||
| 2334 | } | ||
| 2335 | ] | ||
| 2336 | }, | ||
| 2337 | { | ||
| 2338 | "WixBundle": [ | ||
| 2339 | { | ||
| 2340 | "Version": "string" | ||
| 2341 | }, | ||
| 2342 | { | ||
| 2343 | "Copyright": "string" | ||
| 2344 | }, | ||
| 2345 | { | ||
| 2346 | "Name": "string" | ||
| 2347 | }, | ||
| 2348 | { | ||
| 2349 | "AboutUrl": "string" | ||
| 2350 | }, | ||
| 2351 | { | ||
| 2352 | "DisableModify": "number" | ||
| 2353 | }, | ||
| 2354 | { | ||
| 2355 | "DisableRemove": "number" | ||
| 2356 | }, | ||
| 2357 | { | ||
| 2358 | "DisableRepair": "number" | ||
| 2359 | }, | ||
| 2360 | { | ||
| 2361 | "HelpTelephone": "string" | ||
| 2362 | }, | ||
| 2363 | { | ||
| 2364 | "HelpUrl": "string" | ||
| 2365 | }, | ||
| 2366 | { | ||
| 2367 | "Manufacturer": "string" | ||
| 2368 | }, | ||
| 2369 | { | ||
| 2370 | "UpdateUrl": "string" | ||
| 2371 | }, | ||
| 2372 | { | ||
| 2373 | "Compressed": "number" | ||
| 2374 | }, | ||
| 2375 | { | ||
| 2376 | "LogPrefixAndExtension": "string" | ||
| 2377 | }, | ||
| 2378 | { | ||
| 2379 | "IconSourceFile": "path" | ||
| 2380 | }, | ||
| 2381 | { | ||
| 2382 | "SplashScreenSourceFile": "path" | ||
| 2383 | }, | ||
| 2384 | { | ||
| 2385 | "Condition": "string" | ||
| 2386 | }, | ||
| 2387 | { | ||
| 2388 | "Tag": "string" | ||
| 2389 | }, | ||
| 2390 | { | ||
| 2391 | "Platform": "string" | ||
| 2392 | }, | ||
| 2393 | { | ||
| 2394 | "ParentName": "string" | ||
| 2395 | }, | ||
| 2396 | { | ||
| 2397 | "UpgradeCode": "string" | ||
| 2398 | }, | ||
| 2399 | { | ||
| 2400 | "BundleId": "string" | ||
| 2401 | }, | ||
| 2402 | { | ||
| 2403 | "ProviderKey": "string" | ||
| 2404 | }, | ||
| 2405 | { | ||
| 2406 | "PerMachine": "number" | ||
| 2407 | } | ||
| 2408 | ] | ||
| 2409 | }, | ||
| 2410 | { | ||
| 2411 | "WixBundleCatalog": [ | ||
| 2412 | { | ||
| 2413 | "WixBundleCatalog": "string" | ||
| 2414 | }, | ||
| 2415 | { | ||
| 2416 | "Payload_": "string" | ||
| 2417 | } | ||
| 2418 | ] | ||
| 2419 | }, | ||
| 2420 | { | ||
| 2421 | "WixBundleContainer": [ | ||
| 2422 | { | ||
| 2423 | "WixBundleContainer": "string" | ||
| 2424 | }, | ||
| 2425 | { | ||
| 2426 | "Name": "string" | ||
| 2427 | }, | ||
| 2428 | { | ||
| 2429 | "Type": "number" | ||
| 2430 | }, | ||
| 2431 | { | ||
| 2432 | "DownloadUrl": "string" | ||
| 2433 | }, | ||
| 2434 | { | ||
| 2435 | "Size": "number" | ||
| 2436 | }, | ||
| 2437 | { | ||
| 2438 | "Hash": "string" | ||
| 2439 | }, | ||
| 2440 | { | ||
| 2441 | "AttachedContainerIndex": "number" | ||
| 2442 | }, | ||
| 2443 | { | ||
| 2444 | "WorkingPath": "string" | ||
| 2445 | } | ||
| 2446 | ] | ||
| 2447 | }, | ||
| 2448 | { | ||
| 2449 | "WixBundleExePackage": [ | ||
| 2450 | { | ||
| 2451 | "WixBundlePackage_": "string" | ||
| 2452 | }, | ||
| 2453 | { | ||
| 2454 | "Attributes": "number" | ||
| 2455 | }, | ||
| 2456 | { | ||
| 2457 | "DetectCondition": "string" | ||
| 2458 | }, | ||
| 2459 | { | ||
| 2460 | "InstallCommand": "string" | ||
| 2461 | }, | ||
| 2462 | { | ||
| 2463 | "RepairCommand": "string" | ||
| 2464 | }, | ||
| 2465 | { | ||
| 2466 | "UninstallCommand": "string" | ||
| 2467 | }, | ||
| 2468 | { | ||
| 2469 | "ExeProtocol": "string" | ||
| 2470 | } | ||
| 2471 | ] | ||
| 2472 | }, | ||
| 2473 | { | ||
| 2474 | "WixBundleMsiFeature": [ | ||
| 2475 | { | ||
| 2476 | "WixBundlePackage_": "string" | ||
| 2477 | }, | ||
| 2478 | { | ||
| 2479 | "Name": "string" | ||
| 2480 | }, | ||
| 2481 | { | ||
| 2482 | "Size": "number" | ||
| 2483 | }, | ||
| 2484 | { | ||
| 2485 | "Parent": "string" | ||
| 2486 | }, | ||
| 2487 | { | ||
| 2488 | "Title": "string" | ||
| 2489 | }, | ||
| 2490 | { | ||
| 2491 | "Description": "string" | ||
| 2492 | }, | ||
| 2493 | { | ||
| 2494 | "Display": "number" | ||
| 2495 | }, | ||
| 2496 | { | ||
| 2497 | "Level": "number" | ||
| 2498 | }, | ||
| 2499 | { | ||
| 2500 | "Directory": "string" | ||
| 2501 | }, | ||
| 2502 | { | ||
| 2503 | "Attributes": "number" | ||
| 2504 | } | ||
| 2505 | ] | ||
| 2506 | }, | ||
| 2507 | { | ||
| 2508 | "WixBundleMsiPackage": [ | ||
| 2509 | { | ||
| 2510 | "WixBundlePackage_": "string" | ||
| 2511 | }, | ||
| 2512 | { | ||
| 2513 | "Attributes": "number" | ||
| 2514 | }, | ||
| 2515 | { | ||
| 2516 | "ProductCode": "string" | ||
| 2517 | }, | ||
| 2518 | { | ||
| 2519 | "UpgradeCode": "string" | ||
| 2520 | }, | ||
| 2521 | { | ||
| 2522 | "ProductVersion": "string" | ||
| 2523 | }, | ||
| 2524 | { | ||
| 2525 | "ProductLanguage": "number" | ||
| 2526 | }, | ||
| 2527 | { | ||
| 2528 | "ProductName": "string" | ||
| 2529 | }, | ||
| 2530 | { | ||
| 2531 | "Manufacturer": "string" | ||
| 2532 | } | ||
| 2533 | ] | ||
| 2534 | }, | ||
| 2535 | { | ||
| 2536 | "WixBundleMsiProperty": [ | ||
| 2537 | { | ||
| 2538 | "WixBundlePackage_": "string" | ||
| 2539 | }, | ||
| 2540 | { | ||
| 2541 | "Name": "string" | ||
| 2542 | }, | ||
| 2543 | { | ||
| 2544 | "Value": "string" | ||
| 2545 | }, | ||
| 2546 | { | ||
| 2547 | "Condition": "string" | ||
| 2548 | } | ||
| 2549 | ] | ||
| 2550 | }, | ||
| 2551 | { | ||
| 2552 | "WixBundleMspPackage": [ | ||
| 2553 | { | ||
| 2554 | "WixBundlePackage_": "string" | ||
| 2555 | }, | ||
| 2556 | { | ||
| 2557 | "Attributes": "number" | ||
| 2558 | }, | ||
| 2559 | { | ||
| 2560 | "PatchCode": "string" | ||
| 2561 | }, | ||
| 2562 | { | ||
| 2563 | "Manufacturer": "string" | ||
| 2564 | }, | ||
| 2565 | { | ||
| 2566 | "PatchXml": "string" | ||
| 2567 | } | ||
| 2568 | ] | ||
| 2569 | }, | ||
| 2570 | { | ||
| 2571 | "WixBundleMsuPackage": [ | ||
| 2572 | { | ||
| 2573 | "WixBundlePackage_": "string" | ||
| 2574 | }, | ||
| 2575 | { | ||
| 2576 | "DetectCondition": "string" | ||
| 2577 | }, | ||
| 2578 | { | ||
| 2579 | "MsuKB": "string" | ||
| 2580 | } | ||
| 2581 | ] | ||
| 2582 | }, | ||
| 2583 | { | ||
| 2584 | "WixBundlePackage": [ | ||
| 2585 | { | ||
| 2586 | "WixChainItem_": "string" | ||
| 2587 | }, | ||
| 2588 | { | ||
| 2589 | "Type": "number" | ||
| 2590 | }, | ||
| 2591 | { | ||
| 2592 | "Payload_": "string" | ||
| 2593 | }, | ||
| 2594 | { | ||
| 2595 | "Attributes": "number" | ||
| 2596 | }, | ||
| 2597 | { | ||
| 2598 | "InstallCondition": "string" | ||
| 2599 | }, | ||
| 2600 | { | ||
| 2601 | "Cache": "number" | ||
| 2602 | }, | ||
| 2603 | { | ||
| 2604 | "CacheId": "string" | ||
| 2605 | }, | ||
| 2606 | { | ||
| 2607 | "Vital": "number" | ||
| 2608 | }, | ||
| 2609 | { | ||
| 2610 | "PerMachine": "number" | ||
| 2611 | }, | ||
| 2612 | { | ||
| 2613 | "LogPathVariable": "string" | ||
| 2614 | }, | ||
| 2615 | { | ||
| 2616 | "RollbackLogPathVariable": "string" | ||
| 2617 | }, | ||
| 2618 | { | ||
| 2619 | "Size": "number" | ||
| 2620 | }, | ||
| 2621 | { | ||
| 2622 | "InstallSize": "number" | ||
| 2623 | }, | ||
| 2624 | { | ||
| 2625 | "Version": "string" | ||
| 2626 | }, | ||
| 2627 | { | ||
| 2628 | "Language": "number" | ||
| 2629 | }, | ||
| 2630 | { | ||
| 2631 | "DisplayName": "string" | ||
| 2632 | }, | ||
| 2633 | { | ||
| 2634 | "Description": "string" | ||
| 2635 | }, | ||
| 2636 | { | ||
| 2637 | "RollbackBoundary_": "string" | ||
| 2638 | }, | ||
| 2639 | { | ||
| 2640 | "RollbackBoundaryBackward_": "string" | ||
| 2641 | }, | ||
| 2642 | { | ||
| 2643 | "x64": "number" | ||
| 2644 | } | ||
| 2645 | ] | ||
| 2646 | }, | ||
| 2647 | { | ||
| 2648 | "WixBundlePackageCommandLine": [ | ||
| 2649 | { | ||
| 2650 | "WixBundlePackage_": "string" | ||
| 2651 | }, | ||
| 2652 | { | ||
| 2653 | "InstallArgument": "string" | ||
| 2654 | }, | ||
| 2655 | { | ||
| 2656 | "UninstallArgument": "string" | ||
| 2657 | }, | ||
| 2658 | { | ||
| 2659 | "RepairArgument": "string" | ||
| 2660 | }, | ||
| 2661 | { | ||
| 2662 | "Condition": "string" | ||
| 2663 | } | ||
| 2664 | ] | ||
| 2665 | }, | ||
| 2666 | { | ||
| 2667 | "WixBundlePackageExitCode": [ | ||
| 2668 | { | ||
| 2669 | "WixBundlePackage_": "string" | ||
| 2670 | }, | ||
| 2671 | { | ||
| 2672 | "Code": "number" | ||
| 2673 | }, | ||
| 2674 | { | ||
| 2675 | "Behavior": "number" | ||
| 2676 | } | ||
| 2677 | ] | ||
| 2678 | }, | ||
| 2679 | { | ||
| 2680 | "WixBundlePackageGroup": [ | ||
| 2681 | { | ||
| 2682 | "WixBundlePackageGroup": "string" | ||
| 2683 | } | ||
| 2684 | ] | ||
| 2685 | }, | ||
| 2686 | { | ||
| 2687 | "WixBundlePatchTargetCode": [ | ||
| 2688 | { | ||
| 2689 | "PackageId": "string" | ||
| 2690 | }, | ||
| 2691 | { | ||
| 2692 | "TargetCode": "string" | ||
| 2693 | }, | ||
| 2694 | { | ||
| 2695 | "Attributes": "number" | ||
| 2696 | } | ||
| 2697 | ] | ||
| 2698 | }, | ||
| 2699 | { | ||
| 2700 | "WixBundlePayload": [ | ||
| 2701 | { | ||
| 2702 | "WixBundlePayload": "string" | ||
| 2703 | }, | ||
| 2704 | { | ||
| 2705 | "Name": "string" | ||
| 2706 | }, | ||
| 2707 | { | ||
| 2708 | "SourceFile": "path" | ||
| 2709 | }, | ||
| 2710 | { | ||
| 2711 | "DownloadUrl": "string" | ||
| 2712 | }, | ||
| 2713 | { | ||
| 2714 | "Compressed": "number" | ||
| 2715 | }, | ||
| 2716 | { | ||
| 2717 | "UnresolvedSourceFile": "string" | ||
| 2718 | }, | ||
| 2719 | { | ||
| 2720 | "DisplayName": "string" | ||
| 2721 | }, | ||
| 2722 | { | ||
| 2723 | "Description": "string" | ||
| 2724 | }, | ||
| 2725 | { | ||
| 2726 | "EnableSignatureValidation": "number" | ||
| 2727 | }, | ||
| 2728 | { | ||
| 2729 | "FileSize": "number" | ||
| 2730 | }, | ||
| 2731 | { | ||
| 2732 | "Version": "string" | ||
| 2733 | }, | ||
| 2734 | { | ||
| 2735 | "Hash": "string" | ||
| 2736 | }, | ||
| 2737 | { | ||
| 2738 | "PublicKey": "string" | ||
| 2739 | }, | ||
| 2740 | { | ||
| 2741 | "Thumbprint": "string" | ||
| 2742 | }, | ||
| 2743 | { | ||
| 2744 | "Catalog_": "string" | ||
| 2745 | }, | ||
| 2746 | { | ||
| 2747 | "Container_": "string" | ||
| 2748 | }, | ||
| 2749 | { | ||
| 2750 | "Package": "string" | ||
| 2751 | }, | ||
| 2752 | { | ||
| 2753 | "ContentFile": "number" | ||
| 2754 | }, | ||
| 2755 | { | ||
| 2756 | "EmbeddedId": "string" | ||
| 2757 | }, | ||
| 2758 | { | ||
| 2759 | "LayoutOnly": "number" | ||
| 2760 | }, | ||
| 2761 | { | ||
| 2762 | "Packaging": "number" | ||
| 2763 | }, | ||
| 2764 | { | ||
| 2765 | "ParentPackagePayload_": "string" | ||
| 2766 | } | ||
| 2767 | ] | ||
| 2768 | }, | ||
| 2769 | { | ||
| 2770 | "WixBundlePayloadGroup": [ | ||
| 2771 | { | ||
| 2772 | "WixBundlePayloadGroup": "string" | ||
| 2773 | } | ||
| 2774 | ] | ||
| 2775 | }, | ||
| 2776 | { | ||
| 2777 | "WixBundleProperties": [ | ||
| 2778 | { | ||
| 2779 | "DisplayName": "string" | ||
| 2780 | }, | ||
| 2781 | { | ||
| 2782 | "LogPathVariable": "string" | ||
| 2783 | }, | ||
| 2784 | { | ||
| 2785 | "Compressed": "string" | ||
| 2786 | }, | ||
| 2787 | { | ||
| 2788 | "Id": "string" | ||
| 2789 | }, | ||
| 2790 | { | ||
| 2791 | "UpgradeCode": "string" | ||
| 2792 | }, | ||
| 2793 | { | ||
| 2794 | "PerMachine": "string" | ||
| 2795 | } | ||
| 2796 | ] | ||
| 2797 | }, | ||
| 2798 | { | ||
| 2799 | "WixBundleRelatedPackage": [ | ||
| 2800 | { | ||
| 2801 | "WixBundlePackage_": "string" | ||
| 2802 | }, | ||
| 2803 | { | ||
| 2804 | "Id": "string" | ||
| 2805 | }, | ||
| 2806 | { | ||
| 2807 | "MinVersion": "string" | ||
| 2808 | }, | ||
| 2809 | { | ||
| 2810 | "MaxVersion": "string" | ||
| 2811 | }, | ||
| 2812 | { | ||
| 2813 | "Languages": "string" | ||
| 2814 | }, | ||
| 2815 | { | ||
| 2816 | "MinInclusive": "number" | ||
| 2817 | }, | ||
| 2818 | { | ||
| 2819 | "MaxInclusive": "number" | ||
| 2820 | }, | ||
| 2821 | { | ||
| 2822 | "LangInclusive": "number" | ||
| 2823 | }, | ||
| 2824 | { | ||
| 2825 | "OnlyDetect": "number" | ||
| 2826 | } | ||
| 2827 | ] | ||
| 2828 | }, | ||
| 2829 | { | ||
| 2830 | "WixBundleRollbackBoundary": [ | ||
| 2831 | { | ||
| 2832 | "WixChainItem_": "string" | ||
| 2833 | }, | ||
| 2834 | { | ||
| 2835 | "Vital": "number" | ||
| 2836 | }, | ||
| 2837 | { | ||
| 2838 | "Transaction": "number" | ||
| 2839 | } | ||
| 2840 | ] | ||
| 2841 | }, | ||
| 2842 | { | ||
| 2843 | "WixBundleSlipstreamMsp": [ | ||
| 2844 | { | ||
| 2845 | "WixBundlePackage_": "string" | ||
| 2846 | }, | ||
| 2847 | { | ||
| 2848 | "WixBundlePackage_Msp": "string" | ||
| 2849 | } | ||
| 2850 | ] | ||
| 2851 | }, | ||
| 2852 | { | ||
| 2853 | "WixBundleUpdate": [ | ||
| 2854 | { | ||
| 2855 | "Location": "string" | ||
| 2856 | }, | ||
| 2857 | { | ||
| 2858 | "Attributes": "number" | ||
| 2859 | } | ||
| 2860 | ] | ||
| 2861 | }, | ||
| 2862 | { | ||
| 2863 | "WixBundleVariable": [ | ||
| 2864 | { | ||
| 2865 | "WixBundleVariable": "string" | ||
| 2866 | }, | ||
| 2867 | { | ||
| 2868 | "Value": "string" | ||
| 2869 | }, | ||
| 2870 | { | ||
| 2871 | "Type": "string" | ||
| 2872 | }, | ||
| 2873 | { | ||
| 2874 | "Hidden": "number" | ||
| 2875 | }, | ||
| 2876 | { | ||
| 2877 | "Persisted": "number" | ||
| 2878 | } | ||
| 2879 | ] | ||
| 2880 | }, | ||
| 2881 | { | ||
| 2882 | "WixChain": [ | ||
| 2883 | { | ||
| 2884 | "Attributes": "number" | ||
| 2885 | } | ||
| 2886 | ] | ||
| 2887 | }, | ||
| 2888 | { | ||
| 2889 | "WixChainItem": [ | ||
| 2890 | { | ||
| 2891 | "Id": "string" | ||
| 2892 | } | ||
| 2893 | ] | ||
| 2894 | }, | ||
| 2895 | { | ||
| 2896 | "WixComplexReference": [ | ||
| 2897 | { | ||
| 2898 | "Parent": "string" | ||
| 2899 | }, | ||
| 2900 | { | ||
| 2901 | "ParentAttributes": "number" | ||
| 2902 | }, | ||
| 2903 | { | ||
| 2904 | "ParentLanguage": "string" | ||
| 2905 | }, | ||
| 2906 | { | ||
| 2907 | "Child": "string" | ||
| 2908 | }, | ||
| 2909 | { | ||
| 2910 | "ChildAttributes": "number" | ||
| 2911 | }, | ||
| 2912 | { | ||
| 2913 | "Attributes": "number" | ||
| 2914 | } | ||
| 2915 | ] | ||
| 2916 | }, | ||
| 2917 | { | ||
| 2918 | "WixComponentGroup": [ | ||
| 2919 | { | ||
| 2920 | "WixComponentGroup": "string" | ||
| 2921 | } | ||
| 2922 | ] | ||
| 2923 | }, | ||
| 2924 | { | ||
| 2925 | "WixComponentSearch": [ | ||
| 2926 | { | ||
| 2927 | "WixSearch_": "string" | ||
| 2928 | }, | ||
| 2929 | { | ||
| 2930 | "Guid": "string" | ||
| 2931 | }, | ||
| 2932 | { | ||
| 2933 | "ProductCode": "string" | ||
| 2934 | }, | ||
| 2935 | { | ||
| 2936 | "Attributes": "number" | ||
| 2937 | } | ||
| 2938 | ] | ||
| 2939 | }, | ||
| 2940 | { | ||
| 2941 | "WixControl": [ | ||
| 2942 | { | ||
| 2943 | "Dialog_": "string" | ||
| 2944 | }, | ||
| 2945 | { | ||
| 2946 | "Control_": "string" | ||
| 2947 | }, | ||
| 2948 | { | ||
| 2949 | "SourceFile": "path" | ||
| 2950 | } | ||
| 2951 | ] | ||
| 2952 | }, | ||
| 2953 | { | ||
| 2954 | "WixCustomRow": [ | ||
| 2955 | { | ||
| 2956 | "Table": "string" | ||
| 2957 | }, | ||
| 2958 | { | ||
| 2959 | "FieldData": "string" | ||
| 2960 | } | ||
| 2961 | ] | ||
| 2962 | }, | ||
| 2963 | { | ||
| 2964 | "WixCustomTable": [ | ||
| 2965 | { | ||
| 2966 | "Table": "string" | ||
| 2967 | }, | ||
| 2968 | { | ||
| 2969 | "ColumnCount": "number" | ||
| 2970 | }, | ||
| 2971 | { | ||
| 2972 | "ColumnNames": "string" | ||
| 2973 | }, | ||
| 2974 | { | ||
| 2975 | "ColumnTypes": "string" | ||
| 2976 | }, | ||
| 2977 | { | ||
| 2978 | "PrimaryKeys": "string" | ||
| 2979 | }, | ||
| 2980 | { | ||
| 2981 | "MinValues": "string" | ||
| 2982 | }, | ||
| 2983 | { | ||
| 2984 | "MaxValues": "string" | ||
| 2985 | }, | ||
| 2986 | { | ||
| 2987 | "KeyTables": "string" | ||
| 2988 | }, | ||
| 2989 | { | ||
| 2990 | "KeyColumns": "string" | ||
| 2991 | }, | ||
| 2992 | { | ||
| 2993 | "Categories": "string" | ||
| 2994 | }, | ||
| 2995 | { | ||
| 2996 | "Sets": "string" | ||
| 2997 | }, | ||
| 2998 | { | ||
| 2999 | "Descriptions": "string" | ||
| 3000 | }, | ||
| 3001 | { | ||
| 3002 | "Modularizations": "string" | ||
| 3003 | }, | ||
| 3004 | { | ||
| 3005 | "BootstrapperApplicationData": "number" | ||
| 3006 | } | ||
| 3007 | ] | ||
| 3008 | }, | ||
| 3009 | { | ||
| 3010 | "WixDeltaPatchFile": [ | ||
| 3011 | { | ||
| 3012 | "File_": "string" | ||
| 3013 | }, | ||
| 3014 | { | ||
| 3015 | "RetainLengths": "preserved" | ||
| 3016 | }, | ||
| 3017 | { | ||
| 3018 | "IgnoreOffsets": "preserved" | ||
| 3019 | }, | ||
| 3020 | { | ||
| 3021 | "IgnoreLengths": "preserved" | ||
| 3022 | }, | ||
| 3023 | { | ||
| 3024 | "RetainOffsets": "preserved" | ||
| 3025 | }, | ||
| 3026 | { | ||
| 3027 | "SymbolPaths": "preserved" | ||
| 3028 | } | ||
| 3029 | ] | ||
| 3030 | }, | ||
| 3031 | { | ||
| 3032 | "WixDeltaPatchSymbolPaths": [ | ||
| 3033 | { | ||
| 3034 | "Id": "string" | ||
| 3035 | }, | ||
| 3036 | { | ||
| 3037 | "Type": "number" | ||
| 3038 | }, | ||
| 3039 | { | ||
| 3040 | "SymbolPaths": "preserved" | ||
| 3041 | } | ||
| 3042 | ] | ||
| 3043 | }, | ||
| 3044 | { | ||
| 3045 | "WixDirectory": [ | ||
| 3046 | { | ||
| 3047 | "Directory_": "string" | ||
| 3048 | }, | ||
| 3049 | { | ||
| 3050 | "ComponentGuidGenerationSeed": "string" | ||
| 3051 | } | ||
| 3052 | ] | ||
| 3053 | }, | ||
| 3054 | { | ||
| 3055 | "WixEnsureTable": [ | ||
| 3056 | { | ||
| 3057 | "Table": "string" | ||
| 3058 | } | ||
| 3059 | ] | ||
| 3060 | }, | ||
| 3061 | { | ||
| 3062 | "WixFeatureGroup": [ | ||
| 3063 | { | ||
| 3064 | "WixFeatureGroup": "string" | ||
| 3065 | } | ||
| 3066 | ] | ||
| 3067 | }, | ||
| 3068 | { | ||
| 3069 | "WixFeatureModules": [ | ||
| 3070 | { | ||
| 3071 | "Feature_": "string" | ||
| 3072 | }, | ||
| 3073 | { | ||
| 3074 | "WixMerge_": "string" | ||
| 3075 | } | ||
| 3076 | ] | ||
| 3077 | }, | ||
| 3078 | { | ||
| 3079 | "WixFile": [ | ||
| 3080 | { | ||
| 3081 | "File_": "string" | ||
| 3082 | }, | ||
| 3083 | { | ||
| 3084 | "AssemblyType": "number" | ||
| 3085 | }, | ||
| 3086 | { | ||
| 3087 | "File_AssemblyManifest": "string" | ||
| 3088 | }, | ||
| 3089 | { | ||
| 3090 | "File_AssemblyApplication": "string" | ||
| 3091 | }, | ||
| 3092 | { | ||
| 3093 | "Directory_": "string" | ||
| 3094 | }, | ||
| 3095 | { | ||
| 3096 | "DiskId": "number" | ||
| 3097 | }, | ||
| 3098 | { | ||
| 3099 | "Source": "path" | ||
| 3100 | }, | ||
| 3101 | { | ||
| 3102 | "ProcessorArchitecture": "string" | ||
| 3103 | }, | ||
| 3104 | { | ||
| 3105 | "PatchGroup": "number" | ||
| 3106 | }, | ||
| 3107 | { | ||
| 3108 | "Attributes": "number" | ||
| 3109 | }, | ||
| 3110 | { | ||
| 3111 | "PatchAttributes": "number" | ||
| 3112 | }, | ||
| 3113 | { | ||
| 3114 | "DeltaPatchHeaderSource": "string" | ||
| 3115 | } | ||
| 3116 | ] | ||
| 3117 | }, | ||
| 3118 | { | ||
| 3119 | "WixFileSearch": [ | ||
| 3120 | { | ||
| 3121 | "WixSearch_": "string" | ||
| 3122 | }, | ||
| 3123 | { | ||
| 3124 | "Path": "string" | ||
| 3125 | }, | ||
| 3126 | { | ||
| 3127 | "MinVersion": "string" | ||
| 3128 | }, | ||
| 3129 | { | ||
| 3130 | "MaxVersion": "string" | ||
| 3131 | }, | ||
| 3132 | { | ||
| 3133 | "MinSize": "number" | ||
| 3134 | }, | ||
| 3135 | { | ||
| 3136 | "MaxSize": "number" | ||
| 3137 | }, | ||
| 3138 | { | ||
| 3139 | "MinDate": "number" | ||
| 3140 | }, | ||
| 3141 | { | ||
| 3142 | "MaxDate": "number" | ||
| 3143 | }, | ||
| 3144 | { | ||
| 3145 | "Languages": "string" | ||
| 3146 | }, | ||
| 3147 | { | ||
| 3148 | "Attributes": "number" | ||
| 3149 | } | ||
| 3150 | ] | ||
| 3151 | }, | ||
| 3152 | { | ||
| 3153 | "WixFragment": [ | ||
| 3154 | { | ||
| 3155 | "WixFragment": "string" | ||
| 3156 | } | ||
| 3157 | ] | ||
| 3158 | }, | ||
| 3159 | { | ||
| 3160 | "WixGroup": [ | ||
| 3161 | { | ||
| 3162 | "ParentId": "string" | ||
| 3163 | }, | ||
| 3164 | { | ||
| 3165 | "ParentType": "string" | ||
| 3166 | }, | ||
| 3167 | { | ||
| 3168 | "ChildId": "string" | ||
| 3169 | }, | ||
| 3170 | { | ||
| 3171 | "ChildType": "string" | ||
| 3172 | } | ||
| 3173 | ] | ||
| 3174 | }, | ||
| 3175 | { | ||
| 3176 | "WixInstanceComponent": [ | ||
| 3177 | { | ||
| 3178 | "Component_": "string" | ||
| 3179 | } | ||
| 3180 | ] | ||
| 3181 | }, | ||
| 3182 | { | ||
| 3183 | "WixInstanceTransforms": [ | ||
| 3184 | { | ||
| 3185 | "Id": "string" | ||
| 3186 | }, | ||
| 3187 | { | ||
| 3188 | "PropertyId": "string" | ||
| 3189 | }, | ||
| 3190 | { | ||
| 3191 | "ProductCode": "string" | ||
| 3192 | }, | ||
| 3193 | { | ||
| 3194 | "ProductName": "string" | ||
| 3195 | }, | ||
| 3196 | { | ||
| 3197 | "UpgradeCode": "string" | ||
| 3198 | } | ||
| 3199 | ] | ||
| 3200 | }, | ||
| 3201 | { | ||
| 3202 | "WixMedia": [ | ||
| 3203 | { | ||
| 3204 | "DiskId_": "number" | ||
| 3205 | }, | ||
| 3206 | { | ||
| 3207 | "CompressionLevel": "number" | ||
| 3208 | }, | ||
| 3209 | { | ||
| 3210 | "Layout": "string" | ||
| 3211 | } | ||
| 3212 | ] | ||
| 3213 | }, | ||
| 3214 | { | ||
| 3215 | "WixMediaTemplate": [ | ||
| 3216 | { | ||
| 3217 | "CabinetTemplate": "string" | ||
| 3218 | }, | ||
| 3219 | { | ||
| 3220 | "CompressionLevel": "number" | ||
| 3221 | }, | ||
| 3222 | { | ||
| 3223 | "DiskPrompt": "string" | ||
| 3224 | }, | ||
| 3225 | { | ||
| 3226 | "VolumeLabel": "string" | ||
| 3227 | }, | ||
| 3228 | { | ||
| 3229 | "MaximumUncompressedMediaSize": "number" | ||
| 3230 | }, | ||
| 3231 | { | ||
| 3232 | "MaximumCabinetSizeForLargeFileSplitting": "number" | ||
| 3233 | } | ||
| 3234 | ] | ||
| 3235 | }, | ||
| 3236 | { | ||
| 3237 | "WixMerge": [ | ||
| 3238 | { | ||
| 3239 | "WixMerge": "string" | ||
| 3240 | }, | ||
| 3241 | { | ||
| 3242 | "Language": "number" | ||
| 3243 | }, | ||
| 3244 | { | ||
| 3245 | "Directory_": "string" | ||
| 3246 | }, | ||
| 3247 | { | ||
| 3248 | "SourceFile": "path" | ||
| 3249 | }, | ||
| 3250 | { | ||
| 3251 | "DiskId": "number" | ||
| 3252 | }, | ||
| 3253 | { | ||
| 3254 | "FileCompression": "number" | ||
| 3255 | }, | ||
| 3256 | { | ||
| 3257 | "ConfigurationData": "string" | ||
| 3258 | }, | ||
| 3259 | { | ||
| 3260 | "Feature_": "string" | ||
| 3261 | } | ||
| 3262 | ] | ||
| 3263 | }, | ||
| 3264 | { | ||
| 3265 | "WixOrdering": [ | ||
| 3266 | { | ||
| 3267 | "ItemType": "string" | ||
| 3268 | }, | ||
| 3269 | { | ||
| 3270 | "ItemId_": "string" | ||
| 3271 | }, | ||
| 3272 | { | ||
| 3273 | "DependsOnType": "string" | ||
| 3274 | }, | ||
| 3275 | { | ||
| 3276 | "DependsOnId_": "string" | ||
| 3277 | } | ||
| 3278 | ] | ||
| 3279 | }, | ||
| 3280 | { | ||
| 3281 | "WixPackageFeatureInfo": [ | ||
| 3282 | { | ||
| 3283 | "Package": "string" | ||
| 3284 | }, | ||
| 3285 | { | ||
| 3286 | "Feature": "string" | ||
| 3287 | }, | ||
| 3288 | { | ||
| 3289 | "Size": "string" | ||
| 3290 | }, | ||
| 3291 | { | ||
| 3292 | "Parent": "string" | ||
| 3293 | }, | ||
| 3294 | { | ||
| 3295 | "Title": "string" | ||
| 3296 | }, | ||
| 3297 | { | ||
| 3298 | "Description": "string" | ||
| 3299 | }, | ||
| 3300 | { | ||
| 3301 | "Display": "string" | ||
| 3302 | }, | ||
| 3303 | { | ||
| 3304 | "Level": "string" | ||
| 3305 | }, | ||
| 3306 | { | ||
| 3307 | "Directory": "string" | ||
| 3308 | }, | ||
| 3309 | { | ||
| 3310 | "Attributes": "string" | ||
| 3311 | } | ||
| 3312 | ] | ||
| 3313 | }, | ||
| 3314 | { | ||
| 3315 | "WixPackageProperties": [ | ||
| 3316 | { | ||
| 3317 | "Package": "string" | ||
| 3318 | }, | ||
| 3319 | { | ||
| 3320 | "Vital": "string" | ||
| 3321 | }, | ||
| 3322 | { | ||
| 3323 | "DisplayName": "string" | ||
| 3324 | }, | ||
| 3325 | { | ||
| 3326 | "Description": "string" | ||
| 3327 | }, | ||
| 3328 | { | ||
| 3329 | "DownloadSize": "string" | ||
| 3330 | }, | ||
| 3331 | { | ||
| 3332 | "PackageSize": "string" | ||
| 3333 | }, | ||
| 3334 | { | ||
| 3335 | "InstalledSize": "string" | ||
| 3336 | }, | ||
| 3337 | { | ||
| 3338 | "PackageType": "string" | ||
| 3339 | }, | ||
| 3340 | { | ||
| 3341 | "Permanent": "string" | ||
| 3342 | }, | ||
| 3343 | { | ||
| 3344 | "LogPathVariable": "string" | ||
| 3345 | }, | ||
| 3346 | { | ||
| 3347 | "RollbackLogPathVariable": "string" | ||
| 3348 | }, | ||
| 3349 | { | ||
| 3350 | "Compressed": "string" | ||
| 3351 | }, | ||
| 3352 | { | ||
| 3353 | "DisplayInternalUI": "string" | ||
| 3354 | }, | ||
| 3355 | { | ||
| 3356 | "ProductCode": "string" | ||
| 3357 | }, | ||
| 3358 | { | ||
| 3359 | "UpgradeCode": "string" | ||
| 3360 | }, | ||
| 3361 | { | ||
| 3362 | "Version": "string" | ||
| 3363 | }, | ||
| 3364 | { | ||
| 3365 | "InstallCondition": "string" | ||
| 3366 | }, | ||
| 3367 | { | ||
| 3368 | "Cache": "string" | ||
| 3369 | } | ||
| 3370 | ] | ||
| 3371 | }, | ||
| 3372 | { | ||
| 3373 | "WixPatchBaseline": [ | ||
| 3374 | { | ||
| 3375 | "WixPatchBaseline": "string" | ||
| 3376 | }, | ||
| 3377 | { | ||
| 3378 | "DiskId": "number" | ||
| 3379 | }, | ||
| 3380 | { | ||
| 3381 | "ValidationFlags": "number" | ||
| 3382 | } | ||
| 3383 | ] | ||
| 3384 | }, | ||
| 3385 | { | ||
| 3386 | "WixPatchFamilyGroup": [ | ||
| 3387 | { | ||
| 3388 | "WixPatchFamilyGroup": "string" | ||
| 3389 | } | ||
| 3390 | ] | ||
| 3391 | }, | ||
| 3392 | { | ||
| 3393 | "WixPatchId": [ | ||
| 3394 | { | ||
| 3395 | "ProductCode": "string" | ||
| 3396 | }, | ||
| 3397 | { | ||
| 3398 | "ClientPatchId": "string" | ||
| 3399 | }, | ||
| 3400 | { | ||
| 3401 | "OptimizePatchSizeForLargeFiles": "number" | ||
| 3402 | }, | ||
| 3403 | { | ||
| 3404 | "ApiPatchingSymbolFlags": "number" | ||
| 3405 | } | ||
| 3406 | ] | ||
| 3407 | }, | ||
| 3408 | { | ||
| 3409 | "WixPatchMetadata": [ | ||
| 3410 | { | ||
| 3411 | "Property": "string" | ||
| 3412 | }, | ||
| 3413 | { | ||
| 3414 | "Value": "string" | ||
| 3415 | } | ||
| 3416 | ] | ||
| 3417 | }, | ||
| 3418 | { | ||
| 3419 | "WixPatchRef": [ | ||
| 3420 | { | ||
| 3421 | "Table": "string" | ||
| 3422 | }, | ||
| 3423 | { | ||
| 3424 | "PrimaryKeys": "string" | ||
| 3425 | } | ||
| 3426 | ] | ||
| 3427 | }, | ||
| 3428 | { | ||
| 3429 | "WixPatchTarget": [ | ||
| 3430 | { | ||
| 3431 | "ProductCode": "string" | ||
| 3432 | } | ||
| 3433 | ] | ||
| 3434 | }, | ||
| 3435 | { | ||
| 3436 | "WixPayloadProperties": [ | ||
| 3437 | { | ||
| 3438 | "Payload": "string" | ||
| 3439 | }, | ||
| 3440 | { | ||
| 3441 | "Package": "string" | ||
| 3442 | }, | ||
| 3443 | { | ||
| 3444 | "Container": "string" | ||
| 3445 | }, | ||
| 3446 | { | ||
| 3447 | "Name": "string" | ||
| 3448 | }, | ||
| 3449 | { | ||
| 3450 | "Size": "string" | ||
| 3451 | }, | ||
| 3452 | { | ||
| 3453 | "DownloadUrl": "string" | ||
| 3454 | }, | ||
| 3455 | { | ||
| 3456 | "LayoutOnly": "string" | ||
| 3457 | } | ||
| 3458 | ] | ||
| 3459 | }, | ||
| 3460 | { | ||
| 3461 | "WixProductSearch": [ | ||
| 3462 | { | ||
| 3463 | "WixSearch_": "string" | ||
| 3464 | }, | ||
| 3465 | { | ||
| 3466 | "Guid": "string" | ||
| 3467 | }, | ||
| 3468 | { | ||
| 3469 | "Attributes": "number" | ||
| 3470 | } | ||
| 3471 | ] | ||
| 3472 | }, | ||
| 3473 | { | ||
| 3474 | "WixProperty": [ | ||
| 3475 | { | ||
| 3476 | "Property_": "string" | ||
| 3477 | }, | ||
| 3478 | { | ||
| 3479 | "Attributes": "number" | ||
| 3480 | } | ||
| 3481 | ] | ||
| 3482 | }, | ||
| 3483 | { | ||
| 3484 | "WixRegistrySearch": [ | ||
| 3485 | { | ||
| 3486 | "WixSearch_": "string" | ||
| 3487 | }, | ||
| 3488 | { | ||
| 3489 | "Root": "number" | ||
| 3490 | }, | ||
| 3491 | { | ||
| 3492 | "Key": "string" | ||
| 3493 | }, | ||
| 3494 | { | ||
| 3495 | "Value": "string" | ||
| 3496 | }, | ||
| 3497 | { | ||
| 3498 | "Attributes": "number" | ||
| 3499 | } | ||
| 3500 | ] | ||
| 3501 | }, | ||
| 3502 | { | ||
| 3503 | "WixRelatedBundle": [ | ||
| 3504 | { | ||
| 3505 | "Id": "string" | ||
| 3506 | }, | ||
| 3507 | { | ||
| 3508 | "Action": "number" | ||
| 3509 | } | ||
| 3510 | ] | ||
| 3511 | }, | ||
| 3512 | { | ||
| 3513 | "WixSearch": [ | ||
| 3514 | { | ||
| 3515 | "WixSearch": "string" | ||
| 3516 | }, | ||
| 3517 | { | ||
| 3518 | "Variable": "string" | ||
| 3519 | }, | ||
| 3520 | { | ||
| 3521 | "Condition": "string" | ||
| 3522 | } | ||
| 3523 | ] | ||
| 3524 | }, | ||
| 3525 | { | ||
| 3526 | "WixSearchRelation": [ | ||
| 3527 | { | ||
| 3528 | "WixSearch_": "string" | ||
| 3529 | }, | ||
| 3530 | { | ||
| 3531 | "ParentId_": "string" | ||
| 3532 | }, | ||
| 3533 | { | ||
| 3534 | "Attributes": "number" | ||
| 3535 | } | ||
| 3536 | ] | ||
| 3537 | }, | ||
| 3538 | { | ||
| 3539 | "WixSimpleReference": [ | ||
| 3540 | { | ||
| 3541 | "Table": "string" | ||
| 3542 | }, | ||
| 3543 | { | ||
| 3544 | "PrimaryKeys": "string" | ||
| 3545 | } | ||
| 3546 | ] | ||
| 3547 | }, | ||
| 3548 | { | ||
| 3549 | "WixSuppressAction": [ | ||
| 3550 | { | ||
| 3551 | "SequenceTable": "string" | ||
| 3552 | }, | ||
| 3553 | { | ||
| 3554 | "Action": "string" | ||
| 3555 | } | ||
| 3556 | ] | ||
| 3557 | }, | ||
| 3558 | { | ||
| 3559 | "WixSuppressModularization": [ | ||
| 3560 | { | ||
| 3561 | "WixSuppressModularization": "string" | ||
| 3562 | } | ||
| 3563 | ] | ||
| 3564 | }, | ||
| 3565 | { | ||
| 3566 | "WixUI": [ | ||
| 3567 | { | ||
| 3568 | "WixUI": "string" | ||
| 3569 | } | ||
| 3570 | ] | ||
| 3571 | }, | ||
| 3572 | { | ||
| 3573 | "WixUpdateRegistration": [ | ||
| 3574 | { | ||
| 3575 | "Manufacturer": "string" | ||
| 3576 | }, | ||
| 3577 | { | ||
| 3578 | "Department": "string" | ||
| 3579 | }, | ||
| 3580 | { | ||
| 3581 | "ProductFamily": "string" | ||
| 3582 | }, | ||
| 3583 | { | ||
| 3584 | "Name": "string" | ||
| 3585 | }, | ||
| 3586 | { | ||
| 3587 | "Classification": "string" | ||
| 3588 | } | ||
| 3589 | ] | ||
| 3590 | }, | ||
| 3591 | { | ||
| 3592 | "WixVariable": [ | ||
| 3593 | { | ||
| 3594 | "WixVariable": "string" | ||
| 3595 | }, | ||
| 3596 | { | ||
| 3597 | "Value": "string" | ||
| 3598 | }, | ||
| 3599 | { | ||
| 3600 | "Attributes": "number" | ||
| 3601 | } | ||
| 3602 | ] | ||
| 3603 | } | ||
| 3604 | ] \ No newline at end of file | ||
