diff options
| author | Rob Mensching <rob@firegiant.com> | 2019-05-22 00:58:13 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2019-05-23 16:02:37 -0700 |
| commit | d0462be8000f18aa7dc0791d02142f000bb19fbf (patch) | |
| tree | 072aabc2bd9b8f171e17654473f85c44a8a42a66 /src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | |
| parent | 1ed894bc0f39397ec7f7f6344370fc2123420c43 (diff) | |
| download | wix-d0462be8000f18aa7dc0791d02142f000bb19fbf.tar.gz wix-d0462be8000f18aa7dc0791d02142f000bb19fbf.tar.bz2 wix-d0462be8000f18aa7dc0791d02142f000bb19fbf.zip | |
Integrate latest changes to tuple definitions
Diffstat (limited to 'src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs')
| -rw-r--r-- | src/WixToolset.Core.WindowsInstaller/Bind/BindDatabaseCommand.cs | 7 |
1 files changed, 3 insertions, 4 deletions
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 | |||
| 128 | foreach (var propertyRow in section.Tuples.OfType<PropertyTuple>()) | 128 | foreach (var propertyRow in section.Tuples.OfType<PropertyTuple>()) |
| 129 | { | 129 | { |
| 130 | // Set the ProductCode if it is to be generated. | 130 | // Set the ProductCode if it is to be generated. |
| 131 | if ("ProductCode".Equals(propertyRow.Property, StringComparison.Ordinal) && "*".Equals(propertyRow.Value, StringComparison.Ordinal)) | 131 | if ("ProductCode".Equals(propertyRow.Id.Id, StringComparison.Ordinal) && "*".Equals(propertyRow.Value, StringComparison.Ordinal)) |
| 132 | { | 132 | { |
| 133 | propertyRow.Value = Common.GenerateGuid(); | 133 | propertyRow.Value = Common.GenerateGuid(); |
| 134 | 134 | ||
| @@ -159,7 +159,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 159 | // Add the property name and value to the variableCache. | 159 | // Add the property name and value to the variableCache. |
| 160 | if (variableCache != null) | 160 | if (variableCache != null) |
| 161 | { | 161 | { |
| 162 | var key = String.Concat("property.", propertyRow.Property); | 162 | var key = String.Concat("property.", propertyRow.Id.Id); |
| 163 | variableCache[key] = propertyRow.Value; | 163 | variableCache[key] = propertyRow.Value; |
| 164 | } | 164 | } |
| 165 | } | 165 | } |
| @@ -312,7 +312,7 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 312 | 312 | ||
| 313 | // Update file sequence. | 313 | // Update file sequence. |
| 314 | { | 314 | { |
| 315 | var command = new UpdateMediaSequencesCommand(output, fileFacades, assignedMediaRows); | 315 | var command = new UpdateMediaSequencesCommand(output, fileFacades); |
| 316 | command.Execute(); | 316 | command.Execute(); |
| 317 | } | 317 | } |
| 318 | 318 | ||
| @@ -400,7 +400,6 @@ namespace WixToolset.Core.WindowsInstaller.Bind | |||
| 400 | command.ResolveMedia = this.ResolveMedia; | 400 | command.ResolveMedia = this.ResolveMedia; |
| 401 | command.TableDefinitions = this.TableDefinitions; | 401 | command.TableDefinitions = this.TableDefinitions; |
| 402 | command.TempFilesLocation = this.IntermediateFolder; | 402 | command.TempFilesLocation = this.IntermediateFolder; |
| 403 | command.WixMediaTuples = section.Tuples.OfType<WixMediaTuple>(); | ||
| 404 | command.Execute(); | 403 | command.Execute(); |
| 405 | 404 | ||
| 406 | fileTransfers.AddRange(command.FileTransfers); | 405 | fileTransfers.AddRange(command.FileTransfers); |
