aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2019-10-20 00:34:24 -0700
committerRob Mensching <rob@firegiant.com>2019-10-20 00:56:54 -0700
commit133bbd2b519bf977638317fba3284ba02817f7bb (patch)
tree1d90458cb11131043d62fd6ab20b8aac5c625981 /src
parent4a66f8c3acaa19016f45d9a1b3c35719f44b007b (diff)
downloadwix-133bbd2b519bf977638317fba3284ba02817f7bb.tar.gz
wix-133bbd2b519bf977638317fba3284ba02817f7bb.tar.bz2
wix-133bbd2b519bf977638317fba3284ba02817f7bb.zip
Fix converter a bit more
Diffstat (limited to 'src')
-rw-r--r--src/WixToolset.Converters.Tupleizer/ConvertTuples.cs8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/WixToolset.Converters.Tupleizer/ConvertTuples.cs b/src/WixToolset.Converters.Tupleizer/ConvertTuples.cs
index 88fe0575..60e72c62 100644
--- a/src/WixToolset.Converters.Tupleizer/ConvertTuples.cs
+++ b/src/WixToolset.Converters.Tupleizer/ConvertTuples.cs
@@ -103,7 +103,7 @@ namespace WixToolset.Converters.Tupleizer
103 case "Class": 103 case "Class":
104 return DefaultTupleFromRow(typeof(ClassTuple), row, columnZeroIsId: false); 104 return DefaultTupleFromRow(typeof(ClassTuple), row, columnZeroIsId: false);
105 case "CompLocator": 105 case "CompLocator":
106 return DefaultTupleFromRow(typeof(CompLocatorTuple), row, columnZeroIsId: true); 106 return DefaultTupleFromRow(typeof(CompLocatorTuple), row, columnZeroIsId: false);
107 case "Component": 107 case "Component":
108 { 108 {
109 var attributes = FieldAsNullableInt(row, 3); 109 var attributes = FieldAsNullableInt(row, 3);
@@ -278,7 +278,7 @@ namespace WixToolset.Converters.Tupleizer
278 { 278 {
279 tuple.DirectoryRef = FieldAsString(wixFileRow, 4); 279 tuple.DirectoryRef = FieldAsString(wixFileRow, 4);
280 tuple.DiskId = FieldAsNullableInt(wixFileRow, 5) ?? 0; 280 tuple.DiskId = FieldAsNullableInt(wixFileRow, 5) ?? 0;
281 tuple.Source = new IntermediateFieldPathValue() { Path = FieldAsString(wixFileRow, 6) }; 281 tuple.Source = new IntermediateFieldPathValue { Path = FieldAsString(wixFileRow, 6) };
282 tuple.PatchGroup = FieldAsInt(wixFileRow, 8); 282 tuple.PatchGroup = FieldAsInt(wixFileRow, 8);
283 tuple.Attributes |= FieldAsInt(wixFileRow, 9) != 0 ? FileTupleAttributes.GeneratedShortFileName : 0; 283 tuple.Attributes |= FieldAsInt(wixFileRow, 9) != 0 ? FileTupleAttributes.GeneratedShortFileName : 0;
284 tuple.PatchAttributes = (PatchAttributeType)FieldAsInt(wixFileRow, 10); 284 tuple.PatchAttributes = (PatchAttributeType)FieldAsInt(wixFileRow, 10);
@@ -290,6 +290,8 @@ namespace WixToolset.Converters.Tupleizer
290 return null; 290 return null;
291 case "Icon": 291 case "Icon":
292 return DefaultTupleFromRow(typeof(IconTuple), row, columnZeroIsId: true); 292 return DefaultTupleFromRow(typeof(IconTuple), row, columnZeroIsId: true);
293 case "IniLocator":
294 return DefaultTupleFromRow(typeof(IniLocatorTuple), row, columnZeroIsId: false);
293 case "InstallExecuteSequence": 295 case "InstallExecuteSequence":
294 return DefaultTupleFromRow(typeof(InstallExecuteSequenceTuple), row, columnZeroIsId: false); 296 return DefaultTupleFromRow(typeof(InstallExecuteSequenceTuple), row, columnZeroIsId: false);
295 case "LockPermissions": 297 case "LockPermissions":
@@ -497,7 +499,7 @@ namespace WixToolset.Converters.Tupleizer
497 }; 499 };
498 } 500 }
499 case "Signature": 501 case "Signature":
500 return DefaultTupleFromRow(typeof(SignatureTuple), row, columnZeroIsId: false); 502 return DefaultTupleFromRow(typeof(SignatureTuple), row, columnZeroIsId: true);
501 case "UIText": 503 case "UIText":
502 return DefaultTupleFromRow(typeof(UITextTuple), row, columnZeroIsId: true); 504 return DefaultTupleFromRow(typeof(UITextTuple), row, columnZeroIsId: true);
503 case "Upgrade": 505 case "Upgrade":