From bfd2c1d4a4ad9dcf5c5f734a8c313a1f85b9a1e0 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Thu, 23 May 2019 22:39:21 -0700 Subject: Correctly lower _SummaryInformation --- .../Bind/CreateOutputFromIRCommand.cs | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs index e7269058..bddb3da2 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs @@ -149,6 +149,10 @@ namespace WixToolset.Core.WindowsInstaller.Bind this.AddShortcutTuple((ShortcutTuple)tuple, output); break; + case TupleDefinitionType.SummaryInformation: + this.AddTupleDefaultly(tuple, output, tableName: "_SummaryInformation"); + break; + case TupleDefinitionType.TextStyle: this.AddTextStyleTuple((TextStyleTuple)tuple, output); break; @@ -876,9 +880,9 @@ namespace WixToolset.Core.WindowsInstaller.Bind } } - private void AddTupleDefaultly(IntermediateTuple tuple, Output output, bool idIsPrimaryKey = false) + private void AddTupleDefaultly(IntermediateTuple tuple, Output output, bool idIsPrimaryKey = false, string tableName = null) { - if (!this.TableDefinitions.TryGet(tuple.Definition.Name, out var tableDefinition)) + if (!this.TableDefinitions.TryGet(tableName ?? tuple.Definition.Name, out var tableDefinition)) { return; } -- cgit v1.2.3-55-g6feb