From d0462be8000f18aa7dc0791d02142f000bb19fbf Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Wed, 22 May 2019 00:58:13 -0700 Subject: Integrate latest changes to tuple definitions --- src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs') diff --git a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs index f78cb42c..cf7fe423 100644 --- a/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs +++ b/src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs @@ -128,7 +128,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind foreach (var propertyRow in section.Tuples.OfType()) { // Set the ProductCode if it is to be generated. - if ("ProductCode".Equals(propertyRow.Property, StringComparison.Ordinal) && "*".Equals(propertyRow.Value, StringComparison.Ordinal)) + if ("ProductCode".Equals(propertyRow.Id.Id, StringComparison.Ordinal) && "*".Equals(propertyRow.Value, StringComparison.Ordinal)) { propertyRow.Value = Common.GenerateGuid(); @@ -159,7 +159,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind // Add the property name and value to the variableCache. if (variableCache != null) { - var key = String.Concat("property.", propertyRow.Property); + var key = String.Concat("property.", propertyRow.Id.Id); variableCache[key] = propertyRow.Value; } } @@ -312,7 +312,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind // Update file sequence. { - var command = new UpdateMediaSequencesCommand(output, fileFacades, assignedMediaRows); + var command = new UpdateMediaSequencesCommand(output, fileFacades); command.Execute(); } @@ -400,7 +400,6 @@ namespace WixToolset.Core.WindowsInstaller.Bind command.ResolveMedia = this.ResolveMedia; command.TableDefinitions = this.TableDefinitions; command.TempFilesLocation = this.IntermediateFolder; - command.WixMediaTuples = section.Tuples.OfType(); command.Execute(); fileTransfers.AddRange(command.FileTransfers); -- cgit v1.2.3-55-g6feb