diff options
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/BindTransformCommand.cs | 2 | ||||
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/BindTransformCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/BindTransformCommand.cs index ea6e4f31..ffe26249 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/BindTransformCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/BindTransformCommand.cs | |||
| @@ -307,7 +307,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 307 | 307 | ||
| 308 | // process modified and unmodified rows | 308 | // process modified and unmodified rows |
| 309 | var modifiedRow = false; | 309 | var modifiedRow = false; |
| 310 | var targetRow = new Row(null, table.Definition); | 310 | var targetRow = table.Definition.CreateRow(null); |
| 311 | var updatedRow = row; | 311 | var updatedRow = row; |
| 312 | for (var i = 0; i < row.Fields.Length; i++) | 312 | for (var i = 0; i < row.Fields.Length; i++) |
| 313 | { | 313 | { |
diff --git a/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs b/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs index ea9cac07..560b5437 100644 --- a/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs +++ b/src/WixToolset.Core.WindowsInstaller/Decompile/Decompiler.cs | |||
| @@ -747,7 +747,7 @@ namespace WixToolset.Core.WindowsInstaller | |||
| 747 | property.Id = id; | 747 | property.Id = id; |
| 748 | 748 | ||
| 749 | // create a dummy row for indexing | 749 | // create a dummy row for indexing |
| 750 | var row = new Row(null, this.tableDefinitions["Property"]); | 750 | var row = this.tableDefinitions["Property"].CreateRow(null); |
| 751 | row[0] = id; | 751 | row[0] = id; |
| 752 | 752 | ||
| 753 | this.core.RootElement.AddChild(property); | 753 | this.core.RootElement.AddChild(property); |
