Correctly lower _SummaryInformation
Rob Mensching committed
May 23, 2019 at 22:39 UTC
bfd2c1d4a4ad9dcf5c5f734a8c313a1f85b9a1e0
1 file changed
+6
-2
src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs
+6
-2
@@ -149,6 +149,10 @@ namespace WixToolset.Core.WindowsInstaller.Bind
149
this.AddShortcutTuple((ShortcutTuple)tuple, output);
150
break;
151
152
+ case TupleDefinitionType.SummaryInformation:
153
+ this.AddTupleDefaultly(tuple, output, tableName: "_SummaryInformation");
154
+ break;
155
+
156
case TupleDefinitionType.TextStyle:
157
this.AddTextStyleTuple((TextStyleTuple)tuple, output);
158
break;
@@ -876,9 +880,9 @@ namespace WixToolset.Core.WindowsInstaller.Bind
880
}
881
}
882
879
- private void AddTupleDefaultly(IntermediateTuple tuple, Output output, bool idIsPrimaryKey = false)
883
+ private void AddTupleDefaultly(IntermediateTuple tuple, Output output, bool idIsPrimaryKey = false, string tableName = null)
884
{
881
- if (!this.TableDefinitions.TryGet(tuple.Definition.Name, out var tableDefinition))
885
+ if (!this.TableDefinitions.TryGet(tableName ?? tuple.Definition.Name, out var tableDefinition))
886
{
887
return;
888
}