diff options
| author | Rob Mensching <rob@firegiant.com> | 2019-05-23 22:39:21 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2019-10-07 11:59:14 -0700 |
| commit | bfd2c1d4a4ad9dcf5c5f734a8c313a1f85b9a1e0 (patch) | |
| tree | f3a721f96c6bc2bed2a9803df84543496c85db96 /src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs | |
| parent | e115df736067e5d765350f5335b1766663d91a9b (diff) | |
| download | wix-bfd2c1d4a4ad9dcf5c5f734a8c313a1f85b9a1e0.tar.gz wix-bfd2c1d4a4ad9dcf5c5f734a8c313a1f85b9a1e0.tar.bz2 wix-bfd2c1d4a4ad9dcf5c5f734a8c313a1f85b9a1e0.zip | |
Correctly lower _SummaryInformation
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/CreateOutputFromIRCommand.cs | 8 |
1 files changed, 6 insertions, 2 deletions
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 | |||
| 149 | this.AddShortcutTuple((ShortcutTuple)tuple, output); | 149 | this.AddShortcutTuple((ShortcutTuple)tuple, output); |
| 150 | break; | 150 | break; |
| 151 | 151 | ||
| 152 | case TupleDefinitionType.SummaryInformation: | ||
| 153 | this.AddTupleDefaultly(tuple, output, tableName: "_SummaryInformation"); | ||
| 154 | break; | ||
| 155 | |||
| 152 | case TupleDefinitionType.TextStyle: | 156 | case TupleDefinitionType.TextStyle: |
| 153 | this.AddTextStyleTuple((TextStyleTuple)tuple, output); | 157 | this.AddTextStyleTuple((TextStyleTuple)tuple, output); |
| 154 | break; | 158 | break; |
| @@ -876,9 +880,9 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 876 | } | 880 | } |
| 877 | } | 881 | } |
| 878 | 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) |
| 880 | { | 884 | { |
| 881 | if (!this.TableDefinitions.TryGet(tuple.Definition.Name, out var tableDefinition)) | 885 | if (!this.TableDefinitions.TryGet(tableName ?? tuple.Definition.Name, out var tableDefinition)) |
| 882 | { | 886 | { |
| 883 | return; | 887 | return; |
| 884 | } | 888 | } |
