diff options
author | Rob Mensching <rob@firegiant.com> | 2019-10-07 13:20:47 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2019-10-07 21:41:53 -0700 |
commit | 3eb21f9eba6e3fd9ab7902cdfe6cb4971244f6b6 (patch) | |
tree | 2a876f13d1751c35620d5f406c0489f10351819e | |
parent | 62d562c060d94c587e684834d25345498d638430 (diff) | |
download | wix-3eb21f9eba6e3fd9ab7902cdfe6cb4971244f6b6.tar.gz wix-3eb21f9eba6e3fd9ab7902cdfe6cb4971244f6b6.tar.bz2 wix-3eb21f9eba6e3fd9ab7902cdfe6cb4971244f6b6.zip |
Fix AppSearch related tuples
-rw-r--r-- | src/WixToolset.Data/Tuples/AppSearchTuple.cs | 10 | ||||
-rw-r--r-- | src/WixToolset.Data/Tuples/CompLocatorTuple.cs | 8 | ||||
-rw-r--r-- | src/WixToolset.Data/Tuples/IniLocatorTuple.cs | 8 | ||||
-rw-r--r-- | src/WixToolset.Data/Tuples/SignatureTuple.cs | 8 |
4 files changed, 17 insertions, 17 deletions
diff --git a/src/WixToolset.Data/Tuples/AppSearchTuple.cs b/src/WixToolset.Data/Tuples/AppSearchTuple.cs index 5c972fa0..098b4946 100644 --- a/src/WixToolset.Data/Tuples/AppSearchTuple.cs +++ b/src/WixToolset.Data/Tuples/AppSearchTuple.cs | |||
@@ -10,7 +10,7 @@ namespace WixToolset.Data | |||
10 | TupleDefinitionType.AppSearch, | 10 | TupleDefinitionType.AppSearch, |
11 | new[] | 11 | new[] |
12 | { | 12 | { |
13 | new IntermediateFieldDefinition(nameof(AppSearchTupleFields.Property), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(AppSearchTupleFields.PropertyRef), IntermediateFieldType.String), |
14 | new IntermediateFieldDefinition(nameof(AppSearchTupleFields.SignatureRef), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(AppSearchTupleFields.SignatureRef), IntermediateFieldType.String), |
15 | }, | 15 | }, |
16 | typeof(AppSearchTuple)); | 16 | typeof(AppSearchTuple)); |
@@ -21,7 +21,7 @@ namespace WixToolset.Data.Tuples | |||
21 | { | 21 | { |
22 | public enum AppSearchTupleFields | 22 | public enum AppSearchTupleFields |
23 | { | 23 | { |
24 | Property, | 24 | PropertyRef, |
25 | SignatureRef, | 25 | SignatureRef, |
26 | } | 26 | } |
27 | 27 | ||
@@ -37,10 +37,10 @@ namespace WixToolset.Data.Tuples | |||
37 | 37 | ||
38 | public IntermediateField this[AppSearchTupleFields index] => this.Fields[(int)index]; | 38 | public IntermediateField this[AppSearchTupleFields index] => this.Fields[(int)index]; |
39 | 39 | ||
40 | public string Property | 40 | public string PropertyRef |
41 | { | 41 | { |
42 | get => (string)this.Fields[(int)AppSearchTupleFields.Property]; | 42 | get => (string)this.Fields[(int)AppSearchTupleFields.PropertyRef]; |
43 | set => this.Set((int)AppSearchTupleFields.Property, value); | 43 | set => this.Set((int)AppSearchTupleFields.PropertyRef, value); |
44 | } | 44 | } |
45 | 45 | ||
46 | public string SignatureRef | 46 | public string SignatureRef |
diff --git a/src/WixToolset.Data/Tuples/CompLocatorTuple.cs b/src/WixToolset.Data/Tuples/CompLocatorTuple.cs index 4a92d132..746d3073 100644 --- a/src/WixToolset.Data/Tuples/CompLocatorTuple.cs +++ b/src/WixToolset.Data/Tuples/CompLocatorTuple.cs | |||
@@ -10,6 +10,7 @@ namespace WixToolset.Data | |||
10 | TupleDefinitionType.CompLocator, | 10 | TupleDefinitionType.CompLocator, |
11 | new[] | 11 | new[] |
12 | { | 12 | { |
13 | new IntermediateFieldDefinition(nameof(CompLocatorTupleFields.SignatureRef), IntermediateFieldType.String), | ||
13 | new IntermediateFieldDefinition(nameof(CompLocatorTupleFields.ComponentId), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(CompLocatorTupleFields.ComponentId), IntermediateFieldType.String), |
14 | new IntermediateFieldDefinition(nameof(CompLocatorTupleFields.Type), IntermediateFieldType.Number), | 15 | new IntermediateFieldDefinition(nameof(CompLocatorTupleFields.Type), IntermediateFieldType.Number), |
15 | }, | 16 | }, |
@@ -21,6 +22,7 @@ namespace WixToolset.Data.Tuples | |||
21 | { | 22 | { |
22 | public enum CompLocatorTupleFields | 23 | public enum CompLocatorTupleFields |
23 | { | 24 | { |
25 | SignatureRef, | ||
24 | ComponentId, | 26 | ComponentId, |
25 | Type, | 27 | Type, |
26 | } | 28 | } |
@@ -37,6 +39,12 @@ namespace WixToolset.Data.Tuples | |||
37 | 39 | ||
38 | public IntermediateField this[CompLocatorTupleFields index] => this.Fields[(int)index]; | 40 | public IntermediateField this[CompLocatorTupleFields index] => this.Fields[(int)index]; |
39 | 41 | ||
42 | public string SignatureRef | ||
43 | { | ||
44 | get => (string)this.Fields[(int)IniLocatorTupleFields.SignatureRef]; | ||
45 | set => this.Set((int)IniLocatorTupleFields.SignatureRef, value); | ||
46 | } | ||
47 | |||
40 | public string ComponentId | 48 | public string ComponentId |
41 | { | 49 | { |
42 | get => (string)this.Fields[(int)CompLocatorTupleFields.ComponentId]; | 50 | get => (string)this.Fields[(int)CompLocatorTupleFields.ComponentId]; |
diff --git a/src/WixToolset.Data/Tuples/IniLocatorTuple.cs b/src/WixToolset.Data/Tuples/IniLocatorTuple.cs index b95bcdf2..0bb670c6 100644 --- a/src/WixToolset.Data/Tuples/IniLocatorTuple.cs +++ b/src/WixToolset.Data/Tuples/IniLocatorTuple.cs | |||
@@ -69,15 +69,15 @@ namespace WixToolset.Data.Tuples | |||
69 | set => this.Set((int)IniLocatorTupleFields.Key, value); | 69 | set => this.Set((int)IniLocatorTupleFields.Key, value); |
70 | } | 70 | } |
71 | 71 | ||
72 | public int Field | 72 | public int? Field |
73 | { | 73 | { |
74 | get => (int)this.Fields[(int)IniLocatorTupleFields.Field]; | 74 | get => (int?)this.Fields[(int)IniLocatorTupleFields.Field]; |
75 | set => this.Set((int)IniLocatorTupleFields.Field, value); | 75 | set => this.Set((int)IniLocatorTupleFields.Field, value); |
76 | } | 76 | } |
77 | 77 | ||
78 | public int Type | 78 | public int? Type |
79 | { | 79 | { |
80 | get => (int)this.Fields[(int)IniLocatorTupleFields.Type]; | 80 | get => this.Fields[(int)IniLocatorTupleFields.Type].AsNullableNumber(); |
81 | set => this.Set((int)IniLocatorTupleFields.Type, value); | 81 | set => this.Set((int)IniLocatorTupleFields.Type, value); |
82 | } | 82 | } |
83 | } | 83 | } |
diff --git a/src/WixToolset.Data/Tuples/SignatureTuple.cs b/src/WixToolset.Data/Tuples/SignatureTuple.cs index 59c40d99..db380bb6 100644 --- a/src/WixToolset.Data/Tuples/SignatureTuple.cs +++ b/src/WixToolset.Data/Tuples/SignatureTuple.cs | |||
@@ -10,7 +10,6 @@ namespace WixToolset.Data | |||
10 | TupleDefinitionType.Signature, | 10 | TupleDefinitionType.Signature, |
11 | new[] | 11 | new[] |
12 | { | 12 | { |
13 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.Signature), IntermediateFieldType.String), | ||
14 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.FileName), IntermediateFieldType.String), | 13 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.FileName), IntermediateFieldType.String), |
15 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.MinVersion), IntermediateFieldType.String), | 14 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.MinVersion), IntermediateFieldType.String), |
16 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.MaxVersion), IntermediateFieldType.String), | 15 | new IntermediateFieldDefinition(nameof(SignatureTupleFields.MaxVersion), IntermediateFieldType.String), |
@@ -28,7 +27,6 @@ namespace WixToolset.Data.Tuples | |||
28 | { | 27 | { |
29 | public enum SignatureTupleFields | 28 | public enum SignatureTupleFields |
30 | { | 29 | { |
31 | Signature, | ||
32 | FileName, | 30 | FileName, |
33 | MinVersion, | 31 | MinVersion, |
34 | MaxVersion, | 32 | MaxVersion, |
@@ -51,12 +49,6 @@ namespace WixToolset.Data.Tuples | |||
51 | 49 | ||
52 | public IntermediateField this[SignatureTupleFields index] => this.Fields[(int)index]; | 50 | public IntermediateField this[SignatureTupleFields index] => this.Fields[(int)index]; |
53 | 51 | ||
54 | public string Signature | ||
55 | { | ||
56 | get => (string)this.Fields[(int)SignatureTupleFields.Signature]; | ||
57 | set => this.Set((int)SignatureTupleFields.Signature, value); | ||
58 | } | ||
59 | |||
60 | public string FileName | 52 | public string FileName |
61 | { | 53 | { |
62 | get => (string)this.Fields[(int)SignatureTupleFields.FileName]; | 54 | get => (string)this.Fields[(int)SignatureTupleFields.FileName]; |