diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2020-04-18 14:43:31 +1000 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2020-04-18 21:31:28 +1000 |
| commit | a6091afa5bd24fe65e7fc20f179ed888301afdf8 (patch) | |
| tree | 020cf8336d4f282bac818d2d7a5d2a6b0ae10ff0 /src/WixToolset.Core.WindowsInstaller | |
| parent | c7f9ef7e7bcceb670b56a70fc9aa92152fd55573 (diff) | |
| download | wix-a6091afa5bd24fe65e7fc20f179ed888301afdf8.tar.gz wix-a6091afa5bd24fe65e7fc20f179ed888301afdf8.tar.bz2 wix-a6091afa5bd24fe65e7fc20f179ed888301afdf8.zip | |
Test ability for an extension to have a custom strongly typed row during binding.
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); |
